* Improved QMC driver, scheduled silent interval
* add ODR to drivers and use it to set the quiet period
* add MAG_TASK_RATE debug for testing
* don't do a read if the bus is busy - thanks, Petr
* refactoring and simplification, thanks to Steve
---------
Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
* 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 <mark@numloq.nl>
* Update src/main/sensors/compass.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Update src/main/sensors/compass.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Changes according to PR comments
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
* Fix buffer overflow in jetiexbus character reception
* Update src/main/rx/jetiexbus.c
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
---------
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Add mag heading to GPS Rescue heading debug
* Roll and pitch compensated magnetic yaw
* Changes according to PR comments
* Encapsulate yawMag calculations
* Corrected naming
* Changes according to PR comments
* Changes so that Checks don't fail
* Added PARAM_NAME list
* Changes so that Checks don't fail
* Changes according to PR comments
* Update src/main/fc/parameter_names.h
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
* Changes according to PR comments
* 200Hz compass task
* fix wait status flag
* increase default ODR of HMC5883L to 75Hz
* fix spikes in MagYaw debug by re-calc only on new data
---------
Co-authored-by: ctzsnooze <chris.thompson@sydney.edu.au>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Fix best 3 not being calculated due to number of laps not being incremented
To calculate the best 3 consecutive laps time, it needs to track the number of laps recorded. This must have been accidentally removed at some point.