44 std::vector<msgs::StepPlan> result;
45 msgs::StepPlan step_plan;
56 msgs::StepPlan result;
64 msgs::StepPlan result;
74 std::vector<msgs::StepPlan> step_plans;
76 msgs::StepPlan current_step_plan;
78 step_plans.push_back(current_step_plan);
79 step_plans.push_back(*step_plan);
127 const msgs::EditStepGoalConstPtr&
goal(as->acceptNewGoal());
130 if (as->isPreemptRequested())
136 msgs::EditStepResult result;
147 const msgs::SetStepPlanGoalConstPtr&
goal(as->acceptNewGoal());
150 if (as->isPreemptRequested())
156 msgs::SetStepPlanResult result;
169 if (as->isPreemptRequested())
175 msgs::GetStepPlanResult result;
177 as->setSucceeded(result, toString(result.status));
182 const msgs::StitchStepPlanGoalConstPtr&
goal(as->acceptNewGoal());
185 if (as->isPreemptRequested())
191 msgs::StitchStepPlanResult result;
201 int main(
int argc,
char **argv)
203 ros::init(argc, argv,
"vigir_global_footstep_planner");
212 vigir_generic_params::ParameterManager::initialize(nh);
213 vigir_pluginlib::PluginManager::initialize(nh);
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)
ROSCPP_DECL void spin(Spinner &spinner)
const std::string & getNamespace() const