mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:33:34 +08:00
fix fake gps bugs (#5285)
This commit is contained in:
committed by
Lorenz Meier
parent
c62b886da5
commit
6f7b78821a
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user