Gazebo | Ignition | Community
Ask Your Question
0

360 degree of laser scans instead of only 180 degree

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

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 https://www.youtube.com/watch?v=8ckSl...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

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

Stats

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

Seen: 2,234 times

Last updated: Apr 18 '17