diff options
author | Antonio Sanniravong <antonio.sanniravong@polymtl.ca> | 2014-06-24 17:42:25 -0400 |
---|---|---|
committer | Antonio Sanniravong <antonio.sanniravong@polymtl.ca> | 2014-06-24 17:42:25 -0400 |
commit | 211c721b48c5856ace7f09e88706d799299ca6bb (patch) | |
tree | 90c20c0894b0cb90a671c687cae2e0753ad0b70e /src/modules/position_estimator_inav/position_estimator_inav_main.c | |
parent | 179bace35aaa32a23ebd7a9cb99d54eae53690f5 (diff) | |
download | px4-firmware-211c721b48c5856ace7f09e88706d799299ca6bb.tar.gz px4-firmware-211c721b48c5856ace7f09e88706d799299ca6bb.tar.bz2 px4-firmware-211c721b48c5856ace7f09e88706d799299ca6bb.zip |
Shorten the reset param name to INAV_W_XY_RES_V
Diffstat (limited to 'src/modules/position_estimator_inav/position_estimator_inav_main.c')
-rw-r--r-- | src/modules/position_estimator_inav/position_estimator_inav_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/position_estimator_inav/position_estimator_inav_main.c b/src/modules/position_estimator_inav/position_estimator_inav_main.c index 5f132453b..eca406acf 100644 --- a/src/modules/position_estimator_inav/position_estimator_inav_main.c +++ b/src/modules/position_estimator_inav/position_estimator_inav_main.c @@ -918,8 +918,8 @@ int position_estimator_inav_thread_main(int argc, char *argv[]) } } else { /* gradually reset xy velocity estimates */ - inertial_filter_correct(-x_est[1], dt, x_est, 1, params.w_xy_reset_v); - inertial_filter_correct(-y_est[1], dt, y_est, 1, params.w_xy_reset_v); + inertial_filter_correct(-x_est[1], dt, x_est, 1, params.w_xy_res_v); + inertial_filter_correct(-y_est[1], dt, y_est, 1, params.w_xy_res_v); } /* detect land */ |