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

Odom and IMU

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

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

Comments

1

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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: https://github.com/vmayoral/bb_mpu9150

If you are using an arduino, then use rosserial and get the data with ROS from there: http://wiki.ros.org/rosserial_arduino...

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 1,317 times

Last updated: Nov 08 '17