mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
SITL: fixed PX4 build
This commit is contained in:
parent
fba0891617
commit
38ac8d404a
@ -112,7 +112,7 @@ void SITL::Log_Write_SIMSTATE(DataFlash_Class &DataFlash)
|
||||
roll : (int16_t)(state.rollDeg*100),
|
||||
pitch : (int16_t)(state.pitchDeg*100),
|
||||
yaw : (uint16_t)(wrap_360_cd(yaw*100)),
|
||||
alt : state.altitude,
|
||||
alt : (float)state.altitude,
|
||||
lat : (int32_t)(state.latitude*1.0e7),
|
||||
lng : (int32_t)(state.longitude*1.0e7)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user