gpssim: populate s_variance_m_s with 0.25 (#11521)

Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
This commit is contained in:
Carl Olsson 2019-02-24 17:23:28 +01:00 committed by Daniel Agar
parent bee1835831
commit 447e0be250
1 changed files with 1 additions and 0 deletions

View File

@ -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;