Switch Off
Switching a LED or group of LEDs to minimum intensity can be done with the "off" command.
Prototype
/** * Set a LED or Group to minimum intensity * @param pName The name of the LED or Group. */ void off(const std::string& pName);
Python:
# Replace "127.0.0.1" with the IP of your NAO leds = ALProxy("ALLeds","127.0.0.1",9559) # All LEDs off leds.off("AllLeds")
C++:
ALPtr<ALLedsProxy> leds = ALPtr<ALLedsProxy>(new ALLedsProxy(getParentBroker())); // All LEDs off leds->off("AllLeds");