aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-04-08 11:03:23 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-04-08 11:05:00 +0200
commit814d3c385cc0132ec9bbdc22f87f35301bbc8f44 (patch)
treeae6a0e228e4b0bd7a3d9145b274a249c693f896a /src
parente4628fbed641496704011b0c488a36ed05b45d5f (diff)
downloadpx4-firmware-814d3c385cc0132ec9bbdc22f87f35301bbc8f44.tar.gz
px4-firmware-814d3c385cc0132ec9bbdc22f87f35301bbc8f44.tar.bz2
px4-firmware-814d3c385cc0132ec9bbdc22f87f35301bbc8f44.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')
-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;