Commit 943391db authored by Hyon Lim (Retina)'s avatar Hyon Lim (Retina)
Browse files

Motor order has been determined

parent 8b1f5624
...@@ -329,18 +329,11 @@ void QGCXPlaneLink::updateControls(uint64_t time, float rollAilerons, float pitc ...@@ -329,18 +329,11 @@ void QGCXPlaneLink::updateControls(uint64_t time, float rollAilerons, float pitc
qDebug() << "MAV_TYPE_QUADROTOR"; qDebug() << "MAV_TYPE_QUADROTOR";
// Individual effort will be provided directly to the actuators on Xplane quadrotor. // Individual effort will be provided directly to the actuators on Xplane quadrotor.
#if 1 p.f[0] = yawRudder;
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[1] = rollAilerons; p.f[1] = rollAilerons;
p.f[2] = pitchElevator; p.f[2] = throttle;
p.f[3] = yawRudder; p.f[3] = pitchElevator;
#endif
isFixedWing = false; isFixedWing = false;
} }
else else
......
Supports Markdown
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