Fall manager API¶
NAOqi Motion - Overview | API
Methods¶
-
void
ALMotionProxy::
setFallManagerEnabled
(const bool& enable)¶ Enable/disable the fall manager reflex, but only if allowed by the owner. If not allowed, an exception is thrown.
For further details, see: Deactivation of the safety reflexes.
Parameters: - enable – Enable or disable the fall manager reflex.
Events¶
-
Event:callback(std::string eventName, bool val, std::string subscriberIdentifier)¶
"ALMotion/RobotIsFalling"
Raised when the fall manager process starts.
Parameters: - eventName (std::string) – “ALMotion/RobotIsFalling”
- val – always True.
- subscriberIdentifier (std::string) –
-
Event:callback(std::string eventName, bool val, std::string subscriberIdentifier)¶
"robotHasFallen"
Raised when the fall manager process finishes.
Parameters: - eventName (std::string) – “robotHasFallen”
- val – always True.
- subscriberIdentifier (std::string) –
-
Event:callback(std::string eventName, bool val, std::string subscriberIdentifier)¶
"ALMotion/RobotIsStand"
Raised when the robot has detected, or no longer detects that its weight is supported by the feet.
Parameters: - eventName (std::string) – “ALMotion/RobotIsStand”
- val – True if the weight is supported by the feet, false otherwise.
- subscriberIdentifier (std::string) –