qboticslabs / ros_robotics_projects

Example codes of new book ROS Robotics Projects
http://rosrobots.com
314 stars 213 forks source link

field of view of sonar sensor #17

Open woofer46 opened 5 years ago

woofer46 commented 5 years ago

Hi, In your sonar launch you use the sonar.xacro where is parameter _field_of_view="56"_, it is seems that you use it as degree in sonar_model.xacro (-${field_of_view / 2} but it should be in radians see http://wiki.ros.org/urdf/XML/sensor.

min_angle (optional: default 0) (float) (radians)