Enumerations | Functions
rq_sensor_state.h File Reference
#include "rq_int.h"
#include <stdbool.h>
Include dependency graph for rq_sensor_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  rq_sensor_state_values { RQ_STATE_INIT, RQ_STATE_READ_INFO, RQ_STATE_START_STREAM, RQ_STATE_RUN }

Functions

enum rq_sensor_state_values rq_sensor_get_current_state (void)
 Returns this module's state machine current state.
INT_8 rq_sensor_state (unsigned int max_retries)
void rq_state_do_zero_force_flag (void)
 Command a zero on the sensor.
void rq_state_get_command (INT_8 const *const name, INT_8 *const value)
float rq_state_get_received_data (UINT_8 i)
bool rq_state_got_new_message (void)
 Returns true if a stream message is available.

Enumeration Type Documentation

Enumerator:
RQ_STATE_INIT 

State that initialize the com. with the sensor.

RQ_STATE_READ_INFO 

State that reads the firmware version, serial number and production year

RQ_STATE_START_STREAM 

State that start the sensor in streaming mode

RQ_STATE_RUN 

the sensor

State that reads the streaming data from

Definition at line 51 of file rq_sensor_state.h.


Function Documentation

Returns this module's state machine current state.

Definition at line 231 of file rq_sensor_state.cpp.

INT_8 rq_sensor_state ( unsigned int  max_retries)

Definition at line 68 of file rq_sensor_state.cpp.

void rq_state_do_zero_force_flag ( void  )

Command a zero on the sensor.

Definition at line 247 of file rq_sensor_state.cpp.

void rq_state_get_command ( INT_8 const *const  name,
INT_8 *const  value 
)

Definition at line 205 of file rq_sensor_state.cpp.

Definition at line 185 of file rq_sensor_state.cpp.

bool rq_state_got_new_message ( void  )

Returns true if a stream message is available.

Definition at line 239 of file rq_sensor_state.cpp.



robotiq_force_torque_sensor
Author(s): Jonathan Savoie
autogenerated on Thu Jun 6 2019 17:58:03