Ask Your Question
0

navsat_transform_node without IMU

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

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
3

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

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

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 -0600

Seen: 60 times

Last updated: Aug 29