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

#include <teleop_wiimote.h>

Public Member Functions

 TeleopWiimote ()
 

Private Member Functions

void joyCallback (const sensor_msgs::Joy::ConstPtr &joy)
 
void rumbleFeedback (int useconds)
 
void setLEDFeedback (double value)
 
void wiimoteStateCallback (const wiimote::State::ConstPtr &wiistate)
 

Private Attributes

double angular_z_max_velocity_
 
double angular_z_min_velocity_
 
bool dpad_in_use_ = false
 
ros::Publisher joy_pub_
 
ros::Subscriber joy_sub_
 
double linear_x_max_velocity_
 
double linear_x_min_velocity_
 
bool njoy_in_use_ = false
 
double percent_angular_throttle_
 
double percent_linear_throttle_
 
ros::Publisher vel_pub_
 
ros::Subscriber wiimote_sub_
 

Detailed Description

Definition at line 42 of file teleop_wiimote.h.

Constructor & Destructor Documentation

TeleopWiimote::TeleopWiimote ( )

Definition at line 29 of file teleop_wiimote.cpp.

Member Function Documentation

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

Definition at line 190 of file teleop_wiimote.cpp.

void TeleopWiimote::rumbleFeedback ( int  useconds)
private

Definition at line 169 of file teleop_wiimote.cpp.

void TeleopWiimote::setLEDFeedback ( double  value)
private

Definition at line 123 of file teleop_wiimote.cpp.

void TeleopWiimote::wiimoteStateCallback ( const wiimote::State::ConstPtr &  wiistate)
private

Definition at line 287 of file teleop_wiimote.cpp.

Member Data Documentation

double TeleopWiimote::angular_z_max_velocity_
private

Definition at line 55 of file teleop_wiimote.h.

double TeleopWiimote::angular_z_min_velocity_
private

Definition at line 56 of file teleop_wiimote.h.

bool TeleopWiimote::dpad_in_use_ = false
private

Definition at line 66 of file teleop_wiimote.h.

ros::Publisher TeleopWiimote::joy_pub_
private

Definition at line 62 of file teleop_wiimote.h.

ros::Subscriber TeleopWiimote::joy_sub_
private

Definition at line 63 of file teleop_wiimote.h.

double TeleopWiimote::linear_x_max_velocity_
private

Definition at line 53 of file teleop_wiimote.h.

double TeleopWiimote::linear_x_min_velocity_
private

Definition at line 54 of file teleop_wiimote.h.

bool TeleopWiimote::njoy_in_use_ = false
private

Definition at line 67 of file teleop_wiimote.h.

double TeleopWiimote::percent_angular_throttle_
private

Definition at line 59 of file teleop_wiimote.h.

double TeleopWiimote::percent_linear_throttle_
private

Definition at line 58 of file teleop_wiimote.h.

ros::Publisher TeleopWiimote::vel_pub_
private

Definition at line 61 of file teleop_wiimote.h.

ros::Subscriber TeleopWiimote::wiimote_sub_
private

Definition at line 64 of file teleop_wiimote.h.


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


wiimote
Author(s): Andreas Paepcke, Melonee Wise, Mark Horn
autogenerated on Fri Jun 7 2019 22:01:33