#include <ros/ros.h>
#include <led_msgs/SetLEDs.h>
#include <led_msgs/LEDStateArray.h>
#include <ws281x/SetGamma.h>
#include <ws2811.h>
#include <ros/console.h>
#include <unordered_map>
#include <signal.h>
Go to the source code of this file.
|
void | cleanup (int signal) |
|
int | main (int argc, char **argv) |
|
void | publishLedState () |
|
bool | setGamma (ws281x::SetGamma::Request &req, ws281x::SetGamma::Response &resp) |
|
bool | setLeds (led_msgs::SetLEDs::Request &req, led_msgs::SetLEDs::Response &resp) |
|
◆ cleanup()
void cleanup |
( |
int |
signal | ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ publishLedState()
◆ setGamma()
bool setGamma |
( |
ws281x::SetGamma::Request & |
req, |
|
|
ws281x::SetGamma::Response & |
resp |
|
) |
| |
◆ setLeds()
bool setLeds |
( |
led_msgs::SetLEDs::Request & |
req, |
|
|
led_msgs::SetLEDs::Response & |
resp |
|
) |
| |
◆ LED_BLUE
constexpr uint32_t LED_BLUE = (0x01 << LED_BLUE_SHIFT) |
◆ LED_BLUE_MASK
constexpr uint32_t LED_BLUE_MASK = (0xFF << LED_BLUE_SHIFT) |
◆ LED_BLUE_SHIFT
constexpr uint32_t LED_BLUE_SHIFT = 0 |
◆ LED_GREEN
constexpr uint32_t LED_GREEN = (0x01 << LED_GREEN_SHIFT) |
◆ LED_GREEN_MASK
constexpr uint32_t LED_GREEN_MASK = (0xFF << LED_GREEN_SHIFT) |
◆ LED_GREEN_SHIFT
constexpr uint32_t LED_GREEN_SHIFT = 8 |
◆ LED_RED
constexpr uint32_t LED_RED = (0x01 << LED_RED_SHIFT) |
◆ LED_RED_MASK
constexpr uint32_t LED_RED_MASK = (0xFF << LED_RED_SHIFT) |
◆ LED_RED_SHIFT
constexpr uint32_t LED_RED_SHIFT = 16 |
◆ led_state_pub
◆ led_string
◆ LED_WHITE
constexpr uint32_t LED_WHITE = (0x01 << LED_WHITE_SHIFT) |
◆ LED_WHITE_MASK
constexpr uint32_t LED_WHITE_MASK = (0xFF << LED_WHITE_SHIFT) |
◆ LED_WHITE_SHIFT
constexpr uint32_t LED_WHITE_SHIFT = 24 |
◆ strip_state
led_msgs::LEDStateArray strip_state |
◆ ws2811_types
std::unordered_map<std::string, uint64_t> ws2811_types |
Initial value:= {
}
#define SK6812_STRIP_GBRW
#define SK6812_STRIP_RBGW
#define SK6812_STRIP_BRGW
#define SK6812_STRIP_GRBW
#define SK6812_STRIP_BGRW
#define SK6812_STRIP_RGBW
Definition at line 40 of file ws281x_node.cpp.