fw att pos estimator: fix output lat/lon conversion (introduced by changes in 58792c5ca6)

This commit is contained in:
Thomas Gubler 2014-01-27 23:46:02 +01:00
parent dc3907fb36
commit 3f79057dd1
1 changed files with 2 additions and 2 deletions

View File

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