28 #include <std_msgs/UInt8.h>
29 #include <boost/thread/mutex.hpp>
32 #include "h4r_x52_joyext/x52_date.h"
33 #include "h4r_x52_joyext/x52_time.h"
34 #include "h4r_x52_joyext/x52_led_color.h"
35 #include "h4r_x52_joyext/x52_mfd.h"
41 #ifndef X52JOYEXT_HPP_
42 #define X52JOYEXT_HPP_
80 void setLEDs(uint8_t inValue, uint8_t *red, uint8_t *green,
bool *update)
84 case h4r_x52_joyext::x52_led_color::NO_STATUS_CHANGE:
87 case h4r_x52_joyext::x52_led_color::OFF:
91 case h4r_x52_joyext::x52_led_color::RED:
95 case h4r_x52_joyext::x52_led_color::GREEN:
99 case h4r_x52_joyext::x52_led_color::YELLOW:
104 ROS_WARN(
"WRONG VALUE (%i) FOR LED FOUND! Value must be in the range of 0-4",inValue);
111 void cb_leds(
const h4r_x52_joyext::x52_led_colorConstPtr &msg);
112 void cb_mfd_text(
const h4r_x52_joyext::x52_mfdConstPtr &msg);
113 void cb_date(
const h4r_x52_joyext::x52_dateConstPtr &msg);
114 void cb_time(
const h4r_x52_joyext::x52_timeConstPtr &msg);
ros::Subscriber subbrightnessLED
ros::Subscriber submfd_text
void cb_brighnessMFD(const std_msgs::UInt8ConstPtr &msg)
std::string mfd_content[3]
void cb_brighnessLED(const std_msgs::UInt8ConstPtr &msg)
X52_JoyExt(ros::NodeHandle &n)
void setLEDs(uint8_t inValue, uint8_t *red, uint8_t *green, bool *update)
void cb_mfd_text(const h4r_x52_joyext::x52_mfdConstPtr &msg)
void cb_date(const h4r_x52_joyext::x52_dateConstPtr &msg)
void cb_leds(const h4r_x52_joyext::x52_led_colorConstPtr &msg)
void cb_time(const h4r_x52_joyext::x52_timeConstPtr &msg)
ros::Subscriber subbrightnessMFD