fill local position setpoint message entirely

This commit is contained in:
tumbili 2015-06-26 00:41:07 +02:00
parent f7a6afc976
commit bd96f21ccb

View File

@ -1776,6 +1776,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);
}