anki_vector.lights

Helper routines for dealing with Vector’s Cube lights and colors.

Module Attributes

MAX_COLOR_PROFILE

Color profile to get the maximum possible brightness out of each LED.

green_light

A steady green colored LED light.

red_light

A steady red colored LED light.

blue_light

A steady blue colored LED light.

cyan_light

A steady cyan colored LED light.

magenta_light

A steady magenta colored LED light.

yellow_light

A steady yellow colored LED light.

white_light

A steady white colored LED light.

off_light

A steady off (non-illuminated LED light).

Functions

package_request_params(lights, color_profile)

Classes

ColorProfile(red_multiplier, ...)

Applies transforms to make Vector's Cube lights and colors appear as intended, by limiting maximum channel intensity.

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

Lights are used with Vector's Cube.