mirror of https://github.com/ArduPilot/ardupilot
SITL: change HDOP from 2.0 to 1.2
This commit is contained in:
parent
350e18fb94
commit
ccc5ba3cbd
|
@ -538,7 +538,7 @@ void GPS::update_nmea(const struct gps_data *d)
|
||||||
lng_string,
|
lng_string,
|
||||||
d->have_lock?1:0,
|
d->have_lock?1:0,
|
||||||
d->have_lock?_sitl->gps_numsats[instance]:3,
|
d->have_lock?_sitl->gps_numsats[instance]:3,
|
||||||
2.0,
|
1.2,
|
||||||
d->altitude);
|
d->altitude);
|
||||||
const float speed_mps = norm(d->speedN, d->speedE);
|
const float speed_mps = norm(d->speedN, d->speedE);
|
||||||
const float speed_knots = speed_mps * M_PER_SEC_TO_KNOTS;
|
const float speed_knots = speed_mps * M_PER_SEC_TO_KNOTS;
|
||||||
|
|
Loading…
Reference in New Issue