NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
signal_lights.h File Reference
#include <functional>
#include <string>
#include "../custom_i2c/i2c.h"
Include dependency graph for signal_lights.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  signal_lights::LEDC_COMMAND_COLOR
 
union  signal_lights::LEDC_COMMAND_INSTRUCTION
 
union  signal_lights::LEDC_TELEMETRY_STATUS
 
class  signal_lights::Device
 
class  signal_lights::SignalLights
 

Namespaces

 signal_lights
 

Macros

#define NUM_LEDS   44
 
#define NUM_BLOCKS   4
 
#define BLOCK_SIZE   11
 

Enumerations

enum  signal_lights::LEDC_MODE { signal_lights::LEDC_MODE_SHUTDOWN = 0, signal_lights::LEDC_MODE_NOMINAL, signal_lights::LEDC_MODE_INIT }
 
enum  signal_lights::LEDC_STATE {
  signal_lights::LEDC_STATE_NO_MODE_CHANGE = 0, signal_lights::LEDC_STATE_OOR_STATE, signal_lights::LEDC_STATE_MODE_CHANGE_TO_SHUTDOWN, signal_lights::LEDC_STATE_MODE_CHANGE_TO_NOMINAL,
  signal_lights::LEDC_STATE_TIMEOUT_INDUCED_SHUTDOWN, signal_lights::LEDC_STATE_RESERVED, signal_lights::LEDC_STATE_PIC_STARTUP, signal_lights::LEDC_STATE_ERROR
}
 
enum  signal_lights::LEDC_ERROR { signal_lights::LEDC_ERROR_NONE = 0, signal_lights::LEDC_ERROR_PACKET_CRC, signal_lights::LEDC_ERROR_PACKET_DROPPED, signal_lights::LEDC_ERROR_OVERRUN }
 
enum  signal_lights::METADATA_TYPE { signal_lights::METADATA_TYPE_VERSION = 0x1, signal_lights::METADATA_TYPE_INVALID = 0x0 }
 

Functions

struct signal_lights::__attribute__ ((packed))
 

Variables

uint8_t red
 
uint8_t green
 
uint8_t blue
 
uint8_t ignore
 
uint8_t render
 
uint8_t mask
 
uint8_t range
 
uint8_t mode
 
 signal_lights::LEDC_COMMAND
 
uint8_t control
 
uint8_t metadata
 
uint8_t error
 
uint8_t state
 
 signal_lights::LEDC_TELEMETRY
 
 signal_lights::METADATA_VERSION
 

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   11

◆ NUM_BLOCKS

#define NUM_BLOCKS   4

◆ NUM_LEDS

#define NUM_LEDS   44

Variable Documentation

◆ blue

uint8_t blue

◆ control

uint8_t control

◆ error

uint8_t error

◆ green

uint8_t green

◆ ignore

uint8_t ignore

◆ mask

uint8_t mask

◆ metadata

uint8_t metadata

◆ mode

uint8_t mode

◆ range

uint8_t range

◆ red

uint8_t red

◆ render

uint8_t render

◆ state

uint8_t state