7#ifndef CCI_DIRECTIONAL_LEDS_ACTUATOR_H
8#define CCI_DIRECTIONAL_LEDS_ACTUATOR_H
11 class CCI_DirectionalLEDsActuator;
14#include <argos3/core/control_interface/ci_actuator.h>
15#include <argos3/core/utility/datatypes/color.h>
63 virtual void SetAllColors(
const std::vector<CColor>& c_colors);
unsigned int UInt32
32-bit unsigned integer.
unsigned char UInt8
8-bit unsigned integer.
The namespace containing all the ARGoS related code.
The basic interface for all actuators.
virtual void CreateLuaState(lua_State *pt_lua_state)=0
Creates the Lua state for this actuator.
size_t GetNumLEDs() const
Returns the number of LEDs.
virtual void SetSingleColor(UInt32 un_led_number, const CColor &c_color)
Sets the color of a single LED.
std::vector< CColor > m_tSettings
std::vector< CColor > m_tInitSettings
virtual void SetSingleIntensity(UInt32 un_led_number, UInt8 un_intensity)
Sets the intensity of a single LED in the ring.
CCI_DirectionalLEDsActuator()
virtual void SetAllIntensities(UInt8 un_intensity)
Sets the intensity of all the LEDs in the ring.
virtual void SetAllColors(const CColor &c_color)
Sets the color of the whole LED ring.
virtual ~CCI_DirectionalLEDsActuator()