Go to the documentation of this file.
28 #ifndef QBROBOTICS_DRIVER_QBROBOTICS_RESEARCH_COMMANDS_H
29 #define QBROBOTICS_DRIVER_QBROBOTICS_RESEARCH_COMMANDS_H
31 #define API_VERSION "7.1.0"
33 #define PARAM_BYTE_SLOT 50 // Number of bytes reserved to param's information
34 #define PARAM_MENU_SLOT 150 // Number of bytes reserved to a param menu
39 #define INFO_READING 1
40 #define GET_SD_PARAM 2
189 #endif // QBROBOTICS_DRIVER_QBROBOTICS_RESEARCH_COMMANDS_H
@ CMD_GET_INPUTS
Command for getting reference inputs.
@ CMD_GET_COUNTERS
Command for asking device's counters, mostly used for debugging sent commands.
@ CONTROL_CURRENT
Current control.
@ CMD_GET_CURRENTS
Command for asking device's current measurements.
@ CMD_INIT_MEM
Initialize the memory with the default values.
@ CMD_SET_INPUTS_ACK
Command to set the device inputs and return an acknowledgment signal (needed for less comm.
@ PARAM_CONTROL_MODE
Choose the kind of control between position control, current control, direct PWM value or current+pos...
@ PARAM_POS_LIMIT_FLAG
Enable/disable position limiting.
@ CONTROL_PWM
Direct PWM value.
@ CURR_AND_POS_CONTROL
Position and current control.
@ PARAM_EMG_MAX_VALUE
Maximum value of EMG.
@ CMD_GET_MEASUREMENTS
Command for asking device's position measurements.
@ INPUT_MODE_EMG_PROPORTIONAL
Use EMG measure to proportionally drive the position of the motor 1.
@ CMD_GET_CURR_AND_MEAS
Command for asking device's measurements and currents.
@ CMD_GET_CYCLE_TIME
Command to get the device cycle time.
@ CMD_GET_ENCODER_RAW
Get all encoder raw values.
@ CMD_SET_WATCHDOG
Command for setting watchdog timer or disable it.
@ PARAM_MOT_HANDLE_RATIO
Multiplier between handle and motor.
@ CMD_HAND_CALIBRATE
Starts a series of opening and closures of the hand.
@ CMD_PING
Asks for a ping message.
@ PARAM_DL_POS_PID
Double loop position PID.
@ CMD_SET_POS_STIFF
Not used in the softhand firmware.
@ PARAM_CURRENT_LOOKUP
Table of values used to calculate an estimated current of the SoftHand.
@ CMD_GET_IMU_READINGS
Retrieve accelerometers, gyroscopes and magnetometers readings.
@ INPUT_MODE_EMG_FCFS
Use 2 EMG. First reaching threshold wins and its value defines hand closure.
@ PARAM_MAX_STEP_NEG
Used to slow down movements for negative values.
@ CMD_BOOTLOADER
Sets the bootloader modality to update the firmware.
@ PARAM_INPUT_MODE
Input mode.
@ CMD_ACTIVATE
Command for activating/deactivating the device.
@ CMD_GET_ADC_CONF
Get ADC configuration.
@ PARAM_POS_LIMIT
Position limit values | int32 | int32 | int32 | int32 | | INF_LIM_1 | SUP_LIM_1 | INF_LIM_2 | SUP_LIM...
@ PARAM_MEASUREMENT_OFFSET
Adds a constant offset to the measurements.
@ CMD_GET_ADC_RAW
Get ADC raw values.
@ CMD_GET_VELOCITIES
Command for asking device's velocity measurements.
@ CMD_STORE_DEFAULT_PARAMS
Store current parameters as factory parameters.
@ PARAM_EMG_THRESHOLD
Minimum value to have effect.
@ CMD_RESTORE_PARAMS
Restore default factory parameters.
@ CMD_SET_BAUDRATE
Command for setting baud rate of communication.
@ CMD_GET_JOYSTICK
Command to get the joystick measurements (only for devices driven by a joystick)
@ CMD_GET_ENCODER_CONF
Get encoder configuration.
@ CMD_SET_CURR_DIFF
Command used to set current difference modality (only for Cuff device)
@ INPUT_MODE_EMG_FCFS_ADV
Use 2 EMG.
@ CMD_SET_SYNERGIES
Command to set the synergies to SoftHand 2.
@ CMD_STORE_PARAMS
Stores all parameters in memory and loads them.
@ CMD_SET_ZEROS
Command for setting the encoders zero position.
@ PARAM_POS_RESOLUTION
Angle resolution for inputs and measurements (used during communication)
@ INPUT_MODE_EMG_INTEGRAL
Use 2 EMG signals to drive motor position.
@ CMD_GET_CURR_DIFF
Command for asking device's current difference between a measured one and an estimated one (only for ...
@ CMD_GET_EMG
Command for asking device's emg sensors measurements.
@ CMD_CALIBRATE
Starts the stiffness calibration of the qbMove.
@ INPUT_MODE_ENCODER3
Encoder 3 drives all inputs.
@ CMD_GET_INFO
Asks for a string of information about.
@ CMD_EXT_DRIVE
Command to set the actual measurements as inputs to another device (only for Armslider device)
@ CONTROL_ANGLE
Classic position control.
@ PARAM_ID
Device's ID number.
@ PARAM_DOUBLE_ENC_ON_OFF
Double Encoder Y/N.
@ CMD_SET_INPUTS
Command for setting reference inputs.
@ CMD_SET_CUFF_INPUTS
Command used to set Cuff device inputs (only for Cuff device)
@ PARAM_MEASUREMENT_MULTIPLIER
Adds a multiplier to the measurements.
@ DEFLECTION_CONTROL
Deflection control.
@ PARAM_MOTOR_SUPPLY
Motor supply voltage of the hand.
@ PARAM_CURRENT_LIMIT
Limit for absorbed current.
@ CMD_GET_ACCEL
Command for asking device's acceleration measurements.
@ CMD_GET_ACTIVATE
Command for getting device activation state.
@ PARAM_MAX_STEP_POS
Used to slow down movements for positive values.
@ PARAM_STARTUP_ACTIVATION
Start up activation byte.
@ CMD_GET_IMU_PARAM
Retrieve and set IMU parameters.
@ PARAM_PID_CURR_CONTROL
PID current control.
@ PARAM_EMG_SPEED
Closure speed when using EMG.
@ INPUT_MODE_EXTERNAL
References through external commands (default)
@ DEFL_CURRENT_CONTROL
Deflection and current control.
@ CMD_GET_PARAM_LIST
Command to get the parameters list or to set a defined value chosen by the use.
@ PARAM_EMG_CALIB_FLAG
Enable calibration on startup.
@ CMD_GET_SYNERGIES
Command to get the synergies of SoftHand 2.
@ PARAM_PID_CONTROL
PID parameters.
@ PARAM_DL_CURR_PID
Double loop current PID.
qb_device_driver
Author(s): qbrobotics®
autogenerated on Thu Apr 27 2023 02:36:32