Unverified Commit 2f747d08 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7854 from DonLakeFlyer/VHR_HUD.throttle

Treat VHR_HUD.throttle as int16 for reverse throttle
parents 58aee2cf c7ba58f3
......@@ -968,7 +968,7 @@ void Vehicle::_handleVfrHud(mavlink_message_t& message)
_airSpeedFact.setRawValue(qIsNaN(vfrHud.airspeed) ? 0 : vfrHud.airspeed);
_groundSpeedFact.setRawValue(qIsNaN(vfrHud.groundspeed) ? 0 : vfrHud.groundspeed);
_climbRateFact.setRawValue(qIsNaN(vfrHud.climb) ? 0 : vfrHud.climb);
_throttlePctFact.setRawValue(vfrHud.throttle);
_throttlePctFact.setRawValue(static_cast<int16_t>(vfrHud.throttle));
}
void Vehicle::_handleEstimatorStatus(mavlink_message_t& message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment