-
Notifications
You must be signed in to change notification settings - Fork 18.5k
AP_Scripting: added qnh_alt example #29705
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice clear example of sending a named float. A couple of suggestions re comments and a typo (in a comment).
--[[ | ||
example that sends QNH altitude to GCS as a NAMED_VALUE_FLOAT QNG_ALT_FT in feet | ||
|
||
Note: operator must be QNH_PRESSURE in hPa before each flight! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must "set"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/be "Note: operator must set QNH_PRESSURE in hPa before each flight!"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
useful for BVLOS ops
@@ -0,0 +1,51 @@ | |||
--[[ | |||
example that sends QNH altitude to GCS as a NAMED_VALUE_FLOAT QNG_ALT_FT in feet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example that sends QNH altitude to GCS as a NAMED_VALUE_FLOAT QNG_ALT_FT in feet | |
example that sends QNH altitude to GCS as a NAMED_VALUE_FLOAT QNH_ALT_FT in feet |
useful for BVLOS ops. The one in AFS is only available if AFS is enabled