10#ifndef M5_UNIT_IMU_UNIT_UNIT_DOF10_HPP
11#define M5_UNIT_IMU_UNIT_UNIT_DOF10_HPP
13#include <M5UnitComponent.hpp>
14#include <M5UnitUnifiedENV.h>
29 M5_UNIT_COMPONENT_HPP_BUILDER(
UnitDoF10, 0xFF );
34 explicit UnitDoF10(
const uint8_t bmi_addr = 0x68);
64 virtual std::shared_ptr<Adapter> ensure_adapter(
const uint8_t ch)
override;
6-axis (accel + gyro) IMU unit. CoreS3/AtomS3R built-in
Definition unit_bmi270.hpp:34
3-axis magnetometer unit (U231, GROVE)
Definition unit_bmm350.hpp:28
Unit DoF10: BMI270 + BMM350 + SPA06, all directly on the GROVE main bus (no AUX bypass)....
Definition unit_dof10.hpp:28
UnitSPA06 & baro()
Barometer sub-unit (read directly; not AHRS-fused)
Definition unit_dof10.hpp:51
UnitBMI270 & imu()
Accel/gyro sub-unit (add to an AhrsController)
Definition unit_dof10.hpp:41
UnitDoF10(const uint8_t bmi_addr=0x68)
Construct with the BMI270's I2C address (the composite children derive from this)
Definition unit_dof10.cpp:23
virtual ~UnitDoF10()
Destructor.
Definition unit_dof10.hpp:36
UnitBMM350 & mag()
Magnetometer sub-unit (add to an AhrsController)
Definition unit_dof10.hpp:46
virtual bool begin() override
Begin: children are begun by the framework (all on the shared bus, any order)
Definition unit_dof10.hpp:57
Top level namespace of M5Stack.
Definition ahrs_controller.cpp:26
UnitBMI270 (6-axis IMU) unit component.
UnitBMM350 (3-axis magnetometer, U231) unit component.