SITL: change HDOP from 2.0 to 1.2

This commit is contained in:
Tatsuya Yamaguchi 2022-12-17 15:36:35 +09:00 committed by Randy Mackay
parent 350e18fb94
commit ccc5ba3cbd
1 changed files with 1 additions and 1 deletions

View File

@ -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;