Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backwards incompatibility: update GPS coordinates in custom simulation worlds #22

Closed
klaxalk opened this issue Nov 12, 2020 · 0 comments
Assignees
Labels
users-read-me information to users about a backwards-incompatible change

Comments

@klaxalk
Copy link
Member

klaxalk commented Nov 12, 2020

With the newest update of PX4 firmware and SITL for Gazebo comes a new feature:
GPS coordinates defined in the .world file for Gazebo are now actually used:

    <spherical_coordinates>
      <surface_model>EARTH_WGS84</surface_model>
      <latitude_deg>47.397743</latitude_deg>
      <longitude_deg>8.545594</longitude_deg>
      <elevation>0.0</elevation>
      <heading_deg>0</heading_deg>
    </spherical_coordinates>

Up until now, the placement of the world into the GPS frame (Zurich) has been hardcoded in the SITL and the coordinates in the .world file did not matter. But if you created a custom world prior to this update, the numbers in the .world file are different. Please update them to the values above, to match the originally used coordinates of Zurich.

You of course free to set them to any place you want. In such a case, please also mind setting corresponding local origin coordinates in the world config file for the MRS UAV system: https://github.com/ctu-mrs/mrs_uav_general/tree/master/config/worlds.

@klaxalk klaxalk added the users-read-me information to users about a backwards-incompatible change label Nov 12, 2020
@klaxalk klaxalk self-assigned this Nov 12, 2020
@klaxalk klaxalk closed this as completed Oct 8, 2021
sushmithabhagya pushed a commit to sushmithabhagya/mrs_uav_system that referenced this issue Aug 17, 2022
Co-authored-by: Tomáš Báča <tomas.baca@fel.cvut.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
users-read-me information to users about a backwards-incompatible change
Projects
None yet
Development

No branches or pull requests

1 participant