diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-27 15:00:48 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-27 15:00:48 +0200 |
commit | 6951e1c95e3b58c35a031aff92b228b3f651a94c (patch) | |
tree | 7a267277eac035c6bec0276bb5f25b90ecd4517c /src/modules/ekf_att_pos_estimator/estimator_23states.h | |
parent | dbd99b649442bbb2568ca309c5da61337d1e4b68 (diff) | |
download | px4-firmware-6951e1c95e3b58c35a031aff92b228b3f651a94c.tar.gz px4-firmware-6951e1c95e3b58c35a031aff92b228b3f651a94c.tar.bz2 px4-firmware-6951e1c95e3b58c35a031aff92b228b3f651a94c.zip |
estimator lib: Improve error reporting
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/estimator_23states.h')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator_23states.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_23states.h b/src/modules/ekf_att_pos_estimator/estimator_23states.h index 10a646025..5a1f5125a 100644 --- a/src/modules/ekf_att_pos_estimator/estimator_23states.h +++ b/src/modules/ekf_att_pos_estimator/estimator_23states.h @@ -266,7 +266,7 @@ void ConstrainStates(); void ForceSymmetry(); -int CheckAndBound(); +int CheckAndBound(struct ekf_status_report *last_error); void ResetPosition(); @@ -278,8 +278,7 @@ void GetFilterState(struct ekf_status_report *state); void GetLastErrorState(struct ekf_status_report *last_error); -bool StatesNaN(struct ekf_status_report *err_report); -void FillErrorReport(struct ekf_status_report *err); +bool StatesNaN(); void InitializeDynamic(float (&initvelNED)[3], float declination); |