EvoIMU#
-
class EvoIMU#
Class to interact with the BNO055 Inertial Measurement Unit (IMU) sensor.
Initialisation & Setup
-
inline EvoIMU::EvoIMU(I2CChannel channel)#
Constructs an EvoTCS34725 object.
- Parameters:
channel – The I2C channel to use.
Control Functions
-
float EvoIMU::getRelativeHeading()#
Get the Relative Heading object.
The relative heading is the difference between the current heading and the reference heading.
- Returns:
Relative heading in degrees.
-
void EvoIMU::getEuler(float *x, float *y, float *z)#
Gets the Euler angles of the sensor.
- Parameters:
x – Pointer to store the X angle.
y – Pointer to store the Y angle.
z – Pointer to store the Z angle.
-
float EvoIMU::getEulerX()#
Gets the euler angle in the x direction of the sensor.
- Returns:
Angle in degrees.