diff options
author | ggregory8 <glenn.gregory8@gmail.com> | 2014-07-23 15:12:26 +0800 |
---|---|---|
committer | ggregory8 <glenn.gregory8@gmail.com> | 2014-07-23 15:12:26 +0800 |
commit | 38d3efa985be394c846e6afe294006ab074335f7 (patch) | |
tree | e9d6dbcc0d94704016f411673694e8928c6831a7 /src/modules/position_estimator_inav/position_estimator_inav_main.c | |
parent | a48bede96f79c626e17584f75865ef7839744bf0 (diff) | |
download | px4-firmware-38d3efa985be394c846e6afe294006ab074335f7.tar.gz px4-firmware-38d3efa985be394c846e6afe294006ab074335f7.tar.bz2 px4-firmware-38d3efa985be394c846e6afe294006ab074335f7.zip |
Correct vision velocity estimate correction type
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 77e94a27c..d3192fec2 100644 --- a/src/modules/position_estimator_inav/position_estimator_inav_main.c +++ b/src/modules/position_estimator_inav/position_estimator_inav_main.c @@ -1016,8 +1016,8 @@ int position_estimator_inav_thread_main(int argc, char *argv[]) inertial_filter_correct(corr_vision[1][0], dt, y_est, 0, w_xy_vision_p); if (w_xy_vision_v > MIN_VALID_W) { - inertial_filter_correct(corr_gps[0][1], dt, x_est, 1, w_xy_vision_v); - inertial_filter_correct(corr_gps[1][1], dt, y_est, 1, w_xy_vision_v); + inertial_filter_correct(corr_vision[0][1], dt, x_est, 1, w_xy_vision_v); + inertial_filter_correct(corr_vision[1][1], dt, y_est, 1, w_xy_vision_v); } } |