mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 17:13:34 +08:00
gpssim: populate s_variance_m_s with 0.25 (#11521)
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
This commit is contained in:
@@ -286,6 +286,7 @@ GPSSIM::receive(int timeout)
|
||||
_report_gps_pos.cog_rad = (float)(gps.cog) * 3.1415f / (100.0f * 180.0f);
|
||||
_report_gps_pos.fix_type = gps.fix_type;
|
||||
_report_gps_pos.satellites_used = gps.satellites_visible;
|
||||
_report_gps_pos.s_variance_m_s = 0.25f;
|
||||
|
||||
timestamp_last = gps.timestamp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user