3 #include <actionlib_tutorials/FibonacciAction.h> 13 ROS_INFO(
"Waiting for action server to start.");
15 ROS_INFO(
"Action server started, sending goal.");
32 const FibonacciResultConstPtr&
result)
35 ROS_INFO(
"Answer: %i", result->sequence.back());
43 int main (
int argc,
char **argv)
45 ros::init(argc, argv,
"test_fibonacci_class_client");
int main(int argc, char **argv)
actionlib::SimpleActionClient< FibonacciAction > Client
boost::function< void(const FeedbackConstPtr &feedback)> SimpleFeedbackCallback
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
std::string toString() const
boost::function< void()> SimpleActiveCallback
void doneCb(const actionlib::SimpleClientGoalState &state, const FibonacciResultConstPtr &result)
ROSCPP_DECL void shutdown()