MAVLink app: Use HDOP / PDOP

This commit is contained in:
Lorenz Meier 2016-02-24 11:29:51 +01:00
parent 56c95dc9c8
commit cd583e054e
1 changed files with 2 additions and 2 deletions

View File

@ -1000,8 +1000,8 @@ protected:
msg.lat = gps.lat;
msg.lon = gps.lon;
msg.alt = gps.alt;
msg.eph = cm_uint16_from_m_float(gps.eph);
msg.epv = cm_uint16_from_m_float(gps.epv);
msg.eph = gps.hdop * 100; //cm_uint16_from_m_float(gps.eph);
msg.epv = gps.vdop * 100; //cm_uint16_from_m_float(gps.epv);
msg.vel = cm_uint16_from_m_float(gps.vel_m_s),
msg.cog = _wrap_2pi(gps.cog_rad) * M_RAD_TO_DEG_F * 1e2f,
msg.satellites_visible = gps.satellites_used;