Skip to main content

get_fall_down_state

Signature:

BoosterRobot.get_fall_down_state() -> FallDownState

Description:

Get the robot fall detection state.

Parameters:

No parameters.

Returns:

FallDownState, see "Sensor and State Data / FallDownState"

Raises:

DataNotReadyError: Fall state not received within the timeout period.

Example:

from boosteros.robots.booster import BoosterRobot

robot = BoosterRobot()
state = robot.get_fall_down_state()
print(state.state, state.recoverable)
# Example output: normal False