Classes | Defines | Typedefs | Enumerations | Functions
cphidgetspatial.h File Reference
#include "cphidget.h"
Include dependency graph for cphidgetspatial.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CPhidgetSpatial_SpatialEventData
struct  CPhidgetSpatialInfo

Defines

#define SPATIAL_ACCEL_GYRO_CALIB_TABLE_LENGTH   64
#define SPATIAL_AccelCalibTable_ID   1001
#define SPATIAL_AD7689_BITS_PER_VOLT   (0x10000 / SPATIAL_VOLTAGE_REF)
#define SPATIAL_ANALOG   0x01
#define SPATIAL_ANALOG_ACCEL_CALIB_TABLE_INDEX   1
#define SPATIAL_ANALOG_AND_DIGITAL   0x00
#define SPATIAL_ANALOG_GYRO_CALIB_TABLE_INDEX   3
#define SPATIAL_COMPASS_CALIB_TABLE_INDEX   4
#define SPATIAL_COMPASS_CALIB_TABLE_LENGTH   56
#define SPATIAL_COMPASS_TEMP_CALIB_TABLE_INDEX   5
#define SPATIAL_DATA_BUFFER_SIZE   ((SPATIAL_MIN_DATA_RATE * 2 + 200)/SPATIAL_MAX_DATA_RATE)
#define SPATIAL_DIGITAL   0x02
#define SPATIAL_DIGITAL_ACCEL_CALIB_TABLE_INDEX   0
#define SPATIAL_DIGITAL_GYRO_CALIB_TABLE_INDEX   2
#define SPATIAL_GyroCalibTable_ID   1000
#define SPATIAL_HMC5883L_BITS_PER_GAUSS   (1 / SPATIAL_HMC5883L_GAUSS_PER_BIT)
#define SPATIAL_HMC5883L_GAUSS_PER_BIT   0.00303
#define SPATIAL_KXR94_2050_VOLTS_PER_G   0.660
#define SPATIAL_KXR94_2050_w_AD7689_BITS_PER_G   (SPATIAL_KXR94_2050_VOLTS_PER_G * SPATIAL_AD7689_BITS_PER_VOLT)
#define SPATIAL_L3GD20_BITS_PER_DPS   (1 / SPATIAL_L3GD20_DPS_PER_BIT)
#define SPATIAL_L3GD20_DPS_PER_BIT   0.07
#define SPATIAL_LPR410AL_VOLTS_PER_DPS   0.0025
#define SPATIAL_LRP410AL_w_AD7689_BITS_PER_DPS   (SPATIAL_LPR410AL_VOLTS_PER_DPS * SPATIAL_AD7689_BITS_PER_VOLT)
#define SPATIAL_LY330ALH_VOLTS_PER_DPS   0.003752
#define SPATIAL_LY330ALH_w_AD7689_BITS_PER_DPS   (SPATIAL_LY330ALH_VOLTS_PER_DPS * SPATIAL_AD7689_BITS_PER_VOLT)
#define SPATIAL_MAX_ACCELAXES   3
#define SPATIAL_MAX_COMPASSAXES   3
#define SPATIAL_MAX_DATA_RATE   1
#define SPATIAL_MAX_GYROAXES   3
#define SPATIAL_MIN_DATA_RATE   1000
#define SPATIAL_MMA8451Q_BITS_PER_G   1024
#define SPATIAL_PACKET_CALIB   0x80
#define SPATIAL_PACKET_DATA   0x00
#define SPATIAL_READCALIB   0x01
#define SPATIAL_SET_POLLING_TYPE   0x02
#define SPATIAL_UNZERO_GYRO   0x04
#define SPATIAL_VOLTAGE_REF   3.3
#define SPATIAL_ZERO_GYRO   0x03
#define SPATIAL_ZERO_GYRO_TIME   2000

Typedefs

typedef struct
_CPhidgetSpatial_SpatialEventData 
CPhidgetSpatial_SpatialEventData
typedef struct
_CPhidgetSpatial_SpatialEventData
CPhidgetSpatial_SpatialEventDataHandle

Enumerations

enum  CPhidgetSpatial_AnalogDigitalMode { PHIDGET_SPATIAL_ANALOG_AND_DIGITAL = 0, PHIDGET_SPATIAL_ANALOG, PHIDGET_SPATIAL_DIGITAL }

Functions

PHIDGET21_API int CCONV CPhidgetSpatial_resetCompassCorrectionParameters (CPhidgetSpatialHandle phid)
PHIDGET21_API int CCONV CPhidgetSpatial_setAnalogAccelCalibrationValues (CPhidgetSpatialHandle phid, double gainPositive[3], double gainNegative[3], double offset[3], double factor1[3], double factor2[3])
PHIDGET21_API int CCONV CPhidgetSpatial_setAnalogGyroCalibrationValues (CPhidgetSpatialHandle phid, double gainPositive[3], double gainNegative[3], double offset[3], double factor1[3], double factor2[3])
PHIDGET21_API int CCONV CPhidgetSpatial_setDigitalAccelCalibrationValues (CPhidgetSpatialHandle phid, double gainPositive[3], double gainNegative[3], double offset[3], double factor1[3], double factor2[3])
PHIDGET21_API int CCONV CPhidgetSpatial_setDigitalGyroCalibrationValues (CPhidgetSpatialHandle phid, double gainPositive[3], double gainNegative[3], double offset[3], double factor1[3], double factor2[3])
PHIDGET21_API int CCONV CPhidgetSpatial_unZeroGyro (CPhidgetSpatialHandle phid)
PHIDGET21_API int CCONV CPhidgetSpatial_zeroGyro (CPhidgetSpatialHandle phid)


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21