Ask Your Question
0

Turned IMU sensor in robot

asked 2020-12-09 09:39:29 -0500

lslabon gravatar image

I mounted an IMU Sensor not in the default direction but 90 degrees turned. Does this has an effect on my navigation/ localization/ odometry or can the sensor turn things right due to gravity or something?

-> So my question is: Do I have to turn the IMU_link in my robot description (URDF) and where else? (I am working with a turtlebot)

Thanks for your advice!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-12-09 10:19:01 -0500

rep 103 defines the co-ordinate frames and their orientatioins. If your IMU isn't mounted per this, you will have to correct for it in the urdf file to match the convention (recommended). This is so that your IMU readings can be compatible with everything ros. Defining the imu_link in your urdf should be enough. Ros/tf will take care of the transforms for you!

Of course you don't have to do it! If you don't care about compatibility (not recommended), you don't need to! You will have to ensure you are applying the correct gravitational forces and that you are reading the correct roll, pitch and yaw in your calculations.

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

1 follower

Stats

Asked: 2020-12-09 09:39:29 -0500

Seen: 78 times

Last updated: Dec 09 '20