ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
1

navsat_transform_node without IMU

asked 2019-07-29 08:27:43 -0500

levi.starrett gravatar image

I'm trying to fuse GPS data and IMU data using robot_localization. I have the IMU data going into the filter nicely, now I'm trying to configure GPS. The problem is that my robot has a large inverter relatively close to where the IMU is mounted which is causing too much magnetic noise, so the magnetometer on the IMU is disabled. I understand that the navsat_transform_node requires an absolute starting heading (usually from the IMU) to initialize properly. What are some ways I can get around this?

I thought about enabling the "wait_for_datum" parameter and then using the GPS to manually using the set_datum service. Has anyone done this in the past?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2019-08-29 04:32:19 -0500

Tom Moore gravatar image

navsat_transform_node only needs one IMU message to generate the required transform, so one option is to make a node that waits until your robot has driven X meters, and then uses the relative poses of the start and current GPS readings to generate an earth-referenced heading. Then you can publish that as a quaternion in an IMU message.

edit flag offensive delete link more

Comments

Just wondering if anyone else has had any success with this technique.

w_botics gravatar image w_botics  ( 2022-11-29 21:56:59 -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: 2019-07-29 08:27:43 -0500

Seen: 463 times

Last updated: Aug 29 '19