#include <JointTrajectoryAction.h>
Public Member Functions | |
bool | configureHook () |
JointTrajectoryAction (const std::string &name) | |
bool | startHook () |
void | updateHook () |
virtual | ~JointTrajectoryAction () |
Protected Attributes | |
RTT::InputPort< bool > | bufferReady_port |
RTT::InputPort < trajectory_msgs::JointTrajectory > | command_port_ |
RTT::Property< int > | numberOfJoints_prop |
RTT::InputPort< bool > | trajectoryCompleat_port |
RTT::OutputPort < trajectory_msgs::JointTrajectoryPoint > | trajectoryPoint_port |
Private Types | |
typedef boost::shared_ptr < const control_msgs::FollowJointTrajectoryGoal > | Goal |
typedef JTAS::GoalHandle | GoalHandle |
typedef actionlib::ActionServer < control_msgs::FollowJointTrajectoryAction > | JTAS |
Private Member Functions | |
void | bufferReadyCB () |
void | cancelCB (GoalHandle gh) |
void | commandCB () |
void | compleatCB () |
void | goalCB (GoalHandle gh) |
Private Attributes | |
GoalHandle | activeGoal |
actionlib::ActionServer < control_msgs::FollowJointTrajectoryAction > | as |
unsigned int | currentPoint |
bool | enable |
unsigned int | endPoint |
bool | goal_active |
std::vector< std::string > | jointNames |
unsigned int | numberOfJoints |
std::vector < trajectory_msgs::JointTrajectoryPoint > | trajectory |
Definition at line 58 of file JointTrajectoryAction.h.
typedef boost::shared_ptr<const control_msgs::FollowJointTrajectoryGoal> JointTrajectoryAction::Goal [private] |
Definition at line 63 of file JointTrajectoryAction.h.
typedef JTAS::GoalHandle JointTrajectoryAction::GoalHandle [private] |
Definition at line 62 of file JointTrajectoryAction.h.
typedef actionlib::ActionServer<control_msgs::FollowJointTrajectoryAction> JointTrajectoryAction::JTAS [private] |
Definition at line 61 of file JointTrajectoryAction.h.
JointTrajectoryAction::JointTrajectoryAction | ( | const std::string & | name | ) |
Definition at line 42 of file JointTrajectoryAction.cpp.
JointTrajectoryAction::~JointTrajectoryAction | ( | ) | [virtual] |
Definition at line 58 of file JointTrajectoryAction.cpp.
void JointTrajectoryAction::bufferReadyCB | ( | ) | [private] |
Definition at line 298 of file JointTrajectoryAction.cpp.
void JointTrajectoryAction::cancelCB | ( | GoalHandle | gh | ) | [private] |
Definition at line 198 of file JointTrajectoryAction.cpp.
void JointTrajectoryAction::commandCB | ( | ) | [private] |
Definition at line 203 of file JointTrajectoryAction.cpp.
void JointTrajectoryAction::compleatCB | ( | ) | [private] |
Definition at line 281 of file JointTrajectoryAction.cpp.
bool JointTrajectoryAction::configureHook | ( | ) | [virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 63 of file JointTrajectoryAction.cpp.
void JointTrajectoryAction::goalCB | ( | GoalHandle | gh | ) | [private] |
Definition at line 96 of file JointTrajectoryAction.cpp.
bool JointTrajectoryAction::startHook | ( | ) | [virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 81 of file JointTrajectoryAction.cpp.
void JointTrajectoryAction::updateHook | ( | ) | [virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 88 of file JointTrajectoryAction.cpp.
GoalHandle JointTrajectoryAction::activeGoal [private] |
Definition at line 97 of file JointTrajectoryAction.h.
actionlib::ActionServer<control_msgs::FollowJointTrajectoryAction> JointTrajectoryAction::as [private] |
Definition at line 95 of file JointTrajectoryAction.h.
RTT::InputPort<bool> JointTrajectoryAction::bufferReady_port [protected] |
Definition at line 74 of file JointTrajectoryAction.h.
RTT::InputPort<trajectory_msgs::JointTrajectory> JointTrajectoryAction::command_port_ [protected] |
Definition at line 77 of file JointTrajectoryAction.h.
unsigned int JointTrajectoryAction::currentPoint [private] |
Definition at line 92 of file JointTrajectoryAction.h.
bool JointTrajectoryAction::enable [private] |
Definition at line 98 of file JointTrajectoryAction.h.
unsigned int JointTrajectoryAction::endPoint [private] |
Definition at line 93 of file JointTrajectoryAction.h.
bool JointTrajectoryAction::goal_active [private] |
Definition at line 96 of file JointTrajectoryAction.h.
std::vector<std::string> JointTrajectoryAction::jointNames [private] |
Definition at line 89 of file JointTrajectoryAction.h.
unsigned int JointTrajectoryAction::numberOfJoints [private] |
Definition at line 90 of file JointTrajectoryAction.h.
RTT::Property<int> JointTrajectoryAction::numberOfJoints_prop [protected] |
Definition at line 75 of file JointTrajectoryAction.h.
std::vector<trajectory_msgs::JointTrajectoryPoint > JointTrajectoryAction::trajectory [private] |
Definition at line 88 of file JointTrajectoryAction.h.
RTT::InputPort<bool> JointTrajectoryAction::trajectoryCompleat_port [protected] |
Definition at line 78 of file JointTrajectoryAction.h.
RTT::OutputPort<trajectory_msgs::JointTrajectoryPoint> JointTrajectoryAction::trajectoryPoint_port [protected] |
Definition at line 72 of file JointTrajectoryAction.h.