38 #include <actionlib/TestAction.h> 85 for (
unsigned int i = 0; i < 100; i++) {
100 int main(
int argc,
char ** argv)
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
void setSucceeded(const Result &result=Result(), const std::string &text=std::string(""))
Sets the status of the active goal to succeeded.
void start()
Explicitly start the action server, used it auto_start is set to false.
#define ROS_DEBUG_NAMED(name,...)
void setPreempted(const Result &result=Result(), const std::string &text=std::string(""))
Sets the status of the active goal to preempted.
void executeCallback(const TestGoalConstPtr &goal)
ServerGoalHandle< TestAction > GoalHandle
bool isPreemptRequested()
Allows polling implementations to query about preempt requests.
Encapsulates a state machine for a given goal that the user can trigger transitions on...
void setAborted(const Result &result=Result(), const std::string &text=std::string(""))
Sets the status of the active goal to aborted.
SimpleActionServer< TestAction > as_