mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-13 10:03:57 -03:00
PX4: Added detection for MPU6000 on px4slim.
This commit is contained in:
parent
38150a5544
commit
30bcea73cc
@ -367,8 +367,10 @@ void AP_BoardConfig::px4_start_pixhawk2slim_sensors(void)
|
||||
printf("Found MPU9250 internal\n");
|
||||
} else if (px4_start_driver(mpu6000_main, "mpu6000", "-R 14 -T 20608 start")) {
|
||||
printf("Found ICM20608 internal\n");
|
||||
} else if (px4_start_driver(mpu6000_main, "mpu6000", "-R 14 start")) {
|
||||
printf("Found MPU6000 internal\n");
|
||||
} else {
|
||||
px4_sensor_error("No MPU9250 or ICM20608");
|
||||
px4_sensor_error("No MPU9250 or ICM20608 or MPU6000");
|
||||
}
|
||||
|
||||
// on Pixhawk2 default IMU temperature to 60
|
||||
|
Loading…
Reference in New Issue
Block a user