mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 14:03:34 +08:00
Set timestamp with vehicle commands
The vehicle_command uORB messages had the timestamp unset at 0.
This commit is contained in:
@@ -475,6 +475,7 @@ Navigator::task_main()
|
||||
vcmd.param1 = land_start;
|
||||
vcmd.param2 = 0;
|
||||
|
||||
vcmd.timestamp = hrt_absolute_time();
|
||||
publish_vehicle_cmd(vcmd);
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user