mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
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:
@@ -21,7 +21,7 @@ px4_add_board(
|
||||
#irlock
|
||||
#magnetometer # all available magnetometer drivers
|
||||
magnetometer/hmc5883
|
||||
magnetometer/ist8310
|
||||
magnetometer/isentek/ist8310
|
||||
#optical_flow/px4flow
|
||||
#protocol_splitter
|
||||
pwm_out_sim
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
mpu9250 -s -R 0 start
|
||||
|
||||
ist8310 -I -R 4 start
|
||||
ist8310 -I -R 14 start
|
||||
|
||||
ll40ls start -X
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ px4_add_board(
|
||||
#irlock
|
||||
#magnetometer # all available magnetometer drivers
|
||||
magnetometer/hmc5883
|
||||
magnetometer/ist8310
|
||||
magnetometer/isentek/ist8310
|
||||
#optical_flow/px4flow
|
||||
protocol_splitter
|
||||
pwm_out_sim
|
||||
|
||||
Reference in New Issue
Block a user