Hi,
I am new to ROS and try to create an urdf file to represent my robot in rviz and gazebo, but I can't get the range sensor to detect objects in the simulator. The message at /arduino/sensor/ir_left always reports 3.75 as range, which is the maximum. For test, I added a gpu_ray scanner and that shows the object just fine in rviz. Spinning the robot in place doesn't help either, so it's doesn't seem to be the sensor angle.
What's wrong? Or any suggestion on how to debug this further?
The sensor definition is below.
Thanks,
Joep0 0 0 0 0 0 50 1 1.0 -0.01 0.01 1 1 -0.01 0.01 0.01 3.75 0.02 0.005 true 5 /arduino/sensor/ir_left ir_left true infrared 0.02
Joep