fix fake gps bugs (#5285)

This commit is contained in:
huanglilong 2016-08-10 03:24:11 +08:00 committed by Lorenz Meier
parent c62b886da5
commit 6f7b78821a
1 changed files with 1 additions and 0 deletions

View File

@ -670,6 +670,7 @@ GPS::task_main()
_report_gps_pos.vel_e_m_s + _report_gps_pos.vel_d_m_s * _report_gps_pos.vel_d_m_s);
_report_gps_pos.cog_rad = 0.0f;
_report_gps_pos.vel_ned_valid = true;
_report_gps_pos.satellites_used = 10;
/* no time and satellite information simulated */