38 #define MAX_SENSORS 22 46 bool init(
const char *serialDev);
bool cmdSetCalibrateGain(uchar_t index, uchar_t gain)
bool cmdGetWristToggle(bool *enable)
bool cmdSetWristToggle(bool enable)
bool cmdSetParameterFlags(parameterFlags_t flags)
bool readResponseGet(uchar_t c)
bool cmdGetConnectStatus(statusConnect_t *status)
bool cmdGetSensorValuesSync(vector_t values, uchar_t *n, bool *errorSync, gloveStatusByte_t *gloveStatusByte)
bool cmdSetControlLight(bool enable)
bool cmdSetSamplePeriod(samplePeriod_t period)
bool cmdGetCalibrateAll(vector_t offset, vector_t gain)
bool cmdGetChar(uchar_t name, uchar_t *val)
bool cmdGetSensorDummyValues(vector_t values, uchar_t *n, statusQuery_t *query, gloveStatusByte_t *gloveStatusByte)
bool cmdSetActuateAll(vector_t values)
bool cmdGetWristLight(bool *enable)
bool cmdGetSensorValues(vector_t values, uchar_t *n, statusQuery_t *query, gloveStatusByte_t *gloveStatusByte)
bool cmdSetGloveStatus(bool enable)
bool cmdGetActuateAll(vector_t values)
bool cmdGetHand(bool *rightHand)
void getString(vector_t s, int n)
bool cmdSetActuate(int n, vector_t index, vector_t values)
bool cmdGetQuantized(bool *enable)
bool cmdSetNbSensorsEnabled(uchar_t n)
bool readResponseSet(uchar_t c)
bool cmdSetChar(uchar_t name, uchar_t val)
bool cmdSetWristLight(bool enable)
bool cmdSetQuantized(bool enable)
bool internalCmd(uchar_t cmd)
bool cmdSetTimeStamp(bool enable)
bool cmdReinitializeCyberGlove()
bool cmdGetTimeStamp(bool *enable)
bool cmdSetCalibrateAll(vector_t offset, vector_t gain)
bool cmdGetGloveStatus(bool *enable)
bool cmdGetNbSensorsEnabled(uchar_t *n)
bool cmdGetBaudRate(uchar_t *baudDivide)
bool cmdSetStreamValues(bool enable)
bool init(const char *serialDev)
bool cmdGetBinarySync(bool *enable)
bool cmdGetControlLight(bool *enable)
bool cmdRestartFirmware()
bool cmdGetParameterFlags(parameterFlags_t *flags)
bool cmdGetGloveVersion(gloveVersion_t *version)
bool cmdGetDigitalFilter(bool *enable)
bool cmdSetBinarySync(bool enable)
bool cmdSetCalibrateOffset(uchar_t index, uchar_t offset)
bool cmdGetHwSensorMask(sensorMask_t *mask)
pthread_mutex_t serial_lock
bool cmdGetNbSensorsTotal(uchar_t *n)
bool cmdSetSwSensorMask(sensorMask_t mask)
bool cmdGetSamplePeriod(samplePeriod_t *period)
bool cmdGetBool(uchar_t name, bool *val)
void sendString(vector_t s, int n)
bool cmdGetSwSensorMask(sensorMask_t *mask)
bool cmdSetBaudRate(uchar_t baudDivide)
bool cmdSetDigitalFilter(bool enable)