Skip to main content

list_actions

Signature:

BoosterRobot.list_actions() -> list[ActionInfo]

Description:

Get the list of predefined actions supported by the current robot; the returned action IDs can be passed to do_action() for execution.

Parameters:

No parameters.

Returns:

list[ActionInfo], see "Robot Meta Information / ActionInfo"

Raises:

None.

Example:

from boosteros.robots.booster import BoosterRobot

robot = BoosterRobot()
for action in robot.list_actions():
print(action.id, action.type, action.interruptible)
# Example output: hand_shake upper_body True