h4r_x52_joyext
LED and MFD Control for Saitek X52 Pro
|
Classes | |
class | PairSortMod |
Public Member Functions | |
PublishLED (ros::NodeHandle *n, std::string setup, int led, int axis, bool axis_or_button) | |
~PublishLED () | |
void | progressValue (T value) |
void | JoyCallback (const sensor_msgs::JoyConstPtr &msg) |
template<class MSGPTR > | |
void | Callback (const MSGPTR &msg) |
template<class MSG , class MSGPTR > | |
void | start () |
void | startJoy () |
Private Types | |
enum | { OFF ='O', GREEN ='G', YELLOW ='Y', RED ='R' } |
Private Attributes | |
std::set< PairSortMod > | ranges |
ros::NodeHandle * | n |
ros::Publisher | pub |
int | led |
bool | axis_or_button |
int | axis_button |
ros::Subscriber | sub |
Definition at line 155 of file value2buttonColor.cpp.
|
private |
Enumerator | |
---|---|
OFF | |
GREEN | |
YELLOW | |
RED |
Definition at line 157 of file value2buttonColor.cpp.
|
inline |
Definition at line 185 of file value2buttonColor.cpp.
References PublishLED< T >::led, PublishLED< T >::pub, and PublishLED< T >::ranges.
|
inline |
Definition at line 263 of file value2buttonColor.cpp.
|
inline |
Definition at line 307 of file value2buttonColor.cpp.
References PublishLED< T >::progressValue().
|
inline |
Definition at line 280 of file value2buttonColor.cpp.
References PublishLED< T >::axis_button, PublishLED< T >::axis_or_button, and PublishLED< T >::progressValue().
|
inline |
Definition at line 266 of file value2buttonColor.cpp.
References PublishLED< T >::led, PublishLED< T >::pub, and PublishLED< T >::ranges.
Referenced by PublishLED< T >::Callback(), and PublishLED< T >::JoyCallback().
Definition at line 315 of file value2buttonColor.cpp.
References PublishLED< T >::n, and PublishLED< T >::sub.
|
inline |
Definition at line 321 of file value2buttonColor.cpp.
References PublishLED< T >::n, and PublishLED< T >::sub.
Referenced by main().
|
private |
Definition at line 180 of file value2buttonColor.cpp.
Referenced by PublishLED< T >::JoyCallback().
|
private |
Definition at line 179 of file value2buttonColor.cpp.
Referenced by PublishLED< T >::JoyCallback().
|
private |
Definition at line 178 of file value2buttonColor.cpp.
Referenced by PublishLED< T >::progressValue(), and PublishLED< T >::PublishLED().
|
private |
Definition at line 176 of file value2buttonColor.cpp.
Referenced by PublishLED< T >::start(), and PublishLED< T >::startJoy().
|
private |
Definition at line 177 of file value2buttonColor.cpp.
Referenced by PublishLED< T >::progressValue(), and PublishLED< T >::PublishLED().
|
private |
Definition at line 175 of file value2buttonColor.cpp.
Referenced by PublishLED< T >::progressValue(), and PublishLED< T >::PublishLED().
|
private |
Definition at line 181 of file value2buttonColor.cpp.
Referenced by PublishLED< T >::start(), and PublishLED< T >::startJoy().