Fall manager API

Overview | API

See also


Event list

Methods

void ALMotionProxy::setFallManagerEnabled(const bool& enable)

Enable or Disable the fall manager reflex.

If the disactivation of the fall manager is not allowed, it’s not possible to disable this reflex and an exception will be throw. See the fall manager overview for more details.

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: "robotHasFallen"
callback(std::string eventName, bool val, std::string subscriberIdentifier)

Raised when the fall process have been activated

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