Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f7f80443
Commit
f7f80443
authored
Dec 23, 2016
by
Don Gagne
Committed by
GitHub
Dec 23, 2016
Browse files
Merge pull request #4337 from yl5006/master
the message handleAltitude
parents
3e421835
1ead374c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vehicle/Vehicle.cc
View file @
f7f80443
...
...
@@ -560,8 +560,8 @@ void Vehicle::_handleAltitude(mavlink_message_t& message)
_useAltitudeForAltitude
=
true
;
_useGpsRawIntForAltitude
=
false
;
_altitudeRelativeFact
.
setRawValue
(
altitude
.
altitude_relative
/
1000.0
);
_altitudeAMSLFact
.
setRawValue
(
altitude
.
altitude_amsl
/
1000.0
);
_altitudeRelativeFact
.
setRawValue
(
altitude
.
altitude_relative
);
_altitudeAMSLFact
.
setRawValue
(
altitude
.
altitude_amsl
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment