fill local position setpoint message entirely

This commit is contained in:
tumbili
2015-06-26 07:11:22 +02:00
committed by Lorenz Meier
parent 51055a16fc
commit 572f1f4637
+4
View File
@@ -1767,6 +1767,10 @@ protected:
msg.x = pos_sp.x;
msg.y = pos_sp.y;
msg.z = pos_sp.z;
msg.yaw = pos_sp.yaw;
msg.vx = pos_sp.vx;
msg.vy = pos_sp.vy;
msg.vz = pos_sp.vz;
_mavlink->send_message(MAVLINK_MSG_ID_POSITION_TARGET_LOCAL_NED, &msg);
}