Robot Control Interface
|
Robot control methods to be implemented by plugins. More...
#include <robot_control.h>
Public Member Functions | |
bool | InitController (const char *configurationString) |
Calls plugin specific robot controller initialization More... | |
void | EndController (void) |
Calls plugin specific robot controller data deallocation More... | |
void | RunControlStep (DoFVariables **jointMeasuresList, DoFVariables **axisMeasuresList, DoFVariables **jointSetpointsList, DoFVariables **axisSetpointsList, double timeDelta) |
Calls plugin specific logic to process single control pass and joints/axes coordinate conversions. More... | |
void | SetControlState (enum ControlState controlState) |
Pass control state to trigger possible plugin specific behaviour. More... | |
size_t | GetJointsNumber (void) |
Get plugin specific number of joint coordinates/degrees-of-freedom. More... | |
const char ** | GetJointNamesList (void) |
Get plugin specific names of all joints. More... | |
size_t | GetAxesNumber (void) |
Get plugin specific number of axis coordinates/degrees-of-freedom. More... | |
const char ** | GetAxisNamesList (void) |
Get plugin specific names of all axes. More... | |
size_t | GetExtraInputsNumber (void) |
Get number of additional inputs needed for the robot control. More... | |
void | SetExtraInputsList (double *inputsList) |
Set list of additional inputs for the next robot control step. More... | |
size_t | GetExtraOutputsNumber (void) |
Get number of additional outputs provided by the robot control. More... | |
void | GetExtraOutputsList (double *outputsList) |
Get list of additional outputs from the last robot control step. More... | |
Robot control methods to be implemented by plugins.
void EndController | ( | void | ) |
Calls plugin specific robot controller data deallocation
size_t GetAxesNumber | ( | void | ) |
Get plugin specific number of axis coordinates/degrees-of-freedom.
const char ** GetAxisNamesList | ( | void | ) |
Get plugin specific names of all axes.
size_t GetExtraInputsNumber | ( | void | ) |
Get number of additional inputs needed for the robot control.
void GetExtraOutputsList | ( | double * | outputsList | ) |
Get list of additional outputs from the last robot control step.
[in,out] | outputsList | reference/pointer to list of addtional output values |
size_t GetExtraOutputsNumber | ( | void | ) |
Get number of additional outputs provided by the robot control.
const char ** GetJointNamesList | ( | void | ) |
Get plugin specific names of all joints.
size_t GetJointsNumber | ( | void | ) |
Get plugin specific number of joint coordinates/degrees-of-freedom.
bool InitController | ( | const char * | configurationString | ) |
Calls plugin specific robot controller initialization
[in] | configurationString | string containing the robot/plugin specific configuration |
void RunControlStep | ( | DoFVariables ** | jointMeasuresList, |
DoFVariables ** | axisMeasuresList, | ||
DoFVariables ** | jointSetpointsList, | ||
DoFVariables ** | axisSetpointsList, | ||
double | timeDelta | ||
) |
Calls plugin specific logic to process single control pass and joints/axes coordinate conversions.
[in,out] | jointMeasuresList | list of per degree-of-freedom control variables representing current robot joints measures |
[in,out] | axisMeasuresList | list of per degree-of-freedom control variables representing current robot effector measures |
[in,out] | jointSetpointsList | list of per degree-of-freedom control variables representing robot joints desired states |
[in,out] | axisSetpointsList | list of per degree-of-freedom control variables representing robot effector desired states |
[in] | timeDelta | time (in seconds) since the last control pass was called |
void SetControlState | ( | enum ControlState | controlState | ) |
Pass control state to trigger possible plugin specific behaviour.
[in] | controlState | member of state enumeration defined in control_definitions.h |
void SetExtraInputsList | ( | double * | inputsList | ) |
Set list of additional inputs for the next robot control step.
[in] | inputsList | reference/pointer to list of addtional input values |