mavlink: put update call back in

This commit is contained in:
Julian Oes 2014-06-10 15:02:20 +02:00
parent d5c0933d65
commit 064a75a3c2
1 changed files with 2 additions and 0 deletions

View File

@ -938,6 +938,8 @@ protected:
void send(const hrt_abstime t)
{
/* always send this message, even if it has not been updated */
pos_sp_triplet_sub->update(t);
mavlink_msg_global_position_setpoint_int_send(_channel,
MAV_FRAME_GLOBAL,
(int32_t)(pos_sp_triplet->current.lat * 1e7),