Public Member Functions | Public Attributes | List of all members
teleop_twist_joy::TeleopTwistJoy::Impl Struct Reference

Public Member Functions

void joyCallback (const sensor_msgs::Joy::ConstPtr &joy)
void sendCmdVelMsg (const sensor_msgs::Joy::ConstPtr &joy_msg, const std::string &which_map)

Public Attributes

std::map< std::string, int > axis_angular_map
std::map< std::string, int > axis_linear_map
ros::Publisher cmd_vel_pub
int enable_button
int enable_turbo_button
ros::Subscriber joy_sub
std::map< std::string, std::map< std::string, double > > scale_angular_map
std::map< std::string, std::map< std::string, double > > scale_linear_map
bool sent_disable_msg

Detailed Description

Internal members of class. This is the pimpl idiom, and allows more flexibility in adding parameters later without breaking ABI compatibility, for robots which link TeleopTwistJoy directly into base nodes.

Definition at line 42 of file teleop_twist_joy.cpp.

Member Function Documentation

void teleop_twist_joy::TeleopTwistJoy::Impl::joyCallback ( const sensor_msgs::Joy::ConstPtr &  joy)

Definition at line 157 of file teleop_twist_joy.cpp.

void teleop_twist_joy::TeleopTwistJoy::Impl::sendCmdVelMsg ( const sensor_msgs::Joy::ConstPtr &  joy_msg,
const std::string &  which_map 

Definition at line 140 of file teleop_twist_joy.cpp.

Member Data Documentation

std::map<std::string, int> teleop_twist_joy::TeleopTwistJoy::Impl::axis_angular_map

Definition at line 56 of file teleop_twist_joy.cpp.

std::map<std::string, int> teleop_twist_joy::TeleopTwistJoy::Impl::axis_linear_map

Definition at line 53 of file teleop_twist_joy.cpp.

ros::Publisher teleop_twist_joy::TeleopTwistJoy::Impl::cmd_vel_pub

Definition at line 48 of file teleop_twist_joy.cpp.

int teleop_twist_joy::TeleopTwistJoy::Impl::enable_button

Definition at line 50 of file teleop_twist_joy.cpp.

int teleop_twist_joy::TeleopTwistJoy::Impl::enable_turbo_button

Definition at line 51 of file teleop_twist_joy.cpp.

ros::Subscriber teleop_twist_joy::TeleopTwistJoy::Impl::joy_sub

Definition at line 47 of file teleop_twist_joy.cpp.

std::map< std::string, std::map<std::string, double> > teleop_twist_joy::TeleopTwistJoy::Impl::scale_angular_map

Definition at line 57 of file teleop_twist_joy.cpp.

std::map< std::string, std::map<std::string, double> > teleop_twist_joy::TeleopTwistJoy::Impl::scale_linear_map

Definition at line 54 of file teleop_twist_joy.cpp.

bool teleop_twist_joy::TeleopTwistJoy::Impl::sent_disable_msg

Definition at line 59 of file teleop_twist_joy.cpp.

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

Author(s): Mike Purvis
autogenerated on Thu Nov 26 2020 04:02:55