mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 05:23:34 +08:00
fw att pos estimator: fix output lat/lon conversion (introduced by changes in 58792c5ca6)
This commit is contained in:
@@ -315,8 +315,8 @@ void KalmanNav::updatePublications()
|
||||
_pos.timestamp = _pubTimeStamp;
|
||||
_pos.time_gps_usec = _gps.timestamp_position;
|
||||
_pos.valid = true;
|
||||
_pos.lat = getLatDegE7();
|
||||
_pos.lon = getLonDegE7();
|
||||
_pos.lat = lat * M_RAD_TO_DEG;
|
||||
_pos.lon = lon * M_RAD_TO_DEG;
|
||||
_pos.alt = float(alt);
|
||||
_pos.vel_n = vN;
|
||||
_pos.vel_e = vE;
|
||||
|
||||
Reference in New Issue
Block a user