From 943391db9c59a6fe3a2243ae92db036e28b219cf Mon Sep 17 00:00:00 2001 From: "Hyon Lim (Retina)" Date: Thu, 19 Sep 2013 04:08:25 +0900 Subject: [PATCH] Motor order has been determined --- src/comm/QGCXPlaneLink.cc | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/comm/QGCXPlaneLink.cc b/src/comm/QGCXPlaneLink.cc index 5ae7b59..c128623 100644 --- a/src/comm/QGCXPlaneLink.cc +++ b/src/comm/QGCXPlaneLink.cc @@ -329,18 +329,11 @@ void QGCXPlaneLink::updateControls(uint64_t time, float rollAilerons, float pitc qDebug() << "MAV_TYPE_QUADROTOR"; // Individual effort will be provided directly to the actuators on Xplane quadrotor. -#if 1 - p.f[0] = rollAilerons; - p.f[1] = pitchElevator; - p.f[2] = yawRudder; - p.f[3] = throttle; -#endif -#if 0 - p.f[0] = throttle; + p.f[0] = yawRudder; p.f[1] = rollAilerons; - p.f[2] = pitchElevator; - p.f[3] = yawRudder; -#endif + p.f[2] = throttle; + p.f[3] = pitchElevator; + isFixedWing = false; } else