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

Added altitude to telemetry plugin #300

Merged

Conversation

YalamareddyChaitanya
Copy link
Contributor

@YalamareddyChaitanya YalamareddyChaitanya commented Oct 27, 2022

This pull request would close #1903.

Comment on lines 304 to 305
message SubscribeAltitudeRequest{}
message AltitudeResponse{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
message SubscribeAltitudeRequest{}
message AltitudeResponse{
message SubscribeAltitudeRequest {}
message AltitudeResponse {

@@ -803,6 +821,16 @@ message GpsGlobalOrigin {
float altitude_m = 3 [(mavsdk.options.default_value)="NaN"]; // Altitude AMSL (above mean sea level) in metres
}

// Altitude message type
// For more info see: https://mavlink.io/en/messages/common.html#ALTITUDE
Copy link
Collaborator

Choose a reason for hiding this comment

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

We try not to leak MAVLink (too much) in the MAVSDK interface 😇.

Suggested change
// For more info see: https://mavlink.io/en/messages/common.html#ALTITUDE

Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

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

Whoops I meant "Request changes" for the two small comments I had 😇

Removed mavlink message ref link
@YalamareddyChaitanya
Copy link
Contributor Author

Done the requested changes. Also updated proto module in MAVSDK. 😃

@julianoes julianoes merged commit 47317e3 into mavlink:main Nov 2, 2022
@YalamareddyChaitanya YalamareddyChaitanya deleted the add-altitude-to-telemetry branch November 16, 2022 07:29
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.

How do you access the barometric altitude when GPS is lost?
3 participants