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

gps_global_origin: remove LLA to ECEF conversion #1942

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beniaminopozzan
Copy link
Contributor

GPS_GLOBAL_ORIGIN MAVLink message is published in ROS on the topic mavros/global_position/gp_origin with type geographic_msgs::GeoPointStamped.
This message contains https://docs.ros.org/en/api/geographic_msgs/html/msg/GeoPoint.html and expects

Geographic point, using the WGS 84 reference ellipsoid.

However the messages are published in ECEF coordinates.

This PR removes such conversion matching message requirements and message contents.

FIX #1381

gps_global_origin is being published as
geographic_msgs::GeoPointStamped
message, which wants LLA format
https://docs.ros.org/en/api/geographic_msgs/html/msg/GeoPointStamped.html

FIX mavlink#1381

Signed-off-by: Beniamino Pozzan <b.pozzan@archangel.im>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant