aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/gps
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-04-08 11:03:23 +0200
committerJulian Oes <julian@oes.ch>2014-04-18 22:05:46 +0200
commitfefe19a7b9d053265a55862cbbbf16978ca38846 (patch)
tree6628dc453589a5a36dd0b70b912b40af28f5c310 /src/drivers/gps
parentd662fa4c14676aac26603e55c71c04a2dd29503a (diff)
downloadpx4-firmware-fefe19a7b9d053265a55862cbbbf16978ca38846.tar.gz
px4-firmware-fefe19a7b9d053265a55862cbbbf16978ca38846.tar.bz2
px4-firmware-fefe19a7b9d053265a55862cbbbf16978ca38846.zip
gps driver: fake mode: lower eph and epv values in order to convince the commander that the gps signal is valid
Diffstat (limited to 'src/drivers/gps')
-rw-r--r--src/drivers/gps/gps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/gps/gps.cpp b/src/drivers/gps/gps.cpp
index c72f692d7..a902bdf2f 100644
--- a/src/drivers/gps/gps.cpp
+++ b/src/drivers/gps/gps.cpp
@@ -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;