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

Odom and IMU

asked 2017-11-08 01:01:10 -0600

AllanXyl gravatar image

I am really beating my head hard over this, excuse me while I ask a silly question.

I'm building my own robot using HCSR04 as range sensors and a MPU925 as an IMU, while going through the navigation package, I got really confused with the difference between data/imu and nav_msg/Odometry. How are the related and what do I need to go to get localization working?

edit retag flag offensive close merge delete



Can you be more specific? What does confuse you? And what does the range sensor have to do with odometry in this context?

Humpelstilzchen gravatar image Humpelstilzchen  ( 2017-11-08 02:44:16 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-08 14:30:57 -0600

bpinaya gravatar image

How are you connecting your IMU to your roscore ? There is github with relevant code if you are using a raspberry/beaglebone:

If you are using an arduino, then use rosserial and get the data with ROS from there:

edit flag offensive delete link more

Question Tools


Asked: 2017-11-08 01:01:10 -0600

Seen: 1,288 times

Last updated: Nov 08 '17