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.
bool ALMotionProxy::getFallManagerEnabled()

Allow to know if the fall manager reflex is activated.

Returns:Return true is the fall manager reflex is activated.

Events

Event: "robotIsFalling"
callback(std::string eventName, bool val, std::string subscriberIdentifier)

Raised when the fall manager process starts.

Parameters:
  • eventName (std::string) – “robotIsFalling”
  • val – always True.
  • subscriberIdentifier (std::string) –
Event: "robotHasFallen"
callback(std::string eventName, bool val, std::string subscriberIdentifier)

Raised when the fall manager process finishes.

Parameters:
  • eventName (std::string) – “robotHasFallen”
  • val – always True.
  • subscriberIdentifier (std::string) –