mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_GPS: Fix accidental quantization to float on SBF logging
This commit is contained in:
parent
af6303c82b
commit
70e587b572
@ -250,8 +250,8 @@ AP_GPS_SBF::log_ExtEventPVTGeodetic(const msg4007 &temp)
|
|||||||
WNc:temp.WNc,
|
WNc:temp.WNc,
|
||||||
Mode:temp.Mode,
|
Mode:temp.Mode,
|
||||||
Error:temp.Error,
|
Error:temp.Error,
|
||||||
Latitude:ToDeg(temp.Latitude),
|
Latitude:temp.Latitude*RAD_TO_DEG_DOUBLE,
|
||||||
Longitude:ToDeg(temp.Longitude),
|
Longitude:temp.Longitude*RAD_TO_DEG_DOUBLE,
|
||||||
Height:temp.Height,
|
Height:temp.Height,
|
||||||
Undulation:temp.Undulation,
|
Undulation:temp.Undulation,
|
||||||
Vn:temp.Vn,
|
Vn:temp.Vn,
|
||||||
|
Loading…
Reference in New Issue
Block a user