ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Right value of magnetic_declination_radians

asked 2021-06-18 12:06:54 -0500

gmsanchez gravatar image

Hi, I am trying to configure a dual EKF plus navsat_transform setup for robot_localization and I am not sure of how to input the value of magnetic_declination_radians.

Magnetic declination for the place I live is -9° 16' (W) and the webpage I am using says: "Declination is NEGATIVE (WEST)". So, the value of the magnetic_declination_radians parameter should be -0.152425 or should I use the negative value of 0.152425?

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2022-02-25 03:58:06 -0500

Tom Moore gravatar image

It's confusing, and I need to update the documentation, but everything is calculated in the ENU frame for navsat_transform_node. So a western declination (counter-clockwise) would be positive. In your case, you'd want 0.152425.

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



Asked: 2021-06-18 12:06:54 -0500

Seen: 129 times

Last updated: Feb 25