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

Integrate magnetometer into localization node #873

Description

@VAM7686

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions