25 #ifndef HAL_COMPASS_AK09916_I2C_ADDR 26 # define HAL_COMPASS_AK09916_I2C_ADDR 0x0C 30 #ifndef HAL_COMPASS_ICM20948_I2C_ADDR 31 # define HAL_COMPASS_ICM20948_I2C_ADDR 0x69 64 enum bus_type bus_type);
AP_HAL::OwnPtr< AP_HAL::Device > dev_icm
AP_HAL::OwnPtr< AP_HAL::Device > dev
static AP_Compass_Backend * probe(Compass &compass, AP_HAL::OwnPtr< AP_HAL::I2CDevice > dev, bool force_external=false, enum Rotation rotation=ROTATION_NONE)
AP_Compass_AK09916(Compass &compass, AP_HAL::OwnPtr< AP_HAL::Device > dev, AP_HAL::OwnPtr< AP_HAL::Device > dev_icm, bool force_external, enum Rotation rotation, enum bus_type bus_type)
static constexpr const char * name
Common definitions and utility routines for the ArduPilot libraries.
static AP_Compass_Backend * probe_ICM20948(Compass &compass, AP_HAL::OwnPtr< AP_HAL::I2CDevice > dev, AP_HAL::OwnPtr< AP_HAL::I2CDevice > dev_icm, bool force_external=false, enum Rotation rotation=ROTATION_NONE)