#include <imu.h>
Public Member Functions | |
Imu () | |
Public Member Functions inherited from phidgets::Phidget | |
int | close () |
Close the connection to the phidget. More... | |
std::string | getDeviceLabel () |
Get the device label string. More... | |
std::string | getDeviceName () |
Get the device name string. More... | |
int | getDeviceSerialNumber () |
Get the Phidget's serial number. More... | |
std::string | getDeviceType () |
Get the device type string. More... | |
int | getDeviceVersion () |
Get the Phidget's version. More... | |
std::string | getLibraryVersion () |
Get the library version string. More... | |
int | open (int serial_number) |
Open a connection to a Phidget. More... | |
Phidget () | |
int | waitForAttachment (int timeout) |
Block until the unit is attached or timeout occurs. More... | |
~Phidget () | |
Protected Member Functions | |
virtual void | dataHandler (CPhidgetSpatial_SpatialEventDataHandle *data, int count) |
void | setDataRate (int rate) |
void | zero () |
Protected Member Functions inherited from phidgets::Phidget | |
virtual void | attachHandler () |
virtual void | detachHandler () |
virtual void | errorHandler (int error) |
void | init (CPhidgetHandle handle) |
virtual void | registerHandlers () |
Protected Attributes | |
CPhidgetSpatialHandle | imu_handle_ |
Protected Attributes inherited from phidgets::Phidget | |
CPhidgetHandle | handle_ |
Static Private Member Functions | |
static int | SpatialDataHandler (CPhidgetSpatialHandle spatial, void *userptr, CPhidgetSpatial_SpatialEventDataHandle *data, int count) |
Additional Inherited Members | |
Static Public Member Functions inherited from phidgets::Phidget | |
static std::string | getErrorDescription (int errorCode) |
Lookup the string for a CPhidget Error Code. More... | |
|
protectedvirtual |
|
staticprivate |