Solar
|
Get access to the data of an IMU. UUID: 9940fa48-10cf-11e8-b642-0ed5f89f718b
More...
#include <IIMU.h>
Public Member Functions | |
IIMU ()=default | |
IIMU default constructor. | |
virtual | ~IIMU ()=default |
IIMU default destructor. | |
virtual FrameworkReturnCode | getGyroscopeData (SolAR::datastructure::Vector3f &gyroData)=0 |
Get gyroscope data. More... | |
virtual FrameworkReturnCode | getAccelerometerData (SolAR::datastructure::Vector3f &accelData)=0 |
Get accelerometer data. More... | |
virtual FrameworkReturnCode | getMagnetometerData (SolAR::datastructure::Vector3f &magData)=0 |
Get magnetometer data. More... | |
virtual FrameworkReturnCode | getAllSensorsData (SolAR::datastructure::Vector3f &gyroData, SolAR::datastructure::Vector3f &accelData, SolAR::datastructure::Vector3f &magData)=0 |
Get gyroscope, accelerometer and magnetometer data. More... | |
virtual bool | isGyroscopeAvailable ()=0 |
Get gyroscope sensor availability. More... | |
virtual bool | isAccelerometerAvailable ()=0 |
Get accelerometer sensor availability. More... | |
virtual bool | isMagnetometerAvailable ()=0 |
Get magnetometer sensor availability. More... | |
Public Member Functions inherited from SolAR::api::input::devices::IDevice | |
IDevice ()=default | |
Specify the IDevice constructor class. | |
virtual | ~IDevice () override=default |
Specify the IDevice destructor class. | |
virtual FrameworkReturnCode | start ()=0 |
Start the acquisition device referenced by its device_id. More... | |
virtual FrameworkReturnCode | stop ()=0 |
Stop the acquisition device. More... | |
Get access to the data of an IMU. UUID: 9940fa48-10cf-11e8-b642-0ed5f89f718b
This class describes the interface of an Inertial Measurement Unit capture device.
|
pure virtual |
Get accelerometer data.
[in,out] | accelData | The vector in which the accelerometer data will be stored (in metre per second squared) |
|
pure virtual |
Get gyroscope, accelerometer and magnetometer data.
[in,out] | gyroData | The vector in which the gyroscope data will be stored (in radian per second) |
[in,out] | accelData | accelData The vector in which the accelerometer data will be stored (in metre per second squared) |
[in,out] | magData | The vector in which the magnetometer data will be stored (in gauss) |
|
pure virtual |
Get gyroscope data.
[in,out] | gyroData | The vector in which the gyroscope data will be stored (in radian per second) |
|
pure virtual |
Get magnetometer data.
[in,out] | magData | The vector in which the magnetometer data will be stored (in gauss) |
|
pure virtual |
Get accelerometer sensor availability.
|
pure virtual |
Get gyroscope sensor availability.
|
pure virtual |
Get magnetometer sensor availability.