Public Member Functions | Private Member Functions | Private Attributes | List of all members
JoystickMux Class Reference

Public Member Functions

 JoystickMux ()
 

Private Member Functions

void cbJoy (const sensor_msgs::Joy::Ptr msg)
 
void cbTimer (const ros::TimerEvent &e)
 
void cbTopic (const boost::shared_ptr< topic_tools::ShapeShifter const > &msg, int id)
 

Private Attributes

bool advertised_
 
int interrupt_button_
 
ros::Time last_joy_msg_
 
ros::NodeHandle nh_
 
ros::NodeHandle pnh_
 
ros::Publisher pub_topic_
 
int selected_
 
ros::Subscriber sub_joy_
 
ros::Subscriber sub_topics_ [2]
 
double timeout_
 
ros::Timer timer_
 

Detailed Description

Definition at line 37 of file joystick_mux.cpp.

Constructor & Destructor Documentation

JoystickMux::JoystickMux ( )
inline

Definition at line 109 of file joystick_mux.cpp.

Member Function Documentation

void JoystickMux::cbJoy ( const sensor_msgs::Joy::Ptr  msg)
inlineprivate

Definition at line 52 of file joystick_mux.cpp.

void JoystickMux::cbTimer ( const ros::TimerEvent e)
inlineprivate

Definition at line 100 of file joystick_mux.cpp.

void JoystickMux::cbTopic ( const boost::shared_ptr< topic_tools::ShapeShifter const > &  msg,
int  id 
)
inlineprivate

Definition at line 72 of file joystick_mux.cpp.

Member Data Documentation

bool JoystickMux::advertised_
private

Definition at line 49 of file joystick_mux.cpp.

int JoystickMux::interrupt_button_
private

Definition at line 47 of file joystick_mux.cpp.

ros::Time JoystickMux::last_joy_msg_
private

Definition at line 48 of file joystick_mux.cpp.

ros::NodeHandle JoystickMux::nh_
private

Definition at line 40 of file joystick_mux.cpp.

ros::NodeHandle JoystickMux::pnh_
private

Definition at line 41 of file joystick_mux.cpp.

ros::Publisher JoystickMux::pub_topic_
private

Definition at line 44 of file joystick_mux.cpp.

int JoystickMux::selected_
private

Definition at line 50 of file joystick_mux.cpp.

ros::Subscriber JoystickMux::sub_joy_
private

Definition at line 43 of file joystick_mux.cpp.

ros::Subscriber JoystickMux::sub_topics_[2]
private

Definition at line 42 of file joystick_mux.cpp.

double JoystickMux::timeout_
private

Definition at line 46 of file joystick_mux.cpp.

ros::Timer JoystickMux::timer_
private

Definition at line 45 of file joystick_mux.cpp.


The documentation for this class was generated from the following file:


joystick_interrupt
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:20:31