Ask Your Question

Turtlebot calibration with Hokuyo laser?

asked 2011-11-29 12:32:54 -0600

Pi Robot gravatar image

updated 2011-12-01 01:49:06 -0600

Can I use the same turtlebot_calibration procedure when using a Hokuyo URG-04LX-UG01 laser scanner instead of the Kinect? Attempts so far have given parameters that produced very poor performance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-30 09:43:51 -0600

fergs gravatar image

The issue with calibration failing is probably due to the algorithm used to convert the scan of a wall to an angular measurement. On the Kinect, the field of view is very small (about 57 degrees wide), whereas your Hokuyo probably sees 180 degrees. Given that, your calculation for wall angle is seriously disturbed, since it uses all the scans. I'd suggest using dynamic_reconfigure to reduce the scan angle of the Hokuyo to about 60 degrees before calibration (you can use the full scan later on for map making).

edit flag offensive delete link more


Thanks Fergs--I'll give it a try over the next couple of days and post back my results. In the meantime, I heavily edited the original question to leave just the essential part. (Thanks Asomerville :-))
Pi Robot gravatar image Pi Robot  ( 2011-12-01 01:51:45 -0600 )edit
Success! Following Fergs' suggestion, I set the Hokuyo to scan -0.5 to 0.5 radians (almost exactly 57 degrees). Then, in the TurtleBot calibrate.launch file, I set the min_angle and max_angle parameters also to -0.5 and -0.5 instead of the default -0.3 and 0.3. After calibrating a few times until convergence, I was able to get a decent map of my living room / dining room using the laser_gmapping_demo.
Pi Robot gravatar image Pi Robot  ( 2011-12-02 01:03:33 -0600 )edit
Great! Please file a ticket so that we don't forget this and can get a real fix into a future release.
fergs gravatar image fergs  ( 2011-12-02 10:42:44 -0600 )edit
Pi Robot gravatar image Pi Robot  ( 2011-12-03 00:31:05 -0600 )edit

Can you provide more details for this calibration.

Vegeta gravatar image Vegeta  ( 2012-09-27 01:32:43 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-11-29 12:32:54 -0600

Seen: 1,014 times

Last updated: Dec 01 '11