#include <x52_joyext.h>
Public Member Functions | |
void | send_to_joystick () |
X52_JoyExt (ros::NodeHandle &n) | |
virtual | ~X52_JoyExt () |
Private Member Functions | |
void | cb_brighnessLED (const std_msgs::UInt8ConstPtr &msg) |
void | cb_brighnessMFD (const std_msgs::UInt8ConstPtr &msg) |
void | cb_date (const x52_joyext::x52_dateConstPtr &msg) |
void | cb_leds (const x52_joyext::x52_led_colorConstPtr &msg) |
void | cb_mfd_text (const x52_joyext::x52_mfdConstPtr &msg) |
void | cb_time (const x52_joyext::x52_timeConstPtr &msg) |
void | setLEDs (uint8_t inValue, uint8_t *red, uint8_t *green, bool *update) |
Private Attributes | |
uint8_t | brightnessLED |
uint8_t | brightnessMFD |
uint8_t | Date [3] |
uint8_t | LED [19] |
ros::Rate * | loop_rate |
std::string | mfd_content [3] |
ros::NodeHandle & | nh |
uint8_t | Offset [2] |
uint8_t | Offset_24 [2] |
uint8_t | Offset_Inv [2] |
ros::Subscriber | subbrightnessLED |
ros::Subscriber | subbrightnessMFD |
ros::Subscriber | subdate |
ros::Subscriber | subleds |
ros::Subscriber | submfd_text |
ros::Subscriber | subtime |
uint8_t | Time [2] |
uint8_t | Time_24 |
bool | updateBrightnessLED |
bool | updateBrightnessMFD |
bool | updateDate |
bool | updateLED [10] |
bool | updateLED_b |
bool | updateMFD [3] |
bool | updateMFD_b |
bool | updateOffset [2] |
bool | updateTime |
Definition at line 44 of file x52_joyext.h.
Definition at line 18 of file x52_joyext.cpp.
X52_JoyExt::~X52_JoyExt | ( | ) | [virtual] |
Definition at line 64 of file x52_joyext.cpp.
void X52_JoyExt::cb_brighnessLED | ( | const std_msgs::UInt8ConstPtr & | msg | ) | [private] |
Definition at line 179 of file x52_joyext.cpp.
void X52_JoyExt::cb_brighnessMFD | ( | const std_msgs::UInt8ConstPtr & | msg | ) | [private] |
Definition at line 173 of file x52_joyext.cpp.
void X52_JoyExt::cb_date | ( | const x52_joyext::x52_dateConstPtr & | msg | ) | [private] |
Definition at line 138 of file x52_joyext.cpp.
void X52_JoyExt::cb_leds | ( | const x52_joyext::x52_led_colorConstPtr & | msg | ) | [private] |
Definition at line 69 of file x52_joyext.cpp.
void X52_JoyExt::cb_mfd_text | ( | const x52_joyext::x52_mfdConstPtr & | msg | ) | [private] |
Definition at line 90 of file x52_joyext.cpp.
void X52_JoyExt::cb_time | ( | const x52_joyext::x52_timeConstPtr & | msg | ) | [private] |
Definition at line 146 of file x52_joyext.cpp.
void X52_JoyExt::send_to_joystick | ( | ) |
Definition at line 188 of file x52_joyext.cpp.
void X52_JoyExt::setLEDs | ( | uint8_t | inValue, |
uint8_t * | red, | ||
uint8_t * | green, | ||
bool * | update | ||
) | [inline, private] |
Definition at line 80 of file x52_joyext.h.
uint8_t X52_JoyExt::brightnessLED [private] |
Definition at line 70 of file x52_joyext.h.
uint8_t X52_JoyExt::brightnessMFD [private] |
Definition at line 69 of file x52_joyext.h.
uint8_t X52_JoyExt::Date[3] [private] |
Definition at line 63 of file x52_joyext.h.
uint8_t X52_JoyExt::LED[19] [private] |
Definition at line 61 of file x52_joyext.h.
ros::Rate* X52_JoyExt::loop_rate [private] |
Definition at line 47 of file x52_joyext.h.
std::string X52_JoyExt::mfd_content[3] [private] |
Definition at line 62 of file x52_joyext.h.
ros::NodeHandle& X52_JoyExt::nh [private] |
Definition at line 46 of file x52_joyext.h.
uint8_t X52_JoyExt::Offset[2] [private] |
Definition at line 66 of file x52_joyext.h.
uint8_t X52_JoyExt::Offset_24[2] [private] |
Definition at line 67 of file x52_joyext.h.
uint8_t X52_JoyExt::Offset_Inv[2] [private] |
Definition at line 68 of file x52_joyext.h.
ros::Subscriber X52_JoyExt::subbrightnessLED [private] |
Definition at line 78 of file x52_joyext.h.
ros::Subscriber X52_JoyExt::subbrightnessMFD [private] |
Definition at line 77 of file x52_joyext.h.
ros::Subscriber X52_JoyExt::subdate [private] |
Definition at line 75 of file x52_joyext.h.
ros::Subscriber X52_JoyExt::subleds [private] |
Definition at line 73 of file x52_joyext.h.
ros::Subscriber X52_JoyExt::submfd_text [private] |
Definition at line 74 of file x52_joyext.h.
ros::Subscriber X52_JoyExt::subtime [private] |
Definition at line 76 of file x52_joyext.h.
uint8_t X52_JoyExt::Time[2] [private] |
Definition at line 65 of file x52_joyext.h.
uint8_t X52_JoyExt::Time_24 [private] |
Definition at line 64 of file x52_joyext.h.
bool X52_JoyExt::updateBrightnessLED [private] |
Definition at line 58 of file x52_joyext.h.
bool X52_JoyExt::updateBrightnessMFD [private] |
Definition at line 57 of file x52_joyext.h.
bool X52_JoyExt::updateDate [private] |
Definition at line 54 of file x52_joyext.h.
bool X52_JoyExt::updateLED[10] [private] |
Definition at line 50 of file x52_joyext.h.
bool X52_JoyExt::updateLED_b [private] |
Definition at line 51 of file x52_joyext.h.
bool X52_JoyExt::updateMFD[3] [private] |
Definition at line 52 of file x52_joyext.h.
bool X52_JoyExt::updateMFD_b [private] |
Definition at line 53 of file x52_joyext.h.
bool X52_JoyExt::updateOffset[2] [private] |
Definition at line 56 of file x52_joyext.h.
bool X52_JoyExt::updateTime [private] |
Definition at line 55 of file x52_joyext.h.