RoboJackets / igvc-software

The code base for the RoboNav team's IGVC robot.
https://robojackets.org/teams/robonav/
MIT License
91 stars 120 forks source link

GPS Coordinates Fix #875

Closed VAM7686 closed 2 years ago

VAM7686 commented 2 years ago

Description

Fixes bug with GPS coordinates produced by the hector gazebo plugin. I think this bug was the root cause of #492 and #529 managed to patch it by adding an offset to the IMUs.

This PR does the following:

Fixes #874

Testing steps

Test Case 1

  1. Run roslaunch igvc_gazebo qualification.launch track:=0 (tracks 0 through 10 available to test)
  2. Run roslaunch igvc_navigation navigation_simulation.launch

Expectation: Robot navigates to correct locations in simulation as expected.

Test Case 2

  1. Run roslaunch igvc_gazebo qualification.launch track:=0 (tracks 0 through 10 available to test)
  2. Run rostopic echo /fix
  3. Move robot in +X axis and observe longitude increase.
  4. Move robot in +Y axis and observe latitude increase.

Expectation: Latitude and longitude increase as expected in respective axes.

Self Checklist