aboutsummaryrefslogtreecommitdiff
path: root/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-07-25 15:23:26 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-07-25 15:23:26 +0200
commit63fa17ef0dd4b0a184f6e3e298113bb143b2cb44 (patch)
tree091edb6c9b0de351f2439a9c7cbf37239d66f509 /src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
parent4b0230042fed13c8f777325378c08438f426d92c (diff)
downloadpx4-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_main.cpp')
-rwxr-xr-xsrc/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp b/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
index e1bbf5bc7..667b74d1d 100755
--- a/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
+++ b/src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
@@ -512,7 +512,7 @@ const unsigned int loop_interval_alarm = 6500; // loop interval in microseconds
/* Call the estimator */
AttitudeEKF(false, // approx_prediction
- false, // use_inertia_matrix
+ (unsigned char)ekf_params.use_moment_inertia,
update_vect,
dt,
z_k,