NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
signal_lights::SignalLights Class Reference

#include <signal_lights.h>

Public Member Functions

 SignalLights (const Device &i2c_dev)
 
virtual ~SignalLights ()
 
bool Set (uint8_t pos, uint8_t red, uint8_t green, uint8_t blue)
 
void SetAll (uint8_t red, uint8_t green, uint8_t blue)
 
double GetPollDuration (double rate)
 
bool Poll ()
 
std::string GetHash ()
 
std::string GetTime ()
 

Static Public Attributes

static constexpr double kRenderTime_secs_ = 50e-6
 

Constructor & Destructor Documentation

◆ SignalLights()

signal_lights::SignalLights::SignalLights ( const Device i2c_dev)
explicit

◆ ~SignalLights()

signal_lights::SignalLights::~SignalLights ( )
virtual

Member Function Documentation

◆ GetHash()

std::string signal_lights::SignalLights::GetHash ( )
inline

◆ GetPollDuration()

double signal_lights::SignalLights::GetPollDuration ( double  rate)

◆ GetTime()

std::string signal_lights::SignalLights::GetTime ( )
inline

◆ Poll()

bool signal_lights::SignalLights::Poll ( )

◆ Set()

bool signal_lights::SignalLights::Set ( uint8_t  pos,
uint8_t  red,
uint8_t  green,
uint8_t  blue 
)

◆ SetAll()

void signal_lights::SignalLights::SetAll ( uint8_t  red,
uint8_t  green,
uint8_t  blue 
)

Member Data Documentation

◆ kRenderTime_secs_

constexpr double signal_lights::SignalLights::kRenderTime_secs_ = 50e-6
staticconstexpr

The documentation for this class was generated from the following files: