4 #include <actionlib_tutorials/AveragingAction.h>     5 #include <boost/thread.hpp>    12 int main (
int argc, 
char **argv)
    20   ROS_INFO(
"Waiting for action server to start.");
    23   ROS_INFO(
"Action server started, sending goal.");
    25   actionlib_tutorials::AveragingGoal goal;
    32   if (finished_before_timeout)
    38     ROS_INFO(
"Action did not finish before the time out.");
 bool waitForServer(const ros::Duration &timeout=ros::Duration(0, 0)) const 
bool waitForResult(const ros::Duration &timeout=ros::Duration(0, 0))
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
std::string toString() const 
int main(int argc, char **argv)
void sendGoal(const Goal &goal, SimpleDoneCallback done_cb=SimpleDoneCallback(), SimpleActiveCallback active_cb=SimpleActiveCallback(), SimpleFeedbackCallback feedback_cb=SimpleFeedbackCallback())
ROSCPP_DECL void shutdown()
SimpleClientGoalState getState() const