Manage link with devices (sensors and actuators). See specific documentation.
void set (const AL::ALValue& commands)
Call this function to send a timed-command list to an actuator
AL::ALValue with all data
void setAlias (const AL::ALValue& commands)
Call this function to send timed-command list to an alias (list of actuators)
AL::ALValue with all data
int getTime (const int& offset)
Return the DCM time
optional time in ms (signed) to add/remove
An integer (could be signed) with the DCM time
AL::ALValue createAlias (const AL::ALValue& alias)
Create or change an alias (list of actuators)
Alias name and description
Same as pParams, but with the name removed if the actuator is not found
AL::ALValue getPrefix ()
Return the STM base name
the STM base name for all device/sensors (1st string in the array) and all devices (2nd string in the array)
void special (const string& result)
Special DCM commands
one string and could be Reset, Version, Chain, Diagnostic, Config
void calibration (const AL::ALValue& calibrationInput)
Calibration of a joint
Internal use only
int preferences (const string& action, const string& target, const string& keyName, const AL::ALValue& keyValue)
Save updated value from DCM in XML pref file
string : 'Save' 'Load' 'Add'
string : 'Chest' 'Head' 'Main' 'All'
The name of the key if action = 'Add'.
The ALVAlue of the key to add
Nothing
string version ()
Returns the version of the module.
A string containing the version of the module.
AL::ALValue getMethodHelp (const string& methodName)
Retrieves a method's description.
The name of the method.
A structure containing the method's description.
AL::ALValue getModuleHelp ()
Retrieves the module's description.
A structure describing the module.
string getUsage (const string& name)
Gets the method usage string. This summarise how to use the method.
The name of the method.
A string that summarises the usage of the method.