mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 02:03:33 +08:00
position_setpoint_triplet topic: set the timestamp when publishing
This commit is contained in:
@@ -622,6 +622,7 @@ Navigator::task_main()
|
||||
}
|
||||
|
||||
if (_pos_sp_triplet_updated) {
|
||||
_pos_sp_triplet.timestamp = hrt_absolute_time();
|
||||
publish_position_setpoint_triplet();
|
||||
_pos_sp_triplet_updated = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user