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

Public Member Functions

void joySpacenavCallback (const sensor_msgs::Joy::ConstPtr &msg)
 Receive Joy from a 6d input device (e.g. 3DConnexion SpaceNavigator) More...
 
 SpacenavCommander ()
 
void timerCallback (const ros::TimerEvent &)
 
void twistSpacenavCallback (const geometry_msgs::Twist::ConstPtr &msg)
 Receive Twist from a 6d input device (e.g. 3DConnexion SpaceNavigator) More...
 
 ~SpacenavCommander ()
 

Private Attributes

bool dead_man_enabled_
 
std::string frame_id_
 
ros::Subscriber joy_spacenav_sub_
 
boost::mutex mutex_
 
ros::NodeHandle nh_
 
std::string root_frame_
 
double scaling_factor_
 
ros::Timer timer_
 
std::string tip_frame_
 
geometry_msgs::TwistStamped ts_
 
ros::Publisher twist_pub_
 
ros::Subscriber twist_spacenav_sub_
 

Detailed Description

Definition at line 26 of file spacenav_commander.cpp.

Constructor & Destructor Documentation

SpacenavCommander::SpacenavCommander ( )
inline

Definition at line 29 of file spacenav_commander.cpp.

SpacenavCommander::~SpacenavCommander ( )
inline

Definition at line 64 of file spacenav_commander.cpp.

Member Function Documentation

void SpacenavCommander::joySpacenavCallback ( const sensor_msgs::Joy::ConstPtr &  msg)
inline

Receive Joy from a 6d input device (e.g. 3DConnexion SpaceNavigator)

Definition at line 69 of file spacenav_commander.cpp.

void SpacenavCommander::timerCallback ( const ros::TimerEvent )
inline

Definition at line 113 of file spacenav_commander.cpp.

void SpacenavCommander::twistSpacenavCallback ( const geometry_msgs::Twist::ConstPtr &  msg)
inline

Receive Twist from a 6d input device (e.g. 3DConnexion SpaceNavigator)

Definition at line 101 of file spacenav_commander.cpp.

Member Data Documentation

bool SpacenavCommander::dead_man_enabled_
private

Definition at line 133 of file spacenav_commander.cpp.

std::string SpacenavCommander::frame_id_
private

Definition at line 136 of file spacenav_commander.cpp.

ros::Subscriber SpacenavCommander::joy_spacenav_sub_
private

Definition at line 129 of file spacenav_commander.cpp.

boost::mutex SpacenavCommander::mutex_
private

Definition at line 134 of file spacenav_commander.cpp.

ros::NodeHandle SpacenavCommander::nh_
private

Definition at line 127 of file spacenav_commander.cpp.

std::string SpacenavCommander::root_frame_
private

Definition at line 136 of file spacenav_commander.cpp.

double SpacenavCommander::scaling_factor_
private

Definition at line 135 of file spacenav_commander.cpp.

ros::Timer SpacenavCommander::timer_
private

Definition at line 131 of file spacenav_commander.cpp.

std::string SpacenavCommander::tip_frame_
private

Definition at line 136 of file spacenav_commander.cpp.

geometry_msgs::TwistStamped SpacenavCommander::ts_
private

Definition at line 137 of file spacenav_commander.cpp.

ros::Publisher SpacenavCommander::twist_pub_
private

Definition at line 130 of file spacenav_commander.cpp.

ros::Subscriber SpacenavCommander::twist_spacenav_sub_
private

Definition at line 128 of file spacenav_commander.cpp.


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


cob_frame_tracker
Author(s): Felix Messmer
autogenerated on Thu Apr 8 2021 02:39:38