Go to the documentation of this file.
36 #include <fadecandy_msgs/LEDArray.h>
40 #include "../fadecandy_driver.h"
FadecandyDriver driver_
driver_ Fadecandy driver
void run()
run Listen to LED messages and publishes diagnostic of the driver
void setLedsCallback(const fadecandy_msgs::LEDArrayConstPtr &msg)
double restart_patience_
restart_patience_ Restart patience time
ros::Subscriber led_subscriber_
led_subscriber_ LED messages subscriber
diagnostic_updater::Updater diagnostic_updater_
diagnostic_updater_ Diagnostic updater
void connectTimerCallback(const ros::TimerEvent &e)
ros::Timer diagnostics_timer_
timer_ Periodic timer for updating the diagnostics
FadecandyDriverROS(double restart_patience)
FadecandyDriverRos fadecandy driver ROS wrapper.
void diagnosticsCallback(diagnostic_updater::DiagnosticStatusWrapper &diagnostic_status)
diagnosticsCallback Diagnostics callback
ros::Timer connect_timer_
connection_check_timer_ Periodic timer for checking the connection
void diagnosticsTimerCallback(const ros::TimerEvent &e)
void setupConnection()
setupConnection Connect the driver to the device