PlayerCc::ImuProxy Class Reference

The ImuProxy class is used to control an imu device. More...

#include <playerc++.h>

Inheritance diagram for PlayerCc::ImuProxy:
Collaboration diagram for PlayerCc::ImuProxy:

List of all members.


Detailed Description

The ImuProxy class is used to control an imu device.

Public Member Functions

 ImuProxy (PlayerClient *aPc, uint32_t aIndex=0)
 Constructor.
 ~ImuProxy ()
 Destructor.
player_pose3d_t GetPose () const
 Get the processed pose of the imu.
float GetXAccel ()
 Get X Acceleration.
float GetYAccel ()
 Get Y Acceleration.
float GetZAccel ()
 Get Z Acceleration.
float GetXGyro ()
 Get X Gyro Rate.
float GetYGyro ()
 Get Y Gyro Rate.
float GetZGyro ()
 Get Z Gyro Rate.
float GetXMagn ()
 Get X Magnetism.
float GetYMagn ()
 Get Y Magnetism.
float GetZMagn ()
 Get Z Magnetism.
player_imu_data_calib_t GetRawValues () const
 Get all calibrated values.
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_tmDevice

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: