1
0
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:
Corvus Corax 2015-05-23 15:41:59 +02:00
parent 359c2ec560
commit ffcd058478

View File

@ -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)