fix home position timestamp to be the timestamp that the home was set and not when the message was sent

This commit is contained in:
bazooka joe
2018-12-27 11:04:24 -05:00
committed by Daniel Agar
parent f6cf95cee0
commit 1560364c04
+1 -1
View File
@@ -2688,7 +2688,7 @@ protected:
msg.approach_y = 0.0f;
msg.approach_z = 0.0f;
msg.time_usec = hrt_absolute_time();
msg.time_usec = home.timestamp;
mavlink_msg_home_position_send_struct(_mavlink->get_channel(), &msg);