pepper.framework.backend.system.led module

class pepper.framework.backend.system.led.SystemLed[source]

Bases: pepper.framework.abstract.led.AbstractLed

Control Robot LEDs

off(leds)[source]

Switch LEDs off

Parameters:leds (List[Led]) – Which LEDs are affected
set(leds, rgb, duration)[source]

Set LEDs to Particular color (interpolating from its current color in ‘duration’ time)

Parameters:
  • leds (List[Led]) – Which LEDs are affected
  • rgb (Tuple[float, float, float]) – Which color to turn
  • duration (float) – How long to take switching this color