Ask Your Question
0

why navsat_transform_node needs imu?

asked 2020-06-02 14:48:43 -0500

dpetrini gravatar image

I am new to the field, so this question might be obvious, but I wonder, why IMU is needed once I have GPS absolute position and odometry from robot?

If I have GPS coordinates and odometry, shouldn't be possible to create UTM coordinates?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-05 07:04:36 -0500

Weasfas gravatar image

Hi @dpetrini,

As far as I know (if this is not correct, please someone point it out), the navsat_transform_node needs an IMU topic since with the GPS you are not able to provide a proper estimation of your orientation. If you take a look in rviz at the odometry provided by a GPS, if you are static, the orientation is just plotted with a directed arrow with random orientation, this is due to the fact that the orientation is calculated taking into account the current GPS position and a random close position. With the IMU you can provide a high precisse orientation information, allowing the localization process to be more accurate.

However, since the nav_msgs/Odometry input messages come usually from EFK or UKF nodes, you can activate the use_odometry_yaw flag to avoid using an IMU topic as input for the navsat_transform_node. Nonetheless, you will have to take into account that this last fussion needs to contain a proper orientation information. As I see, either your odometry contains a good orientation somehow, or you are forced to use the IMU data, either in the fussion process of UKF/EFK or directly as input in the navsat_transform_node.

edit flag offensive delete link more

Comments

hi @Weasfas, thanks for the answer, it clarifies the orientation issues. However my point was more high level in terms of the need to have IMU at all if I have GPS which is absolute. The point I found in other answer is that with GPS I could get orientation by integrating positions and thus knowing speed and direction. One comment here link text tells about that. For my doubt I consider is ok with your answer and this comment. But I realize that if I manage to integrate GPS, the period is very low (1 Hz) so probably quality will be not good so I guess I will have to improve IMU magnetometer readings (MPU9250) by proper calibrating it.

dpetrini gravatar image dpetrini  ( 2020-06-15 17:04:13 -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: 2020-06-02 14:48:43 -0500

Seen: 111 times

Last updated: Jun 05 '20