Public Member Functions | Private Attributes
cob_trajectory_controller_node Class Reference

List of all members.

Public Member Functions

 cob_trajectory_controller_node ()
void executeFollowTrajectory (const control_msgs::FollowJointTrajectoryGoalConstPtr &goal)
double getFrequency ()
void operationmode_callback (const std_msgs::StringPtr &message)
void run ()
void spawnTrajector (trajectory_msgs::JointTrajectory trajectory)
bool srvCallback_setAcc (cob_trajectory_controller::SetFloat::Request &req, cob_trajectory_controller::SetFloat::Response &res)
bool srvCallback_setVel (cob_trajectory_controller::SetFloat::Request &req, cob_trajectory_controller::SetFloat::Response &res)
bool srvCallback_Stop (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res)
void state_callback (const pr2_controllers_msgs::JointTrajectoryControllerStatePtr &message)

Private Attributes

std::string action_name_follow_
actionlib::SimpleActionServer
< control_msgs::FollowJointTrajectoryAction > 
as_follow_
ros::Subscriber controller_state_
std::string current_operation_mode_
int DOF
bool executing_
bool failure_
std::vector< double > joint_distance_
ros::Publisher joint_vel_pub_
std::vector< std::string > JointNames_
XmlRpc::XmlRpcValue JointNames_param_
ros::NodeHandle n_
ros::Subscriber operation_mode_
std::vector< double > q_current
bool rejected_
ros::ServiceClient srvClient_SetOperationMode
ros::ServiceServer srvServer_SetAcc_
ros::ServiceServer srvServer_SetVel_
ros::ServiceServer srvServer_Stop_
std::vector< double > startposition_
trajectory_msgs::JointTrajectory traj_
genericArmCtrltraj_generator_
double velocity_timeout_
int watchdog_counter

Detailed Description

Definition at line 79 of file cob_trajectory_controller.cpp.


Constructor & Destructor Documentation

Definition at line 115 of file cob_trajectory_controller.cpp.


Member Function Documentation

void cob_trajectory_controller_node::executeFollowTrajectory ( const control_msgs::FollowJointTrajectoryGoalConstPtr &  goal) [inline]

Definition at line 310 of file cob_trajectory_controller.cpp.

Definition at line 177 of file cob_trajectory_controller.cpp.

void cob_trajectory_controller_node::operationmode_callback ( const std_msgs::StringPtr &  message) [inline]

Definition at line 220 of file cob_trajectory_controller.cpp.

Definition at line 328 of file cob_trajectory_controller.cpp.

void cob_trajectory_controller_node::spawnTrajector ( trajectory_msgs::JointTrajectory  trajectory) [inline]

Definition at line 233 of file cob_trajectory_controller.cpp.

Definition at line 212 of file cob_trajectory_controller.cpp.

Definition at line 205 of file cob_trajectory_controller.cpp.

Definition at line 193 of file cob_trajectory_controller.cpp.

Definition at line 224 of file cob_trajectory_controller.cpp.


Member Data Documentation

Definition at line 97 of file cob_trajectory_controller.cpp.

actionlib::SimpleActionServer<control_msgs::FollowJointTrajectoryAction> cob_trajectory_controller_node::as_follow_ [private]

Definition at line 93 of file cob_trajectory_controller.cpp.

Definition at line 85 of file cob_trajectory_controller.cpp.

Definition at line 98 of file cob_trajectory_controller.cpp.

Definition at line 104 of file cob_trajectory_controller.cpp.

Definition at line 101 of file cob_trajectory_controller.cpp.

Definition at line 102 of file cob_trajectory_controller.cpp.

std::vector<double> cob_trajectory_controller_node::joint_distance_ [private]

Definition at line 110 of file cob_trajectory_controller.cpp.

Definition at line 84 of file cob_trajectory_controller.cpp.

std::vector<std::string> cob_trajectory_controller_node::JointNames_ [private]

Definition at line 100 of file cob_trajectory_controller.cpp.

Definition at line 99 of file cob_trajectory_controller.cpp.

Definition at line 82 of file cob_trajectory_controller.cpp.

Definition at line 86 of file cob_trajectory_controller.cpp.

std::vector<double> cob_trajectory_controller_node::q_current [private]

Definition at line 110 of file cob_trajectory_controller.cpp.

Definition at line 103 of file cob_trajectory_controller.cpp.

Definition at line 90 of file cob_trajectory_controller.cpp.

Definition at line 89 of file cob_trajectory_controller.cpp.

Definition at line 88 of file cob_trajectory_controller.cpp.

Definition at line 87 of file cob_trajectory_controller.cpp.

std::vector<double> cob_trajectory_controller_node::startposition_ [private]

Definition at line 110 of file cob_trajectory_controller.cpp.

trajectory_msgs::JointTrajectory cob_trajectory_controller_node::traj_ [private]

Definition at line 109 of file cob_trajectory_controller.cpp.

Definition at line 108 of file cob_trajectory_controller.cpp.

Definition at line 105 of file cob_trajectory_controller.cpp.

Definition at line 107 of file cob_trajectory_controller.cpp.


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


cob_trajectory_controller
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 23:02:43