#include <cartesian_twist.h>
Definition at line 71 of file cartesian_twist.h.
robot_controllers::CartesianTwistController::CartesianTwistController |
( |
| ) |
|
virtual robot_controllers::CartesianTwistController::~CartesianTwistController |
( |
| ) |
|
|
inlinevirtual |
void robot_controllers::CartesianTwistController::command |
( |
const geometry_msgs::TwistStamped::ConstPtr & |
goal | ) |
|
std::vector< std::string > robot_controllers::CartesianTwistController::getClaimedNames |
( |
| ) |
|
|
virtual |
std::vector< std::string > robot_controllers::CartesianTwistController::getCommandedNames |
( |
| ) |
|
|
virtual |
KDL::Frame robot_controllers::CartesianTwistController::getPose |
( |
| ) |
|
|
private |
virtual std::string robot_controllers::CartesianTwistController::getType |
( |
| ) |
|
|
inlinevirtual |
Initialize the controller and any required data structures.
- Parameters
-
nh | Node handle for this controller. |
manager | The controller manager instance, this is needed for the controller to get information about joints, etc. |
- Returns
- 0 if succesfully configured, negative values are error codes.
Reimplemented from robot_controllers::Controller.
Definition at line 60 of file cartesian_twist.cpp.
bool robot_controllers::CartesianTwistController::reset |
( |
| ) |
|
|
virtual |
Cleanly reset the controller to it's initial state. Some controllers may choose to stop themselves. This is mainly used in the case of the the robot exiting some fault condition.
- Returns
- True if successfully reset, false otherwise.
Implements robot_controllers::Controller.
Definition at line 158 of file cartesian_twist.cpp.
bool robot_controllers::CartesianTwistController::start |
( |
| ) |
|
|
virtual |
bool robot_controllers::CartesianTwistController::stop |
( |
bool |
force | ) |
|
|
virtual |
Attempt to stop the controller. This should be called only by the ControllerManager instance.
- Parameters
-
force | Should we force the controller to stop? Some controllers may wish to continue running until they absolutely have to stop. |
- Returns
- True if successfully stopped, false otherwise.
Implements robot_controllers::Controller.
Definition at line 152 of file cartesian_twist.cpp.
bool robot_controllers::CartesianTwistController::enabled_ |
|
private |
ros::Publisher robot_controllers::CartesianTwistController::feedback_pub_ |
|
private |
bool robot_controllers::CartesianTwistController::initialized_ |
|
private |
bool robot_controllers::CartesianTwistController::is_active_ |
|
private |
std::vector<JointHandlePtr> robot_controllers::CartesianTwistController::joints_ |
|
private |
KDL::Chain robot_controllers::CartesianTwistController::kdl_chain_ |
|
private |
ros::Time robot_controllers::CartesianTwistController::last_command_time_ |
|
private |
KDL::JntArray robot_controllers::CartesianTwistController::last_tgt_jnt_vel_ |
|
private |
boost::mutex robot_controllers::CartesianTwistController::mutex_ |
|
private |
KDL::JntArray robot_controllers::CartesianTwistController::tgt_jnt_pos_ |
|
private |
KDL::JntArray robot_controllers::CartesianTwistController::tgt_jnt_vel_ |
|
private |
KDL::Twist robot_controllers::CartesianTwistController::twist_command_ |
|
private |
std::string robot_controllers::CartesianTwistController::twist_command_frame_ |
|
private |
The documentation for this class was generated from the following files: