Public Member Functions | |
void | executeCB (const pr2_controllers_msgs::JointTrajectoryGoalConstPtr &goal) |
NodeClass (std::string name) | |
void | publishJointState () |
bool | srvCallback_Init (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res) |
bool | srvCallback_Recover (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res) |
bool | srvCallback_SetDefaultVel (cob_srvs::SetDefaultVel::Request &req, cob_srvs::SetDefaultVel::Response &res) |
Executes the service callback for set_default_vel. | |
bool | srvCallback_SetOperationMode (cob_srvs::SetOperationMode::Request &req, cob_srvs::SetOperationMode::Response &res) |
Executes the service callback for set_operation_mode. | |
bool | srvCallback_Stop (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res) |
void | updateCommands () |
~NodeClass () | |
Public Attributes | |
std::string | action_name_ |
double | ActualPos_ |
double | ActualVel_ |
actionlib::SimpleActionServer < pr2_controllers_msgs::JointTrajectoryAction > | as_ |
ElmoCtrl * | CamAxis_ |
ElmoCtrlParams * | CamAxisParams_ |
int | CanBaudrate_ |
std::string | CanDevice_ |
std::string | CanIniFile_ |
int | EnoderIncrementsPerRevMot_ |
pr2_controllers_msgs::JointTrajectoryFeedback | feedback_ |
bool | finished_ |
double | GearRatio_ |
int | HomingDigIn_ |
int | HomingDir_ |
bool | isInitialized_ |
std::string | JointName_ |
double | LowerLimit_ |
double | MaxVel_ |
int | ModID_ |
int | MotorDirection_ |
ros::NodeHandle | n_ |
double | Offset_ |
std::string | operationMode_ |
pr2_controllers_msgs::JointTrajectoryResult | result_ |
ros::ServiceServer | srvServer_Init_ |
ros::ServiceServer | srvServer_Recover_ |
ros::ServiceServer | srvServer_SetDefaultVel_ |
ros::ServiceServer | srvServer_SetOperationMode_ |
ros::ServiceServer | srvServer_Stop_ |
ros::Publisher | topicPub_JointState_ |
ros::Subscriber | topicSub_JointCommand_ |
trajectory_msgs::JointTrajectory | traj_ |
trajectory_msgs::JointTrajectoryPoint | traj_point_ |
int | traj_point_nr_ |
double | UpperLimit_ |
Definition at line 77 of file cob_head_axis.cpp.
NodeClass::NodeClass | ( | std::string | name | ) | [inline] |
Definition at line 128 of file cob_head_axis.cpp.
NodeClass::~NodeClass | ( | ) | [inline] |
Definition at line 234 of file cob_head_axis.cpp.
void NodeClass::executeCB | ( | const pr2_controllers_msgs::JointTrajectoryGoalConstPtr & | goal | ) | [inline] |
Definition at line 239 of file cob_head_axis.cpp.
void NodeClass::publishJointState | ( | ) | [inline] |
Definition at line 450 of file cob_head_axis.cpp.
bool NodeClass::srvCallback_Init | ( | cob_srvs::Trigger::Request & | req, | |
cob_srvs::Trigger::Response & | res | |||
) | [inline] |
Definition at line 288 of file cob_head_axis.cpp.
bool NodeClass::srvCallback_Recover | ( | cob_srvs::Trigger::Request & | req, | |
cob_srvs::Trigger::Response & | res | |||
) | [inline] |
Definition at line 338 of file cob_head_axis.cpp.
bool NodeClass::srvCallback_SetDefaultVel | ( | cob_srvs::SetDefaultVel::Request & | req, | |
cob_srvs::SetDefaultVel::Response & | res | |||
) | [inline] |
Executes the service callback for set_default_vel.
Sets the default velocity.
req | Service request | |
res | Service response |
Definition at line 386 of file cob_head_axis.cpp.
bool NodeClass::srvCallback_SetOperationMode | ( | cob_srvs::SetOperationMode::Request & | req, | |
cob_srvs::SetOperationMode::Response & | res | |||
) | [inline] |
Executes the service callback for set_operation_mode.
Changes the operation mode.
req | Service request | |
res | Service response |
Definition at line 370 of file cob_head_axis.cpp.
bool NodeClass::srvCallback_Stop | ( | cob_srvs::Trigger::Request & | req, | |
cob_srvs::Trigger::Response & | res | |||
) | [inline] |
Definition at line 318 of file cob_head_axis.cpp.
void NodeClass::updateCommands | ( | ) | [inline] |
Definition at line 398 of file cob_head_axis.cpp.
std::string NodeClass::action_name_ |
Definition at line 95 of file cob_head_axis.cpp.
double NodeClass::ActualPos_ |
Definition at line 121 of file cob_head_axis.cpp.
double NodeClass::ActualVel_ |
Definition at line 122 of file cob_head_axis.cpp.
actionlib::SimpleActionServer<pr2_controllers_msgs::JointTrajectoryAction> NodeClass::as_ |
Definition at line 94 of file cob_head_axis.cpp.
Definition at line 100 of file cob_head_axis.cpp.
Definition at line 101 of file cob_head_axis.cpp.
Definition at line 105 of file cob_head_axis.cpp.
std::string NodeClass::CanDevice_ |
Definition at line 103 of file cob_head_axis.cpp.
std::string NodeClass::CanIniFile_ |
Definition at line 104 of file cob_head_axis.cpp.
Definition at line 115 of file cob_head_axis.cpp.
pr2_controllers_msgs::JointTrajectoryFeedback NodeClass::feedback_ |
Definition at line 96 of file cob_head_axis.cpp.
bool NodeClass::finished_ |
Definition at line 120 of file cob_head_axis.cpp.
double NodeClass::GearRatio_ |
Definition at line 116 of file cob_head_axis.cpp.
Definition at line 107 of file cob_head_axis.cpp.
Definition at line 106 of file cob_head_axis.cpp.
Definition at line 119 of file cob_head_axis.cpp.
std::string NodeClass::JointName_ |
Definition at line 118 of file cob_head_axis.cpp.
double NodeClass::LowerLimit_ |
Definition at line 111 of file cob_head_axis.cpp.
double NodeClass::MaxVel_ |
Definition at line 108 of file cob_head_axis.cpp.
Definition at line 109 of file cob_head_axis.cpp.
Definition at line 114 of file cob_head_axis.cpp.
ros::NodeHandle NodeClass::n_ |
Definition at line 75 of file cob_head_axis.cpp.
double NodeClass::Offset_ |
Definition at line 113 of file cob_head_axis.cpp.
std::string NodeClass::operationMode_ |
Definition at line 110 of file cob_head_axis.cpp.
pr2_controllers_msgs::JointTrajectoryResult NodeClass::result_ |
Definition at line 97 of file cob_head_axis.cpp.
ros::ServiceServer NodeClass::srvServer_Init_ |
Definition at line 84 of file cob_head_axis.cpp.
ros::ServiceServer NodeClass::srvServer_Recover_ |
Definition at line 86 of file cob_head_axis.cpp.
ros::ServiceServer NodeClass::srvServer_SetDefaultVel_ |
Definition at line 88 of file cob_head_axis.cpp.
ros::ServiceServer NodeClass::srvServer_SetOperationMode_ |
Definition at line 87 of file cob_head_axis.cpp.
ros::ServiceServer NodeClass::srvServer_Stop_ |
Definition at line 85 of file cob_head_axis.cpp.
ros::Publisher NodeClass::topicPub_JointState_ |
Definition at line 78 of file cob_head_axis.cpp.
ros::Subscriber NodeClass::topicSub_JointCommand_ |
Definition at line 81 of file cob_head_axis.cpp.
trajectory_msgs::JointTrajectory NodeClass::traj_ |
Definition at line 123 of file cob_head_axis.cpp.
trajectory_msgs::JointTrajectoryPoint NodeClass::traj_point_ |
Definition at line 124 of file cob_head_axis.cpp.
Definition at line 125 of file cob_head_axis.cpp.
double NodeClass::UpperLimit_ |
Definition at line 112 of file cob_head_axis.cpp.