39 #include <actionlib/TwoIntsAction.h> 41 int main(
int argc,
char ** argv)
43 ros::init(argc, argv,
"add_two_ints_client");
53 actionlib::TwoIntsGoal req;
54 actionlib::TwoIntsResult resp;
56 req.a = atoi(argv[1]);
57 req.b = atoi(argv[2]);
59 if (client.
call(req, resp)) {
bool waitForServer(const ros::Duration &timeout=ros::Duration(0, 0))
#define ROS_INFO_NAMED(name,...)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
bool call(const Goal &goal, Result &result)