6 : pattern_generator(nh)
9 nh.
param(
"pattern_generator/update_rate", update_rate, 10.0);
23 execute_step_plan_ac = SimpleActionClient<msgs::ExecuteStepPlanAction>::create(nh,
"execute_step_plan");
58 msgs::StepPlan complete_step_plan;
62 msgs::ExecuteStepPlanGoal goal;
66 goal.step_plan = complete_step_plan;
72 SimpleActionClient<msgs::ExecuteStepPlanAction>::SimpleDoneCallback(),
73 SimpleActionClient<msgs::ExecuteStepPlanAction>::SimpleActiveCallback(),
79 int main(
int argc,
char **argv)
81 ros::init(argc, argv,
"vigir_pattern_generator");
void publish(const boost::shared_ptr< M > &message) const
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
Timer createTimer(Rate r, Handler h, Obj o, bool oneshot=false, bool autostart=true) const
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
int main(int argc, char **argv)