.. _reflexes-fall-manager-api: Fall manager API ++++++++++++++++ :ref:`Overview ` | API .. seealso:: - :ref:`naoqi-motion` ------------ Method list ----------- .. cpp:class:: ALMotionProxy * :cpp:func:`ALMotionProxy::setFallManagerEnabled` * :cpp:func:`ALMotionProxy::getFallManagerEnabled` Event list ----------- * :naoqi:event:`robotHasFallen` Methods ------- .. cpp:function:: 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 :ref:`overview ` for more details. :param enable: Enable or disable the fall manager reflex. .. cpp:function:: bool ALMotionProxy::getFallManagerEnabled() Allow to know if the fall manager reflex is activated. :return: Return true is the fall manager reflex is activated. Events ------ .. naoqi:event:: robotHasFallen(bool val) Raised when the fall process have been activated :param val: always True.