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