diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-25 15:23:26 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-07-25 15:23:26 +0200 |
commit | 63fa17ef0dd4b0a184f6e3e298113bb143b2cb44 (patch) | |
tree | 091edb6c9b0de351f2439a9c7cbf37239d66f509 /src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.h | |
parent | 4b0230042fed13c8f777325378c08438f426d92c (diff) | |
download | px4-firmware-63fa17ef0dd4b0a184f6e3e298113bb143b2cb44.tar.gz px4-firmware-63fa17ef0dd4b0a184f6e3e298113bb143b2cb44.tar.bz2 px4-firmware-63fa17ef0dd4b0a184f6e3e298113bb143b2cb44.zip |
att ekf: add param to enable/disable J
Diffstat (limited to 'src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.h')
-rwxr-xr-x | src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.h b/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.h index fbb6a18ff..5d3b6b244 100755 --- a/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.h +++ b/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_params.h @@ -45,6 +45,7 @@ struct attitude_estimator_ekf_params { float r[3]; float q[4]; float moment_inertia_J[9]; + int32_t use_moment_inertia; float roll_off; float pitch_off; float yaw_off; @@ -56,6 +57,7 @@ struct attitude_estimator_ekf_param_handles { param_t r0, r1, r2; param_t q0, q1, q2, q3; param_t moment_inertia_J[3]; /**< diagonal entries of the matrix */ + param_t use_moment_inertia; param_t mag_decl; param_t acc_comp; }; |