Gazebo | Ignition | Community
Ask Your Question

360 degree of laser scans instead of only 180 degree

asked 2017-04-18 00:43:29 -0500

Akhil gravatar image

Using the hokuyo sensor, i can only get 180 degreed of laser scans? How to get 360 degree laser scan. I followed the tutorials at

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-18 17:19:29 -0500

sloretz gravatar image

The hokuyo model uses a ray sensor. The two parameters you're looking for are <min_angle> and <max_angle>. The reason you're only getting 180 degrees of readings is because the author of the tutorial set the min and max angle to -90 and 90 degrees (see the values here -1.57 and 1.57 radians). To get 360 degrees of range change the minimum angle to -pi radians, and the maximum angle to +pi radians.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-04-18 00:43:29 -0500

Seen: 2,184 times

Last updated: Apr 18 '17