00001 #include <actionlib_tutorials/FibonacciAction.h> 00002 #include <bwi_interruptable_action_server/interruptable_action_server.h> 00003 #include <ros/ros.h> 00004 00005 using namespace bwi_interruptable_action_server; 00006 00007 int main(int argc, char *argv[]) { 00008 ros::init(argc, argv, "fibonacci_interruptable_action_server"); 00009 ros::NodeHandle nh; 00010 00011 InterruptableActionServer<actionlib_tutorials::FibonacciAction> as(nh, "fibonacci"); 00012 as.spin(); 00013 00014 return 0; 00015 }