Public Member Functions | Private Member Functions | Private Attributes | List of all members
yocs_joyop::JoyOp Class Reference

Public Member Functions

 JoyOp ()
 

Private Member Functions

void joyCallback (const sensor_msgs::Joy::ConstPtr &joy)
 
void publish ()
 

Private Attributes

double a_scale_
 
int angular_
 
int deadman_button_
 
bool deadman_pressed_
 
int disable_button_
 
bool disable_pressed_
 
ros::Publisher disable_pub_
 
int enable_button_
 
bool enable_pressed_
 
ros::Publisher enable_pub_
 
int enabled_
 
ros::Subscriber joy_sub_
 
double l_scale_
 
geometry_msgs::Twist last_published_
 
int linear_
 
ros::NodeHandle nh_
 
ros::NodeHandle ph_
 
boost::mutex publish_mutex_
 
double spin_freq_
 
ros::Timer timer_
 
ros::Publisher vel_pub_
 
int wait_for_connection_
 
bool zero_twist_published_
 

Detailed Description

Definition at line 19 of file joyop.cpp.

Constructor & Destructor Documentation

yocs_joyop::JoyOp::JoyOp ( )

Definition at line 47 of file joyop.cpp.

Member Function Documentation

void yocs_joyop::JoyOp::joyCallback ( const sensor_msgs::Joy::ConstPtr &  joy)
private

Definition at line 136 of file joyop.cpp.

void yocs_joyop::JoyOp::publish ( )
private

Definition at line 147 of file joyop.cpp.

Member Data Documentation

double yocs_joyop::JoyOp::a_scale_
private

Definition at line 34 of file joyop.cpp.

int yocs_joyop::JoyOp::angular_
private

Definition at line 31 of file joyop.cpp.

int yocs_joyop::JoyOp::deadman_button_
private

Definition at line 33 of file joyop.cpp.

bool yocs_joyop::JoyOp::deadman_pressed_
private

Definition at line 41 of file joyop.cpp.

int yocs_joyop::JoyOp::disable_button_
private

Definition at line 33 of file joyop.cpp.

bool yocs_joyop::JoyOp::disable_pressed_
private

Definition at line 41 of file joyop.cpp.

ros::Publisher yocs_joyop::JoyOp::disable_pub_
private

Definition at line 35 of file joyop.cpp.

int yocs_joyop::JoyOp::enable_button_
private

Definition at line 33 of file joyop.cpp.

bool yocs_joyop::JoyOp::enable_pressed_
private

Definition at line 41 of file joyop.cpp.

ros::Publisher yocs_joyop::JoyOp::enable_pub_
private

Definition at line 35 of file joyop.cpp.

int yocs_joyop::JoyOp::enabled_
private

Definition at line 31 of file joyop.cpp.

ros::Subscriber yocs_joyop::JoyOp::joy_sub_
private

Definition at line 36 of file joyop.cpp.

double yocs_joyop::JoyOp::l_scale_
private

Definition at line 34 of file joyop.cpp.

geometry_msgs::Twist yocs_joyop::JoyOp::last_published_
private

Definition at line 38 of file joyop.cpp.

int yocs_joyop::JoyOp::linear_
private

Definition at line 31 of file joyop.cpp.

ros::NodeHandle yocs_joyop::JoyOp::nh_
private

Definition at line 28 of file joyop.cpp.

ros::NodeHandle yocs_joyop::JoyOp::ph_
private

Definition at line 28 of file joyop.cpp.

boost::mutex yocs_joyop::JoyOp::publish_mutex_
private

Definition at line 39 of file joyop.cpp.

double yocs_joyop::JoyOp::spin_freq_
private

Definition at line 34 of file joyop.cpp.

ros::Timer yocs_joyop::JoyOp::timer_
private

Definition at line 43 of file joyop.cpp.

ros::Publisher yocs_joyop::JoyOp::vel_pub_
private

Definition at line 35 of file joyop.cpp.

int yocs_joyop::JoyOp::wait_for_connection_
private

Time to wait for enable/disable topics in seconds (-1 to not wait).

Definition at line 42 of file joyop.cpp.

bool yocs_joyop::JoyOp::zero_twist_published_
private

Definition at line 41 of file joyop.cpp.


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


yocs_joyop
Author(s): Marcus Liebhardt
autogenerated on Mon Jun 10 2019 15:53:33