-
Notifications
You must be signed in to change notification settings - Fork 2k
Clarify AMSL Geoid and WGS-84 Ellipsoid Height #2167
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
Comments
@Ryanf55 Thanks for posting. I support the goal - we should be precise where possible. Whether we can do it largely depends on whether
Currently the assumption is that GPS modules output MSL and this is calculated by some consistent formula. Let's discuss this in the PR #2168 (note, I'm just pulling people together, I have no idea the answers to this question). |
Uh oh!
There was an error while loading. Please reload this page.
Originally posted by @hamishwillee in #256 (comment)
Background; I'm working with a few different people trying to use ROS 2 which uses WGS-84 ellipsoid height as a convention in the standard messages. It's super confusing trying to convert from MAVLink, even for me.
Here are some examples of confusion:
WGS84, EGM96 ellipsoid
.EGM96
is NOT an ellipsoid, it's a geoid.alt
is inMSL
but does not specify which geoid. I assume EGM-96. This is the only field in the message that needs to clarify which geoid.Altitude (above WGS84, EGM96 ellipsoid)
. Again,EGM96
is a geoid, not an ellipsoid.ROS 2 has a convention to use WGS-84 ellipsoid height for its geographic coordinates, which is more portable.
https://github.com/ros-geographic-info/geographic_info/blob/ros2/geographic_msgs/msg/GeoPoint.msg
Just saying "AMSL" is vague
Without specifying which datum the autopilot uses, when it publishes its state estimate in global coordinates, it's impossible to convert to a GeoPoint without making assumptions.
Not all GPS's use EGM96. Not all terrain data is in EGM96. Some use EGM2008.
What I am hoping to clarify in this ticket is:
The text was updated successfully, but these errors were encountered: