Merge pull request #813 from PX4/gps_fake_fix

gps driver: fake mode: lower eph and epv values in order to convince the commander that the gps signal is valid
This commit is contained in:
Lorenz Meier
2014-04-08 02:11:15 -07:00
+2 -2
View File
@@ -282,8 +282,8 @@ GPS::task_main()
_report.p_variance_m = 10.0f;
_report.c_variance_rad = 0.1f;
_report.fix_type = 3;
_report.eph_m = 10.0f;
_report.epv_m = 10.0f;
_report.eph_m = 3.0f;
_report.epv_m = 7.0f;
_report.timestamp_velocity = hrt_absolute_time();
_report.vel_n_m_s = 0.0f;
_report.vel_e_m_s = 0.0f;