Go to the documentation of this file.
29 #ifndef ROBOT_CONTROL_H
30 #define ROBOT_CONTROL_H
37 #include "plugin_loader/loader_macros.h"
53 double position, velocity, force, acceleration, inertia, stiffness, damping;
58 #define ROBOT_CONTROL_INTERFACE( Interface, INIT_FUNCTION ) \
59 INIT_FUNCTION( bool, Interface, InitController, const char* ) \
60 INIT_FUNCTION( void, Interface, EndController, void ) \
61 INIT_FUNCTION( size_t, Interface, GetJointsNumber, void ) \
62 INIT_FUNCTION( const char**, Interface, GetJointNamesList, void ) \
63 INIT_FUNCTION( size_t, Interface, GetAxesNumber, void ) \
64 INIT_FUNCTION( const char**, Interface, GetAxisNamesList, void ) \
65 INIT_FUNCTION( void, Interface, SetControlState, enum ControlState ) \
66 INIT_FUNCTION( void, Interface, RunControlStep, DoFVariables**, DoFVariables**, DoFVariables**, DoFVariables**, double ) \
67 INIT_FUNCTION( size_t, Interface, GetExtraInputsNumber, void ) \
68 INIT_FUNCTION( void, Interface, SetExtraInputsList, double* ) \
69 INIT_FUNCTION( size_t, Interface, GetExtraOutputsNumber, void ) \
70 INIT_FUNCTION( void, Interface, GetExtraOutputsList, double* )
72 #endif // ROBOT_CONTROL_H
@ CONTROL_OFFSET
State for definition of reference (zero) for controller measurements.
Definition: robot_control.h:43
Control used variables list indexes enumeration.
Definition: robot_control.h:51
@ CONTROL_STATES_NUMBER
Total number of control states.
Definition: robot_control.h:47
ControlState
Defined possible control states enumeration. Passed to generic or plugin specific robot control imple...
Definition: robot_control.h:40
@ CONTROL_PREPROCESSING
State for custom automatic preprocessing of controller parameters.
Definition: robot_control.h:45
struct DoFVariables DoFVariables
Control used variables list indexes enumeration.
@ CONTROL_PASSIVE
State for fully compliant robot control/behaviour.
Definition: robot_control.h:42
@ CONTROL_CALIBRATION
State for definition of limits (min-max) for controller measurements.
Definition: robot_control.h:44
@ CONTROL_OPERATION
State for normal controller operation.
Definition: robot_control.h:46