PlayerCc::ImuProxy Class Reference

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

#include <playerc++.h>

Inheritance diagram for PlayerCc::ImuProxy:
PlayerCc::ClientProxy

List of all members.

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_tmDevice

Detailed Description

The ImuProxy class is used to control an imu device.


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:

Last updated 25 May 2011 21:17:00