iSentek IST8310 magnetometer rewrite

- simple state machine to reset, configure, etc
 - checked register mechanism (sensor will reset itself on configuration error)
 - configured in 16 bit mode (1320 LSB/Gauss instead of 330 LSB/Gauss)
 - adjusted orientation handling in driver to match datasheet as closely as possible
     - in many external compass units the rotation was wrong and very difficult to actual determine how to set correctly
This commit is contained in:
Daniel Agar
2020-09-02 13:14:45 -04:00
committed by GitHub
parent 6ff361479c
commit 7569722821
21 changed files with 706 additions and 674 deletions

View File

@@ -29,7 +29,7 @@ px4_add_board(
lights/rgbled_ncp5623c
magnetometer/bmm150
magnetometer/lis3mdl
magnetometer/ist8310
magnetometer/isentek/ist8310
optical_flow # all available optical flow drivers
pca9685
pwm_input