mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 08:28:52 +08:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user