Public Member Functions | |
FollowTeleop (const std::string &name, ros::NodeHandle &nh) | |
virtual void | publish (const ros::Duration &dt) |
virtual bool | stop () |
virtual bool | update (const sensor_msgs::Joy::ConstPtr &joy, const sensor_msgs::JointState::ConstPtr &state) |
Private Types | |
typedef actionlib::SimpleActionClient < control_msgs::FollowJointTrajectoryAction > | client_t |
Private Attributes | |
double | actual_position_ |
boost::shared_ptr< client_t > | client_ |
int | deadman_ |
int | dec_button_ |
double | desired_velocity_ |
int | inc_button_ |
bool | inhibit_ |
std::string | joint_name_ |
double | last_velocity_ |
double | max_acceleration_ |
double | max_position_ |
double | max_velocity_ |
double | min_position_ |
Definition at line 250 of file joystick_teleop.cpp.
typedef actionlib::SimpleActionClient<control_msgs::FollowJointTrajectoryAction> FollowTeleop::client_t [private] |
Definition at line 252 of file joystick_teleop.cpp.
FollowTeleop::FollowTeleop | ( | const std::string & | name, |
ros::NodeHandle & | nh | ||
) | [inline] |
Definition at line 255 of file joystick_teleop.cpp.
virtual void FollowTeleop::publish | ( | const ros::Duration & | dt | ) | [inline, virtual] |
Implements TeleopComponent.
Definition at line 325 of file joystick_teleop.cpp.
virtual bool FollowTeleop::stop | ( | ) | [inline, virtual] |
Reimplemented from TeleopComponent.
Definition at line 352 of file joystick_teleop.cpp.
virtual bool FollowTeleop::update | ( | const sensor_msgs::Joy::ConstPtr & | joy, |
const sensor_msgs::JointState::ConstPtr & | state | ||
) | [inline, virtual] |
Implements TeleopComponent.
Definition at line 286 of file joystick_teleop.cpp.
double FollowTeleop::actual_position_ [private] |
Definition at line 364 of file joystick_teleop.cpp.
boost::shared_ptr<client_t> FollowTeleop::client_ [private] |
Definition at line 366 of file joystick_teleop.cpp.
int FollowTeleop::deadman_ [private] |
Definition at line 360 of file joystick_teleop.cpp.
int FollowTeleop::dec_button_ [private] |
Definition at line 360 of file joystick_teleop.cpp.
double FollowTeleop::desired_velocity_ [private] |
Definition at line 365 of file joystick_teleop.cpp.
int FollowTeleop::inc_button_ [private] |
Definition at line 360 of file joystick_teleop.cpp.
bool FollowTeleop::inhibit_ [private] |
Definition at line 362 of file joystick_teleop.cpp.
std::string FollowTeleop::joint_name_ [private] |
Definition at line 363 of file joystick_teleop.cpp.
double FollowTeleop::last_velocity_ [private] |
Definition at line 365 of file joystick_teleop.cpp.
double FollowTeleop::max_acceleration_ [private] |
Definition at line 361 of file joystick_teleop.cpp.
double FollowTeleop::max_position_ [private] |
Definition at line 361 of file joystick_teleop.cpp.
double FollowTeleop::max_velocity_ [private] |
Definition at line 361 of file joystick_teleop.cpp.
double FollowTeleop::min_position_ [private] |
Definition at line 361 of file joystick_teleop.cpp.