Ask Your Question
1

How to calibrate libgazebo imu or any other imu for slam?

asked 2015-03-13 05:13:34 -0500

LucianTM gravatar image

updated 2015-03-13 05:14:46 -0500

Hi, I found the service from the imu (/default/imu) which is a std_srv/empty service. Is it just calling and turning the robot or what do I have to do?

I already searched and did not find any nice tutorial on google about how to do imu calibration in ROS. I also can't find the github libgazebo_plugins repo on google somehow (I think this is really weired, but I know it is there so I can find it) So I guess I might be missing something about the imu too. Can you give me a hint what to do and how? Because the simulated Gyro is somewhat off and slam is working only when driving forward and backward, but looks totally ugly when turning.

Actually the world is containing just a standard cube from Gazebo. That's what it looks when I drive around it.

The IMU is placed in the center between the wheels on the axis. (Diff drive) I am also using robot_localization ukf to fuse the IMU and the Odometry.

image description

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-13 11:49:30 -0500

l0g1x gravatar image

updated 2015-03-13 12:11:16 -0500

I do not believe you need to calibrate a gazebo imu plugin, for the reason that you yourself pass drift/gaussian error parameters into the plugin. If you want a completely perfect (but unrealistic) imu with no error, you can set all your error offsets to 0. However, figuring you would want this to be as close to a real world situation as possible, you will want to set the parameters to have some drift/error. If you look at Clearpath's Simulation repo's, like for example the jackal robot, you can just use there parameters.

You will also see that they arent using the libgazebo imu plugin, but instead using the imu plugin from the hector gazebo plugins package, which i would highly recommend myself as well since i had issues with libgazebo imu plugin.

edit flag offensive delete link more

Comments

Hmm, I also thought about using that one, I will try ...

LucianTM gravatar imageLucianTM ( 2015-03-13 12:58:28 -0500 )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

Stats

Asked: 2015-03-13 05:13:34 -0500

Seen: 662 times

Last updated: Mar 13 '15