forked from betaflight/betaflight
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved Magnetometer / Compass Bias Estimator (betaflight#12998)
* Rebased on master and clean-up (untested), this is still the initial method * Included math.h in compass.c, so checks don't fail * Change comments, compass is still only running at 167 Hz, not worth investing more * Alternative method, using only mag data * Removed unnecessary scaling and fine tuning * Corrected comment * Removed no longer needed debug DEBUG_MAG_TASK_RATE, comments and corrected some typos * Improved readability and update of comment * Rebased on master and resolved conflicts * Included math.h and maths.h so checks don't fail * Update src/main/sensors/compass.c Co-authored-by: Mark Haslinghuis <[email protected]> * Update src/main/sensors/compass.h Co-authored-by: Mark Haslinghuis <[email protected]> * Update src/main/sensors/compass.c Co-authored-by: Petr Ledvina <[email protected]> * Changes according to PR comments --------- Co-authored-by: Mark Haslinghuis <[email protected]> Co-authored-by: Petr Ledvina <[email protected]>
- Loading branch information
1 parent
9618dc8
commit 84a04db
Showing
4 changed files
with
181 additions
and
24 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
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
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
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