Calibrate the Hekateros robotic manipulator action server class. More...
#include <hekateros_as_calib.h>
Public Member Functions | |
ASCalibrate (std::string name, HekaterosControl &node) | |
Initialization constructor. | |
void | execute_cb (const CalibrateGoalConstPtr &goal) |
ROS callback to execute action. | |
void | preempt_cb () |
ROS callback to preempt action. | |
void | start () |
Start the action server. | |
virtual | ~ASCalibrate () |
Destructor. | |
Protected Attributes | |
std::string | action_name_ |
action name | |
actionlib::SimpleActionServer < CalibrateAction > | as_ |
action simple server | |
CalibrateFeedback | feedback_ |
progress feedback | |
HekaterosControl & | node_ |
hekateros control node instance | |
CalibrateResult | result_ |
action results |
Calibrate the Hekateros robotic manipulator action server class.
Definition at line 102 of file hekateros_as_calib.h.
hekateros_control::ASCalibrate::ASCalibrate | ( | std::string | name, |
HekaterosControl & | node | ||
) | [inline] |
Initialization constructor.
name | Action server name. |
node | Node-specific class instance. |
Definition at line 111 of file hekateros_as_calib.h.
virtual hekateros_control::ASCalibrate::~ASCalibrate | ( | ) | [inline, virtual] |
Destructor.
Definition at line 132 of file hekateros_as_calib.h.
void ASCalibrate::execute_cb | ( | const CalibrateGoalConstPtr & | goal | ) |
ROS callback to execute action.
The callback is executed in a separate ROS-created thread so that it can block.Typically, the callback is invoked within a ROS spin.
Definition at line 100 of file hekateros_as_calib.cpp.
void ASCalibrate::preempt_cb | ( | ) |
ROS callback to preempt action.
This is only needed if actions are required outside of the blocking execution callback thread.
Definition at line 175 of file hekateros_as_calib.cpp.
void hekateros_control::ASCalibrate::start | ( | void | ) | [inline] |
Start the action server.
Definition at line 139 of file hekateros_as_calib.h.
std::string hekateros_control::ASCalibrate::action_name_ [protected] |
action name
Definition at line 161 of file hekateros_as_calib.h.
actionlib::SimpleActionServer<CalibrateAction> hekateros_control::ASCalibrate::as_ [protected] |
action simple server
Definition at line 165 of file hekateros_as_calib.h.
CalibrateFeedback hekateros_control::ASCalibrate::feedback_ [protected] |
progress feedback
Definition at line 166 of file hekateros_as_calib.h.
HekaterosControl& hekateros_control::ASCalibrate::node_ [protected] |
hekateros control node instance
Definition at line 162 of file hekateros_as_calib.h.
CalibrateResult hekateros_control::ASCalibrate::result_ [protected] |
action results
Definition at line 167 of file hekateros_as_calib.h.