Set timestamp with vehicle commands

The vehicle_command uORB messages had the timestamp unset at 0.
This commit is contained in:
Julian Oes
2017-07-08 11:52:23 +02:00
committed by Lorenz Meier
parent d64b7706f5
commit 9854fc0d84
8 changed files with 18 additions and 1 deletions
+1
View File
@@ -475,6 +475,7 @@ Navigator::task_main()
vcmd.param1 = land_start;
vcmd.param2 = 0;
vcmd.timestamp = hrt_absolute_time();
publish_vehicle_cmd(vcmd);
} else {