Hello,
I have a problem with gpu_ray sensor for ROS Indigo integration. Currently we have multiple PCs with the exact same Gazebo version 2.2.1. We have the same exact ROS Indigo. We have installed gazebo_ros_packages.
So, I have succesfully created a .xacro Pioneer robot model which has gpu_ray sensor, and all works well. But when I try the exact same model on another PC, the gpu_ray sensor somehow "does not" detect the maximum range of the sensor (I have tried debugging via RVIZ, the sensor only work on min_range).
Success in PC A:
Failure in PC B, C, etc
<gazebo reference="front_sonar_box2">
<sensor type="gpu_ray" name="front_sonar_box2">
<pose>0 0 0 0 0 0</pose>
<visualize>true</visualize>
<update_rate>40</update_rate> <!--update rate-->
<ray>
<scan>
<horizontal>
<samples>30</samples> <!--ray -->
<resolution>1</resolution>
<min_angle>-0.131</min_angle> <!-- -${field_of_view/2} -->
<max_angle>0.131</max_angle> <!-- -${field_of_view/2} -->
</horizontal>
</scan>
<range>
<min>0.08</min>
<max>10</max>
<resolution>0.01</resolution>
</range>
<noise>
<type>gaussian</type>
<mean>0.0</mean>
<stddev>0.01</stddev>
</noise>
</ray>
<plugin name="gazebo_ros_front_sonar_controller" filename="libgazebo_ros_gpu_laser.so">
<topicName>/pioneer/sonar/scan2</topicName>
<frameName>front_sonar_box2</frameName>
</plugin>
</sensor>
</gazebo>
The error is: other PC seems can not "read" the maximum range. (The error also the same for RRBot example with gpu_ray sensor)
I am wondering if anyone has some solution regarding this glitch? Any tips and help is really appreciated, thanks before!