QB Robotics qbmove Advanced Kit User Manual page 74

Table of Contents

Advertisement

commActivate
commGetActivate
commSetPosStiff
commGetInputs
Description: This function is used to retrieve the inputs given to the device.
Arguments
71
28 aprile 2021
Description: This function is used to close communication between the
computer and the device. Is necessary to use it before a program is
terminated.
Arguments
comm_settings
about communication settings
Description: This function activates the motor drives (or the motor drive if
only one present) of the device. It is necessary to activate the motor drives
before using the device, otherwise the device will not work.
Arguments
comm_settings
about communication settings
id: The device's ID number
int
char
activate: The activation value. 0x03 activates the board, 0x00
deactivates it
Description: This function is used to retrieve the activation status of the
board. It is mostly used after the commActivate function to see if the board
was correctly activated or deactivated. It is needed an inactive program time
if used right after the commActivate.
Arguments
comm_settings
about communication settings
id: The device's ID number
int
char
*activate: Device activation status
Description: This function is used to give the device reference inputs to
motors. Is used only with a qbmove device. The two inputs are the output
shaft position (in degrees) and the stiffness preset of the shaft. The stiffness
preset goes from 0 to 30 degrees.
Arguments
comm_settings
about communication settings
id: The device's ID number
int
short int
inputs[]: The array used to store the inputs to be sent to
the devices. Accepted values are [-15000, 15000] concerning the
position and [0,32768] concerning the stiffness.
comm_settings
about communication settings
id: The device's ID number
int
*comm_settings_t: Structure containing info
*comm_settings_t: Structure containing info
*comm_settings_t: Structure containing info
*comm_settings_t: Structure containing info
*comm_settings_t: Structure containing info

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the qbmove Advanced Kit and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents