module documentation

Undocumented

Constant BLUE Undocumented
Constant GREEN Undocumented
Constant NONE Undocumented
Constant ORANGE Undocumented
Constant PURPLE Undocumented
Constant RED Undocumented
Constant ROBOT_ANIM_TO_STRING Undocumented
Constant ROBOT_STATUS_TO_ANIM Undocumented
Constant WHITE Undocumented
Constant WIFI_BUTTON_STATUS_TO_ANIM Undocumented
Constant YELLOW Undocumented
BLUE =

Undocumented

Value
ColorRGBA(15, 50, 255, 0)
GREEN =

Undocumented

Value
ColorRGBA(50, 255, 0, 0)
NONE =

Undocumented

Value
ColorRGBA(0, 0, 0, 0)
ORANGE =

Undocumented

Value
ColorRGBA(255, 50, 0, 0)
PURPLE =

Undocumented

Value
ColorRGBA(153, 51, 153, 0)
RED =

Undocumented

Value
ColorRGBA(255, 0, 0, 0)
ROBOT_ANIM_TO_STRING =

Undocumented

Value
{LedRingAnimation.NONE: 'None',
 LedRingAnimation.SOLID: 'Solid',
 LedRingAnimation.FLASHING: 'Flashing',
 LedRingAnimation.ALTERNATE: 'Alternate',
 LedRingAnimation.CHASE: 'Chase',
 LedRingAnimation.COLOR_WIPE: 'Color wipe',
 LedRingAnimation.RAINBOW: 'Rainbow',
...
ROBOT_STATUS_TO_ANIM =

Undocumented

Value
{RobotStatus.REBOOT: [LedRingAnimation.SOLID, WHITE],
 RobotStatus.SHUTDOWN: [LedRingAnimation.NONE, NONE],
 RobotStatus.FATAL_ERROR: [LedRingAnimation.SOLID, RED],
 RobotStatus.MOTOR_ERROR: [LedRingAnimation.FLASHING, RED],
 RobotStatus.COLLISION: [LedRingAnimation.FLASHING, ORANGE],
 RobotStatus.USER_PROGRAM_ERROR: [LedRingAnimation.BREATH, ORANGE],
 RobotStatus.UNKNOWN: [LedRingAnimation.NONE, NONE],
...
WHITE =

Undocumented

Value
ColorRGBA(255, 255, 255, 0)
WIFI_BUTTON_STATUS_TO_ANIM =

Undocumented

Value
{WifiButtonStatus.LONG_PRESS: [LedRingAnimation.FLASHING, WHITE],
 WifiButtonStatus.VERY_LONG_PRESS: [LedRingAnimation.FLASHING, PURPLE]}
YELLOW =

Undocumented

Value
ColorRGBA(255, 200, 0, 0)