PlayerCc::ImuProxy Class Reference
The ImuProxy
class is used to control an imu device.
More...
#include <playerc++.h>
Inheritance diagram for PlayerCc::ImuProxy:
Public Member Functions | |
ImuProxy (PlayerClient *aPc, uint32_t aIndex=0) | |
Constructor. | |
~ImuProxy () | |
destructor | |
player_pose3d_t | GetPose () const |
get the processed pos of the imu | |
float | GetXAccel () |
get the raw values | |
float | GetYAccel () |
float | GetZAccel () |
float | GetXGyro () |
float | GetYGyro () |
float | GetZGyro () |
float | GetXMagn () |
float | GetYMagn () |
float | GetZMagn () |
player_imu_data_calib_t | GetRawValues () const |
void | SetDatatype (int aDatatype) |
Change the data type to one of the predefined data structures. | |
void | ResetOrientation (int aValue) |
Reset orientation. | |
Private Member Functions | |
void | Subscribe (uint32_t aIndex) |
void | Unsubscribe () |
Private Attributes | |
playerc_imu_t * | mDevice |
Detailed Description
Member Function Documentation
void PlayerCc::ImuProxy::ResetOrientation | ( | int | aValue | ) |
Reset orientation.
void PlayerCc::ImuProxy::SetDatatype | ( | int | aDatatype | ) |
Change the data type to one of the predefined data structures.
The documentation for this class was generated from the following file: