Public Member Functions | |
void | executeTrajectory (const pr2_controllers_msgs::JointTrajectoryGoalConstPtr &goal) |
void | run () |
void | state_callback (const pr2_controllers_msgs::JointTrajectoryControllerStatePtr &message) |
trajectory_manager () | |
Private Attributes | |
std::string | action_name_ |
actionlib::SimpleActionServer < pr2_controllers_msgs::JointTrajectoryAction > | as_ |
ros::Publisher | cart_vel_pub_ |
KDL::Chain | chain_ |
ros::Subscriber | controller_state_ |
int | current_point_ |
bool | executing_ |
KDL::ChainFkSolverPos_recursive * | fksolver1_ |
ros::Publisher | joint_pos_pub_ |
ros::NodeHandle | n_ |
KDL::JntArray | q_current |
KDL::JntArray | startposition_ |
trajectory_msgs::JointTrajectory | traj_ |
double | traj_time_ |
Definition at line 15 of file trajectory_manager.cpp.
trajectory_manager::trajectory_manager | ( | ) | [inline] |
Definition at line 33 of file trajectory_manager.cpp.
void trajectory_manager::executeTrajectory | ( | const pr2_controllers_msgs::JointTrajectoryGoalConstPtr & | goal | ) | [inline] |
Definition at line 62 of file trajectory_manager.cpp.
void trajectory_manager::run | ( | ) | [inline] |
Definition at line 78 of file trajectory_manager.cpp.
void trajectory_manager::state_callback | ( | const pr2_controllers_msgs::JointTrajectoryControllerStatePtr & | message | ) | [inline] |
Definition at line 54 of file trajectory_manager.cpp.
std::string trajectory_manager::action_name_ [private] |
Definition at line 23 of file trajectory_manager.cpp.
actionlib::SimpleActionServer<pr2_controllers_msgs::JointTrajectoryAction> trajectory_manager::as_ [private] |
Definition at line 22 of file trajectory_manager.cpp.
ros::Publisher trajectory_manager::cart_vel_pub_ [private] |
Definition at line 19 of file trajectory_manager.cpp.
KDL::Chain trajectory_manager::chain_ [private] |
Definition at line 29 of file trajectory_manager.cpp.
ros::Subscriber trajectory_manager::controller_state_ [private] |
Definition at line 21 of file trajectory_manager.cpp.
int trajectory_manager::current_point_ [private] |
Definition at line 27 of file trajectory_manager.cpp.
bool trajectory_manager::executing_ [private] |
Definition at line 24 of file trajectory_manager.cpp.
KDL::ChainFkSolverPos_recursive* trajectory_manager::fksolver1_ [private] |
Definition at line 28 of file trajectory_manager.cpp.
ros::Publisher trajectory_manager::joint_pos_pub_ [private] |
Definition at line 20 of file trajectory_manager.cpp.
ros::NodeHandle trajectory_manager::n_ [private] |
Definition at line 18 of file trajectory_manager.cpp.
KDL::JntArray trajectory_manager::q_current [private] |
Definition at line 30 of file trajectory_manager.cpp.
KDL::JntArray trajectory_manager::startposition_ [private] |
Definition at line 31 of file trajectory_manager.cpp.
trajectory_msgs::JointTrajectory trajectory_manager::traj_ [private] |
Definition at line 25 of file trajectory_manager.cpp.
double trajectory_manager::traj_time_ [private] |
Definition at line 26 of file trajectory_manager.cpp.