Attitude_estimator_ekf: Fix params, this bug caused the multirotor_att_control to stop

This commit is contained in:
Julian Oes 2013-12-27 23:27:25 +01:00
parent dd5549da46
commit a4a5eee08d
1 changed files with 4 additions and 4 deletions

View File

@ -74,10 +74,10 @@ int parameters_init(struct attitude_estimator_ekf_param_handles *h)
h->q3 = param_find("EKF_ATT_V3_Q3"); h->q3 = param_find("EKF_ATT_V3_Q3");
h->q4 = param_find("EKF_ATT_V3_Q4"); h->q4 = param_find("EKF_ATT_V3_Q4");
h->r0 = param_find("EKF_ATT_V3_R0"); h->r0 = param_find("EKF_ATT_V4_R0");
h->r1 = param_find("EKF_ATT_V3_R1"); h->r1 = param_find("EKF_ATT_V4_R1");
h->r2 = param_find("EKF_ATT_V3_R2"); h->r2 = param_find("EKF_ATT_V4_R2");
h->r3 = param_find("EKF_ATT_V3_R3"); h->r3 = param_find("EKF_ATT_V4_R3");
h->roll_off = param_find("ATT_ROLL_OFF3"); h->roll_off = param_find("ATT_ROLL_OFF3");
h->pitch_off = param_find("ATT_PITCH_OFF3"); h->pitch_off = param_find("ATT_PITCH_OFF3");