Go to the documentation of this file.
3 #include <actionlib_tutorials/FibonacciAction.h>
14 actionlib_tutorials::FibonacciResult
result_;
29 void executeCB(
const actionlib_tutorials::FibonacciGoalConstPtr &goal)
44 for(
int i=1; i<=goal->order; i++)
75 int main(
int argc,
char** argv)
actionlib::SimpleActionServer< actionlib_tutorials::FibonacciAction > as_
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
void executeCB(const actionlib_tutorials::FibonacciGoalConstPtr &goal)
bool isPreemptRequested()
void publishFeedback(const Feedback &feedback)
void setSucceeded(const Result &result=Result(), const std::string &text=std::string(""))
actionlib_tutorials::FibonacciFeedback feedback_
int main(int argc, char **argv)
void setPreempted(const Result &result=Result(), const std::string &text=std::string(""))
FibonacciAction(std::string name)
actionlib_tutorials::FibonacciResult result_