Commit d14837c3 authored by Lorenz Meier's avatar Lorenz Meier

Merge branch 'mavlink_update' into joystickinput_settargets

parents 7e7ecc17 5f4f1d48
......@@ -2857,9 +2857,9 @@ void UAS::setManual6DOFControlCommands(double x, double y, double z, double roll
mavlink_message_t message;
float q[4];
mavlink_euler_to_quaternion(roll, pitch, yaw, q);
quint8 mask;
// Do not control rates and throttle
mask |= (1 << 0) | (1 << 1) | (1 << 2); // ignore rates
quint8 mask = (1 << 0) | (1 << 1) | (1 << 2); // ignore rates
mask |= (1 << 6); // ignore throttle
mavlink_msg_set_attitude_target_pack(mavlink->getSystemId(), mavlink->getComponentId(),
&message, QGC::groundTimeMilliseconds(), this->uasId, 0,
......
Markdown is supported
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