5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-02-23 08:13:56 -04:00

SITL: Fix typo (NFC)

This commit is contained in:
Jaaaky 2022-01-13 21:09:19 +03:00 committed by Tom Pittenger
parent 8b54665a48
commit 22e1ea559c

View File

@ -1105,7 +1105,7 @@ void GPS::update()
d.altitude += _sitl->gps_drift_alt[idx]*sinf(now_ms*0.001f*0.02f);
}
// correct the latitude, longitude, hiehgt and NED velocity for the offset between
// correct the latitude, longitude, height and NED velocity for the offset between
// the vehicle c.g. and GPs antenna
Vector3f posRelOffsetBF = _sitl->gps_pos_offset[idx];
if (!posRelOffsetBF.is_zero()) {