mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-21 13:28:58 +01:00
fix flightgear hitl bridge sign issue on velocity down vector
This commit is contained in:
parent
359c2ec560
commit
ffcd058478
@ -269,7 +269,7 @@ void FGSimulator::processUpdate(const QByteArray & inp)
|
||||
// Get pressure (kpa)
|
||||
float pressure = fields[20].toFloat() * INHG2KPA;
|
||||
// Get VelocityState Down (m/s)
|
||||
float velocityStateDown = -fields[21].toFloat() * FPS2CMPS * 1e-2f;
|
||||
float velocityStateDown = fields[21].toFloat() * FPS2CMPS * 1e-2f;
|
||||
// Get VelocityState East (m/s)
|
||||
float velocityStateEast = fields[22].toFloat() * FPS2CMPS * 1e-2f;
|
||||
// Get VelocityState Down (m/s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user