NDEVR
API Documentation
OrientationReading

A single reading, typically used by a MadgwickOrientationSensor consisiting of input from all IMU sensors. More...

Collaboration diagram for OrientationReading:
[legend]

Public Member Functions

 OrientationReading (Quaternion< fltp08 > quaternion, Vector< 3, fltp08 > gyro, Vector< 3, fltp08 > accel, Vector< 3, fltp08 > magnet, const Time &time)
 Constructs an OrientationReading with all sensor values.

Public Attributes

Vector< 3, fltp08accel
 The accelerometer reading.
Vector< 3, fltp08gyro
 The gyroscope angular velocity reading.
Vector< 3, fltp08magnet
 The magnetometer reading.
Quaternion< fltp08quaternion
 The orientation quaternion for this reading.
Time time
 The timestamp of this reading.

Detailed Description

A single reading, typically used by a MadgwickOrientationSensor consisiting of input from all IMU sensors.


These might be interpolated values.

Definition at line 19 of file MadgwickOrientationSensor.h.

Constructor & Destructor Documentation

◆ OrientationReading()

OrientationReading::OrientationReading ( Quaternion< fltp08 > quaternion,
Vector< 3, fltp08 > gyro,
Vector< 3, fltp08 > accel,
Vector< 3, fltp08 > magnet,
const Time & time )

Constructs an OrientationReading with all sensor values.

Parameters
[in]quaternionThe orientation quaternion.
[in]gyroThe gyroscope reading.
[in]accelThe accelerometer reading.
[in]magnetThe magnetometer reading.
[in]timeThe timestamp of the reading.

References accel, gyro, magnet, quaternion, and time.


The documentation for this struct was generated from the following file: