Public Member Functions | |
void | init () |
void | joy_cb (const joy::Joy::ConstPtr &joy_msg) |
void | send_cmd_vel () |
TeleopPR2 (bool deadman_no_publish=false) | |
void | torsoCB (const pr2_controllers_msgs::JointTrajectoryControllerState::ConstPtr &msg) |
~TeleopPR2 () | |
Public Attributes | |
int | axis_pan |
int | axis_tilt |
int | axis_vw |
int | axis_vx |
int | axis_vy |
geometry_msgs::Twist | cmd |
bool | cmd_head |
bool | deadman_ |
int | deadman_button |
bool | deadman_no_publish_ |
int | head_button |
ros::Publisher | head_pub_ |
bool | head_publish_ |
ros::Duration | joy_msg_timeout_ |
ros::Subscriber | joy_sub_ |
bool | last_deadman_ |
ros::Time | last_recieved_joy_message_time_ |
std::string | last_selected_topic_ |
double | max_pan |
double | max_tilt |
double | max_torso |
double | max_vw |
double | max_vw_run |
double | max_vx |
double | max_vx_run |
double | max_vy |
double | max_vy_run |
double | min_tilt |
double | min_torso |
ros::ServiceClient | mux_client_ |
ros::NodeHandle | n_ |
ros::NodeHandle | n_private_ |
double | pan_step |
double | req_pan |
double | req_pan_vel |
double | req_tilt |
double | req_tilt_vel |
double | req_torso |
double | req_torso_vel |
double | req_vw |
double | req_vx |
double | req_vy |
int | run_button |
double | tilt_step |
int | torso_dn_button |
ros::Publisher | torso_pub_ |
bool | torso_publish_ |
ros::Subscriber | torso_state_sub_ |
double | torso_step |
int | torso_up_button |
bool | use_mux_ |
ros::Publisher | vel_pub_ |
Definition at line 56 of file teleop_pr2.cpp.
TeleopPR2::TeleopPR2 | ( | bool | deadman_no_publish = false |
) | [inline] |
Definition at line 86 of file teleop_pr2.cpp.
TeleopPR2::~TeleopPR2 | ( | ) | [inline] |
Definition at line 203 of file teleop_pr2.cpp.
void TeleopPR2::init | ( | ) | [inline] |
Definition at line 98 of file teleop_pr2.cpp.
void TeleopPR2::joy_cb | ( | const joy::Joy::ConstPtr & | joy_msg | ) | [inline] |
Callback for joy topic
Definition at line 206 of file teleop_pr2.cpp.
void TeleopPR2::send_cmd_vel | ( | ) | [inline] |
Definition at line 273 of file teleop_pr2.cpp.
void TeleopPR2::torsoCB | ( | const pr2_controllers_msgs::JointTrajectoryControllerState::ConstPtr & | msg | ) | [inline] |
Definition at line 376 of file teleop_pr2.cpp.
Definition at line 67 of file teleop_pr2.cpp.
Definition at line 67 of file teleop_pr2.cpp.
Definition at line 67 of file teleop_pr2.cpp.
Definition at line 67 of file teleop_pr2.cpp.
Definition at line 67 of file teleop_pr2.cpp.
geometry_msgs::Twist TeleopPR2::cmd |
Definition at line 59 of file teleop_pr2.cpp.
bool TeleopPR2::cmd_head |
Definition at line 71 of file teleop_pr2.cpp.
bool TeleopPR2::deadman_ |
Definition at line 71 of file teleop_pr2.cpp.
Definition at line 68 of file teleop_pr2.cpp.
Definition at line 69 of file teleop_pr2.cpp.
Definition at line 68 of file teleop_pr2.cpp.
ros::Publisher TeleopPR2::head_pub_ |
Definition at line 80 of file teleop_pr2.cpp.
Definition at line 69 of file teleop_pr2.cpp.
ros::Duration TeleopPR2::joy_msg_timeout_ |
Definition at line 76 of file teleop_pr2.cpp.
ros::Subscriber TeleopPR2::joy_sub_ |
Definition at line 82 of file teleop_pr2.cpp.
Definition at line 72 of file teleop_pr2.cpp.
Definition at line 75 of file teleop_pr2.cpp.
std::string TeleopPR2::last_selected_topic_ |
Definition at line 73 of file teleop_pr2.cpp.
double TeleopPR2::max_pan |
Definition at line 66 of file teleop_pr2.cpp.
double TeleopPR2::max_tilt |
Definition at line 66 of file teleop_pr2.cpp.
double TeleopPR2::max_torso |
Definition at line 60 of file teleop_pr2.cpp.
double TeleopPR2::max_vw |
Definition at line 65 of file teleop_pr2.cpp.
double TeleopPR2::max_vw_run |
Definition at line 65 of file teleop_pr2.cpp.
double TeleopPR2::max_vx |
Definition at line 65 of file teleop_pr2.cpp.
double TeleopPR2::max_vx_run |
Definition at line 65 of file teleop_pr2.cpp.
double TeleopPR2::max_vy |
Definition at line 65 of file teleop_pr2.cpp.
double TeleopPR2::max_vy_run |
Definition at line 65 of file teleop_pr2.cpp.
double TeleopPR2::min_tilt |
Definition at line 66 of file teleop_pr2.cpp.
double TeleopPR2::min_torso |
Definition at line 60 of file teleop_pr2.cpp.
ros::ServiceClient TeleopPR2::mux_client_ |
Definition at line 84 of file teleop_pr2.cpp.
ros::NodeHandle TeleopPR2::n_ |
Definition at line 78 of file teleop_pr2.cpp.
ros::NodeHandle TeleopPR2::n_private_ |
Definition at line 78 of file teleop_pr2.cpp.
double TeleopPR2::pan_step |
Definition at line 66 of file teleop_pr2.cpp.
double TeleopPR2::req_pan |
Definition at line 63 of file teleop_pr2.cpp.
double TeleopPR2::req_pan_vel |
Definition at line 64 of file teleop_pr2.cpp.
double TeleopPR2::req_tilt |
Definition at line 63 of file teleop_pr2.cpp.
double TeleopPR2::req_tilt_vel |
Definition at line 64 of file teleop_pr2.cpp.
double TeleopPR2::req_torso |
Definition at line 63 of file teleop_pr2.cpp.
double TeleopPR2::req_torso_vel |
Definition at line 61 of file teleop_pr2.cpp.
double TeleopPR2::req_vw |
Definition at line 63 of file teleop_pr2.cpp.
double TeleopPR2::req_vx |
Definition at line 63 of file teleop_pr2.cpp.
double TeleopPR2::req_vy |
Definition at line 63 of file teleop_pr2.cpp.
Definition at line 68 of file teleop_pr2.cpp.
double TeleopPR2::tilt_step |
Definition at line 66 of file teleop_pr2.cpp.
Definition at line 68 of file teleop_pr2.cpp.
ros::Publisher TeleopPR2::torso_pub_ |
Definition at line 81 of file teleop_pr2.cpp.
Definition at line 69 of file teleop_pr2.cpp.
ros::Subscriber TeleopPR2::torso_state_sub_ |
Definition at line 83 of file teleop_pr2.cpp.
double TeleopPR2::torso_step |
Definition at line 61 of file teleop_pr2.cpp.
Definition at line 68 of file teleop_pr2.cpp.
bool TeleopPR2::use_mux_ |
Definition at line 72 of file teleop_pr2.cpp.
ros::Publisher TeleopPR2::vel_pub_ |
Definition at line 79 of file teleop_pr2.cpp.