ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Automated compass calibration

asked 2015-06-18 11:50:39 -0500

Is there anything out there done for automated compass calibration for ground moving robots?

For not picking up your robot and rotating it in air for doing it?



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-19 10:19:03 -0500

ahendrix gravatar image

I have a small script which drives my robot in a circle and calibrates the compass based on the min and max magnetometer readings. It's quite specific to my robot and my custom compass.

I do the drive in a circle open-loop, based entirely on a timer and the assumption that the area around the robot is free.

edit flag offensive delete link more


Do you have multiple axis on the magnetometer or just a single one?

cyborg-x1 gravatar image cyborg-x1  ( 2015-06-22 05:09:50 -0500 )edit

I'm treating my magnetometer as a 2-axis magnetometer.

ahendrix gravatar image ahendrix  ( 2015-06-22 08:36:09 -0500 )edit

Question Tools

1 follower


Asked: 2015-06-18 11:50:39 -0500

Seen: 257 times

Last updated: Jun 19 '15