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

Merged

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>
Copy link
Member

@vooon vooon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure, But if that's misleading i'm ok.

@vooon vooon merged commit 20c1536 into mavlink:master Jun 6, 2024
3 checks passed
@vooon vooon added this to the Version 1.19 milestone Jun 6, 2024
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

2 participants