forked from Archive/PX4-Autopilot
MAVLink app: Use HDOP / PDOP
This commit is contained in:
parent
56c95dc9c8
commit
cd583e054e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue