Skip to content

Position and inertial sensing

Handlers for the AS5047U magnetic angle sensor and the BNO08x IMU family.

As5047uHandler

Unified handler for AS5047U magnetic rotary position sensor with SPI integration.

As5047uHandler(BaseSpi& spi_interface, const As5047uConfig& config = GetDefaultConfig());
Group Public methods
All Initialize(), EnsureInitialized(), Deinitialize(), IsInitialized(), IsSensorReady(), GetSensor(), GetDriver(), visitDriver(), GetDefaultConfig(), GetDescription(), GetLastError(), GetDiagnostics(), RefreshDiagnostics(), DumpDiagnostics()

Bno08xHandler

Unified handler for BNO08x IMU sensor family with multi-interface support.

Bno08xHandler(
    BaseI2c& i2c_device,
    const Bno08xConfig& config = Bno08xConfig{},
    BaseGpio* reset_gpio = nullptr,
    BaseGpio* int_gpio = nullptr);
Bno08xHandler(
    BaseSpi& spi_device,
    const Bno08xConfig& config = Bno08xConfig{},
    BaseGpio* reset_gpio = nullptr,
    BaseGpio* int_gpio = nullptr,
    BaseGpio* wake_gpio = nullptr);
Group Public methods
All Initialize(), EnsureInitialized(), Deinitialize(), IsInitialized(), Update(), SetSensorCallback(), ClearSensorCallback(), QuaternionToEuler(), GetInterfaceType(), GetSensor(), GetDriver(), visitDriver(), GetLastError(), GetLastDriverError(), GetDescription(), GetDefaultConfig(), DumpDiagnostics()