mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 01:53:34 +08:00
vehicle_gps_position: remove timestamp_variance & timestamp_velocity (they're not used)
This commit is contained in:
@@ -1212,7 +1212,7 @@ int position_estimator_inav_thread_main(int argc, char *argv[])
|
||||
inertial_filter_correct(corr_gps[0][0], dt, x_est, 0, w_xy_gps_p);
|
||||
inertial_filter_correct(corr_gps[1][0], dt, y_est, 0, w_xy_gps_p);
|
||||
|
||||
if (gps.vel_ned_valid && t < gps.timestamp_velocity + gps_topic_timeout) {
|
||||
if (gps.vel_ned_valid && t < gps.timestamp + gps_topic_timeout) {
|
||||
inertial_filter_correct(corr_gps[0][1], dt, x_est, 1, w_xy_gps_v);
|
||||
inertial_filter_correct(corr_gps[1][1], dt, y_est, 1, w_xy_gps_v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user