mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
SITL: use 64-bit timestamps for dataflash logs
This commit is contained in:
parent
d7299aa884
commit
88015503ac
@ -111,7 +111,7 @@ void SITL::Log_Write_SIMSTATE(DataFlash_Class &DataFlash)
|
||||
|
||||
struct log_AHRS pkt = {
|
||||
LOG_PACKET_HEADER_INIT(LOG_SIMSTATE_MSG),
|
||||
time_ms : hal.scheduler->millis(),
|
||||
time_us : hal.scheduler->micros64(),
|
||||
roll : (int16_t)(state.rollDeg*100),
|
||||
pitch : (int16_t)(state.pitchDeg*100),
|
||||
yaw : (uint16_t)(wrap_360_cd(yaw*100)),
|
||||
|
Loading…
Reference in New Issue
Block a user