Go to the documentation of this file.
18 #ifndef SEQUENCEMODE_H
19 #define SEQUENCEMODE_H
35 SequenceMode(std::vector<seq_t> sequences,
int priority = 0,
double freq = 0.25,
int pulses = 0,
double timeout = 0)
99 std::string
getName(){
return std::string(
"SequenceMode"); }
149 return a * (1 - t) + b * t;
float linearInterpolate(float a, float b, float t)
SequenceMode(std::vector< seq_t > sequences, int priority=0, double freq=0.25, int pulses=0, double timeout=0)
std::vector< seq_t > _seqences
color::rgba interpolateColor(color::rgba start, color::rgba goal, float t)
static const unsigned int UPDATE_RATE_HZ
static void rgb2hsv(float r, float g, float b, float &h, float &s, float &v)
boost::signals2::signal< void(color::rgba color)> m_sigColorReady
static void hsv2rgb(float h, float s, float v, float &r, float &g, float &b)
cob_light
Author(s): Benjamin Maidel
autogenerated on Wed Nov 8 2023 03:47:37