Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#190 Add optional decoupling of XY from the EKF
Helps flying manually with a ranging sensor for only Z. Can be enabled by adding in config.mk: ESTIMATOR=kalman CFLAGS += -DUPDATE_KALMAN_WITH_RANGING -DKALMAN_DECOUPLE_XY
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here you need:
P[state][i] = P[i][state] = 0;