Ask Your Question
0

Is my IMU using ENU convention? (for robot_localization)

asked 2017-03-04 07:47:41 -0500

Marcus Barnet gravatar image

Hi to all,

I'm using a Razor IMU from Sparkfun and it is the old model SEN-10736 which is compatible with ROS. I followed all the steps reported on razor_imu_9dof tutorial in order to upload the new firmware and make the IMU work with the razor_imu_9dof ROS driver.

Since I need to use it with robot_localization package, for GPS integration, I would like to know if my IMU heading data start with zero point facing east or not as suggested on the robot_localization tutorial:

Since version 2.2.1, navsat_transform_node has moved to a standard wherein all heading data is assumed to start with its zero point facing east. If your IMU does not conform to this standard and instead reports zero when facing north, you can still use the yaw_offset parameter to correct this. In this case, the value for yaw_offset would be π/2 (approximately 1.5707963).

How can I know if my IMU is already using the correct orientation or not? I took two pictures when facing EAST and when facing NORTH.

image description image description

So, I think my IMU reports 0 when facing NORTH. In this case, should I use:

 <param name="yaw_offset" value="1.5707963"/>

in my launch file in order to make the IMU outputs 0 when it faces EAST? Is it correct?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-04-11 05:03:07 -0500

Tom Moore gravatar image

First, see the section on IMU data here.

Your IMU does appear to have the correct sign, at least for yaw. You are correct that you need the 90-degree offset you have specified. However, you should check what the magnetic declination is for your location as well, and make sure to set that parameter.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

3 followers

Stats

Asked: 2017-03-04 07:47:41 -0500

Seen: 745 times

Last updated: Apr 11 '17