Class Sequence

Inheritance Relationships

Derived Types

Class Documentation

class Sequence

Subclassed by clearpath_lighting::BlinkSequence, clearpath_lighting::PulseSequence, clearpath_lighting::SolidSequence

Public Functions

clearpath_platform_msgs::msg::Lights getLightsMsg()
void reset()
Sequence()

Public Static Functions

static LightingState fillLightingState(ColorHSV color, clearpath_lighting::Platform platform)
static LightingState fillFrontRearLightingState(ColorHSV front_color, ColorHSV rear_color, clearpath_lighting::Platform platform)
static LightingState fillLeftRightLightingState(ColorHSV left_color, ColorHSV right_color, clearpath_lighting::Platform platform)
static LightingState fillOppositeCornerLightingState(ColorHSV front_left_color, ColorHSV front_right_color, clearpath_lighting::Platform platform)

Protected Attributes

LightingSequence sequence_
uint16_t current_state_
uint16_t num_states_