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

Fix bug with hector gazebo GPS plugin #874

Closed VAM7686 closed 2 years ago

VAM7686 commented 2 years ago

The hector gazebo GPS plugin is producing the wrong latitudes and longitudes in the simulation. Currently, along the +X axis (East) latitude increased and along the +Y axis (North) longitude decreased. Instead we need for +X to increase longitude and +Y to increase latitude.

Here is a short video illustrating how the GPS coordinate (dark purple arrow) differs from the ground truth (green arrow). If the GPS coordinate is correct, both arrows should be in the same place.