1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

bugfix HiTL-IL2: roll angle reading was reversed. Needed to be fixed in order for navigation to work.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1127 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
corvus 2010-07-17 21:38:14 +00:00 committed by corvus
parent a004e8e245
commit 549ed60ec8

View File

@ -142,7 +142,7 @@ void Il2Bridge::transmitUpdate()
{
// Read ActuatorDesired from autopilot
ActuatorDesired::DataFields actData = actDesired->getData();
float ailerons = -actData.Roll;
float ailerons = actData.Roll;
float elevator = actData.Pitch;
float rudder = actData.Yaw;
float throttle = actData.Throttle*2-1.0;
@ -299,7 +299,7 @@ void Il2Bridge::processUpdate(QString& data)
current.azimuth=value;
break;
case 46:
current.roll=value;
current.roll=-value;
break;
case 48:
current.pitch=value;