This module is deprecated.
This module is deprecated and most of its functionalities were moved to new module: ALRobotPosture.
Use these new module since ALRobotPose will not be maintained in the future.
Namespace : AL
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Get the actual robot posture and the time since it was detected.
Returns: ALValue array of size 2. The first element is a string whose value is the posture name. The second element is a float corresponding to the time in seconds elapsed since the posture was detected.
Event:callback(std::string eventName, std::string postureName, std::string subscriberIdentifier)¶
Raised when the posture changes and the new posture has been constant for 500 ms. The corresponding ALMemory Key is robotPoseChanged, which is a string whose value is the current posture name.
- eventName (std::string) – “robotPoseChanged”
- postureName – current posture name
- subscriberIdentifier (std::string) –
A float (integer cast) coding the current posture (use
ALRobotPoseProxy::getPoseNamesto match to the posture name)