diff options
author | Julian Oes <julian@oes.ch> | 2013-12-27 23:27:25 +0100 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-12-27 23:27:25 +0100 |
commit | a4a5eee08dc1ac1c2c68a4981a2299829aeceea0 (patch) | |
tree | e903e4077d29d74883f4a41d39a0923d39aa7b13 /src/modules | |
parent | dd5549da46eb2914b8e710cd656ec0f44c7ce892 (diff) | |
download | px4-firmware-a4a5eee08dc1ac1c2c68a4981a2299829aeceea0.tar.gz px4-firmware-a4a5eee08dc1ac1c2c68a4981a2299829aeceea0.tar.bz2 px4-firmware-a4a5eee08dc1ac1c2c68a4981a2299829aeceea0.zip |
Attitude_estimator_ekf: Fix params, this bug caused the multirotor_att_control to stop
Diffstat (limited to 'src/modules')
-rwxr-xr-x | src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.c b/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.c index e1280445b..3cfddf28e 100755 --- a/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.c +++ b/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.c @@ -74,10 +74,10 @@ int parameters_init(struct attitude_estimator_ekf_param_handles *h) h->q3 = param_find("EKF_ATT_V3_Q3"); h->q4 = param_find("EKF_ATT_V3_Q4"); - h->r0 = param_find("EKF_ATT_V3_R0"); - h->r1 = param_find("EKF_ATT_V3_R1"); - h->r2 = param_find("EKF_ATT_V3_R2"); - h->r3 = param_find("EKF_ATT_V3_R3"); + h->r0 = param_find("EKF_ATT_V4_R0"); + h->r1 = param_find("EKF_ATT_V4_R1"); + h->r2 = param_find("EKF_ATT_V4_R2"); + h->r3 = param_find("EKF_ATT_V4_R3"); h->roll_off = param_find("ATT_ROLL_OFF3"); h->pitch_off = param_find("ATT_PITCH_OFF3"); |