aboutsummaryrefslogtreecommitdiff
path: root/apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-01-09 16:52:15 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-01-09 16:52:15 +0100
commit4435befefdbaedc85bd94a4240b0ebe9590fd391 (patch)
treefb18844f7ca29d5521139aa4090640b4b61aa7d8 /apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h
parent8cc9fb9e2c47af213962ece3be3f883dd5cd71ea (diff)
downloadpx4-firmware-4435befefdbaedc85bd94a4240b0ebe9590fd391.tar.gz
px4-firmware-4435befefdbaedc85bd94a4240b0ebe9590fd391.tar.bz2
px4-firmware-4435befefdbaedc85bd94a4240b0ebe9590fd391.zip
Added offset parameters for roll, pitch and yaw
Diffstat (limited to 'apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h')
-rw-r--r--apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h b/apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h
index 6a63f9767..ad775002b 100644
--- a/apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h
+++ b/apps/attitude_estimator_ekf/attitude_estimator_ekf_params.h
@@ -44,11 +44,15 @@
struct attitude_estimator_ekf_params {
float r[9];
float q[12];
+ float roll_off;
+ float pitch_off;
+ float yaw_off;
};
struct attitude_estimator_ekf_param_handles {
param_t r0, r1, r2, r3, r4, r5, r6, r7, r8;
param_t q0, q1, q2, q3, q4, q5, q6, q7, q8, q9, q10, q11;
+ param_t roll_off, pitch_off, yaw_off;
};
/**