Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Integrate magnetometer into localization node #873

Open
VAM7686 opened this issue Jan 17, 2022 · 0 comments
Open

Integrate magnetometer into localization node #873

VAM7686 opened this issue Jan 17, 2022 · 0 comments
Labels
area ➤ localization Issues related to localization level ➤ easy Easy difficulty New members 👍🏻 Issues that are meant for new members type ➤ bug Bugs to existing features that need to be fixed.

Comments

@VAM7686
Copy link
Contributor

VAM7686 commented Jan 17, 2022

For some reason, the magnetometer is not integrated in our localization node, the ekf_localization_node. It is important to integrate the magnetometer measurements in order to ensure more accurate state estimation.

A simple way to visualize the inaccuracies caused by the lack of magnetometer integration is by:

  1. roslaunch igvc_gazebo ramp_lane.launch
  2. In gazebo rotate the robot about 45 degrees counter clockwise so it is facing in a different starting direction.
  3. roslaunch igvc_navigation localization.launch
  4. Open rviz and display the /ground_truth and /odometry/filtered topics. The difference between the ground truth and the state estimation should be evident and look something like this:

(green arrow is ground truth and red arrow is state estimation)
localization_mag_integration_error

AC: Integrated magnetometer measurements in the ekf_localization_node.

@VAM7686 VAM7686 added type ➤ bug Bugs to existing features that need to be fixed. level ➤ easy Easy difficulty area ➤ localization Issues related to localization New members 👍🏻 Issues that are meant for new members labels Jan 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area ➤ localization Issues related to localization level ➤ easy Easy difficulty New members 👍🏻 Issues that are meant for new members type ➤ bug Bugs to existing features that need to be fixed.
Projects
None yet
Development

No branches or pull requests

1 participant