Public Member Functions | Public Attributes | List of all members
Pr2TeleopGeneralJoystick Class Reference

Public Member Functions

bool axisOk (unsigned int axisNum, const sensor_msgs::Joy::ConstPtr &joy_msg) const
 
bool buttonOkAndOn (unsigned int buttonNum, const sensor_msgs::Joy::ConstPtr &joy_msg) const
 
bool convertCurrentVelToDesiredHeadPos (double hz)
 
bool convertCurrentVelToDesiredTorsoPos (double hz)
 
void init ()
 
void joy_cb (const sensor_msgs::Joy::ConstPtr &joy_msg)
 
 Pr2TeleopGeneralJoystick (bool deadman_no_publish=false)
 
bool sameValueAsLast (unsigned int button, const sensor_msgs::Joy::ConstPtr &new_msg, const sensor_msgs::Joy::ConstPtr &old_msg)
 
 ~Pr2TeleopGeneralJoystick ()
 

Public Attributes

double arm_pitch_scale_
 
double arm_roll_scale_
 
double arm_x_scale_
 
double arm_y_scale_
 
double arm_yaw_scale_
 
double arm_z_scale_
 
int axis_pan_
 
int axis_tilt_
 
double des_left_wrist_vel_
 
double des_pan_pos_
 
double des_right_wrist_vel_
 
double des_tilt_pos_
 
double des_torso_pos_
 
double des_torso_vel_
 
double des_vw_
 
double des_vx_
 
double des_vy_
 
bool first_callback_
 
GeneralCommandergc
 
bool head_init_
 
ros::Time joy_deadman_
 
ros::Subscriber joy_sub_
 
ros::Time last_head_toggle_
 
sensor_msgs::JoyConstPtr last_joy_
 
ros::Time last_laser_toggle_
 
ros::Time last_projector_toggle_
 
ros::Time last_walk_along_time_
 
double left_arm_vel_pitch_
 
double left_arm_vel_roll_
 
double left_arm_vel_yaw_
 
double left_arm_vx_
 
double left_arm_vy_
 
double left_arm_vz_
 
double max_pan_
 
double max_tilt_
 
double max_torso_
 
double min_tilt_
 
double min_torso_
 
ros::NodeHandle n_
 
double pan_scale_
 
bool proj_toggle_com_
 
int projector_toggle_button_
 
std::string prosilica_namespace_
 
double req_torso_pos_
 
double req_torso_vel_
 
double right_arm_vel_pitch_
 
double right_arm_vel_roll_
 
double right_arm_vel_yaw_
 
double right_arm_vx_
 
double right_arm_vy_
 
double right_arm_vz_
 
bool set_walk_along_mode_
 
int switch_head_control_mode_button_
 
double tilt_scale_
 
int tilt_toggle_button_
 
bool torso_init_
 
double torso_step_
 
double vel_val_pan_
 
double vel_val_tilt_
 
double vw_scale_
 
double vx_scale_
 
double vy_scale_
 
bool walk_along_init_waiting_
 
double walk_along_thresh_
 
double walk_along_w_speed_scale_
 
double walk_along_x_dist_max_
 
double walk_along_x_speed_scale_
 
double walk_along_y_dist_max_
 
double walk_along_y_speed_scale_
 
double wrist_velocity_
 

Detailed Description

Definition at line 98 of file pr2_teleop_general_joystick.cpp.

Constructor & Destructor Documentation

Pr2TeleopGeneralJoystick::Pr2TeleopGeneralJoystick ( bool  deadman_no_publish = false)
inline

Definition at line 101 of file pr2_teleop_general_joystick.cpp.

Pr2TeleopGeneralJoystick::~Pr2TeleopGeneralJoystick ( )
inline

Definition at line 203 of file pr2_teleop_general_joystick.cpp.

Member Function Documentation

bool Pr2TeleopGeneralJoystick::axisOk ( unsigned int  axisNum,
const sensor_msgs::Joy::ConstPtr &  joy_msg 
) const
inline

Definition at line 214 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::buttonOkAndOn ( unsigned int  buttonNum,
const sensor_msgs::Joy::ConstPtr &  joy_msg 
) const
inline

Definition at line 209 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::convertCurrentVelToDesiredHeadPos ( double  hz)
inline

Definition at line 745 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::convertCurrentVelToDesiredTorsoPos ( double  hz)
inline

Definition at line 727 of file pr2_teleop_general_joystick.cpp.

void Pr2TeleopGeneralJoystick::init ( )
inline

Definition at line 106 of file pr2_teleop_general_joystick.cpp.

void Pr2TeleopGeneralJoystick::joy_cb ( const sensor_msgs::Joy::ConstPtr &  joy_msg)
inline

Definition at line 225 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::sameValueAsLast ( unsigned int  button,
const sensor_msgs::Joy::ConstPtr &  new_msg,
const sensor_msgs::Joy::ConstPtr &  old_msg 
)
inline

Definition at line 218 of file pr2_teleop_general_joystick.cpp.

Member Data Documentation

double Pr2TeleopGeneralJoystick::arm_pitch_scale_

Definition at line 795 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::arm_roll_scale_

Definition at line 794 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::arm_x_scale_

Definition at line 791 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::arm_y_scale_

Definition at line 792 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::arm_yaw_scale_

Definition at line 796 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::arm_z_scale_

Definition at line 793 of file pr2_teleop_general_joystick.cpp.

int Pr2TeleopGeneralJoystick::axis_pan_

Definition at line 774 of file pr2_teleop_general_joystick.cpp.

int Pr2TeleopGeneralJoystick::axis_tilt_

Definition at line 774 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_left_wrist_vel_

Definition at line 828 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_pan_pos_

Definition at line 777 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_right_wrist_vel_

Definition at line 827 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_tilt_pos_

Definition at line 778 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_torso_pos_

Definition at line 820 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_torso_vel_

Definition at line 821 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_vw_

Definition at line 785 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_vx_

Definition at line 783 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::des_vy_

Definition at line 784 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::first_callback_

Definition at line 853 of file pr2_teleop_general_joystick.cpp.

GeneralCommander* Pr2TeleopGeneralJoystick::gc

Definition at line 848 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::head_init_

Definition at line 814 of file pr2_teleop_general_joystick.cpp.

ros::Time Pr2TeleopGeneralJoystick::joy_deadman_

Definition at line 850 of file pr2_teleop_general_joystick.cpp.

ros::Subscriber Pr2TeleopGeneralJoystick::joy_sub_

Definition at line 856 of file pr2_teleop_general_joystick.cpp.

ros::Time Pr2TeleopGeneralJoystick::last_head_toggle_

Definition at line 860 of file pr2_teleop_general_joystick.cpp.

sensor_msgs::JoyConstPtr Pr2TeleopGeneralJoystick::last_joy_

Definition at line 852 of file pr2_teleop_general_joystick.cpp.

ros::Time Pr2TeleopGeneralJoystick::last_laser_toggle_

Definition at line 859 of file pr2_teleop_general_joystick.cpp.

ros::Time Pr2TeleopGeneralJoystick::last_projector_toggle_

Definition at line 858 of file pr2_teleop_general_joystick.cpp.

ros::Time Pr2TeleopGeneralJoystick::last_walk_along_time_

Definition at line 862 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::left_arm_vel_pitch_

Definition at line 811 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::left_arm_vel_roll_

Definition at line 810 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::left_arm_vel_yaw_

Definition at line 812 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::left_arm_vx_

Definition at line 802 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::left_arm_vy_

Definition at line 803 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::left_arm_vz_

Definition at line 804 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::max_pan_

Definition at line 773 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::max_tilt_

Definition at line 773 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::max_torso_

Definition at line 824 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::min_tilt_

Definition at line 773 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::min_torso_

Definition at line 823 of file pr2_teleop_general_joystick.cpp.

ros::NodeHandle Pr2TeleopGeneralJoystick::n_

Definition at line 855 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::pan_scale_

Definition at line 775 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::proj_toggle_com_

Definition at line 842 of file pr2_teleop_general_joystick.cpp.

int Pr2TeleopGeneralJoystick::projector_toggle_button_

Definition at line 844 of file pr2_teleop_general_joystick.cpp.

std::string Pr2TeleopGeneralJoystick::prosilica_namespace_

Definition at line 840 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::req_torso_pos_

Definition at line 818 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::req_torso_vel_

Definition at line 817 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::right_arm_vel_pitch_

Definition at line 807 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::right_arm_vel_roll_

Definition at line 806 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::right_arm_vel_yaw_

Definition at line 808 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::right_arm_vx_

Definition at line 798 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::right_arm_vy_

Definition at line 799 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::right_arm_vz_

Definition at line 800 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::set_walk_along_mode_

Definition at line 838 of file pr2_teleop_general_joystick.cpp.

int Pr2TeleopGeneralJoystick::switch_head_control_mode_button_

Definition at line 846 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::tilt_scale_

Definition at line 775 of file pr2_teleop_general_joystick.cpp.

int Pr2TeleopGeneralJoystick::tilt_toggle_button_

Definition at line 845 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::torso_init_

Definition at line 815 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::torso_step_

Definition at line 822 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::vel_val_pan_

Definition at line 780 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::vel_val_tilt_

Definition at line 781 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::vw_scale_

Definition at line 789 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::vx_scale_

Definition at line 787 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::vy_scale_

Definition at line 788 of file pr2_teleop_general_joystick.cpp.

bool Pr2TeleopGeneralJoystick::walk_along_init_waiting_

Definition at line 837 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::walk_along_thresh_

Definition at line 833 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::walk_along_w_speed_scale_

Definition at line 832 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::walk_along_x_dist_max_

Definition at line 834 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::walk_along_x_speed_scale_

Definition at line 830 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::walk_along_y_dist_max_

Definition at line 835 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::walk_along_y_speed_scale_

Definition at line 831 of file pr2_teleop_general_joystick.cpp.

double Pr2TeleopGeneralJoystick::wrist_velocity_

Definition at line 826 of file pr2_teleop_general_joystick.cpp.


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


pr2_teleop_general
Author(s): Gil Jones
autogenerated on Sat Feb 27 2021 04:01:05