cozmo.lights

Helper routines for dealing with Cozmo’s lights and colors.

Module Attributes

green

Green color instance.

red

Red color instance.

blue

Blue color instance.

white

White color instance.

off

instance representing no color (LEDs off).

green_light

A steady green colored LED light.

red_light

A steady red colored LED light.

blue_light

A steady blue colored LED light.

white_light

A steady white colored LED light.

off_light

A steady off (non-illuminated LED light).

Classes

Color([int_color, rgb, name])

A Color to be used with a Light.

Light([on_color, off_color, on_period_ms, ...])

Lights are used with LightCubes and Cozmo's backpack.