mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 06:13:34 +08:00
simulator: add missing timestamp
This commit is contained in:
@@ -1041,6 +1041,7 @@ void Simulator::check_failure_injections()
|
|||||||
|
|
||||||
if (handled) {
|
if (handled) {
|
||||||
vehicle_command_ack_s ack;
|
vehicle_command_ack_s ack;
|
||||||
|
ack.timestamp = hrt_absolute_time();
|
||||||
ack.command = vehicle_command.command;
|
ack.command = vehicle_command.command;
|
||||||
ack.from_external = false;
|
ack.from_external = false;
|
||||||
ack.result = supported ?
|
ack.result = supported ?
|
||||||
|
|||||||
Reference in New Issue
Block a user