void ompl::control::Syclop::setup() { base::Planner::setup(); if (!leadComputeFn) setLeadComputeFn(boost::bind(&ompl::control::Syclop::defaultComputeLead, this, _1, _2, _3)); buildGraph(); addEdgeCostFactor(boost::bind(&ompl::control::Syclop::defaultEdgeCost, this, _1, _2)); }
void ompl::control::Syclop::setup() { base::Planner::setup(); if (!leadComputeFn) setLeadComputeFn(std::bind(&ompl::control::Syclop::defaultComputeLead, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3)); buildGraph(); addEdgeCostFactor(std::bind(&ompl::control::Syclop::defaultEdgeCost, this, std::placeholders::_1, std::placeholders::_2)); }
void ompl::control::Syclop::setup() { base::Planner::setup(); if (!leadComputeFn) setLeadComputeFn([this](int startRegion, int goalRegion, std::vector<int> &lead) { defaultComputeLead(startRegion, goalRegion, lead); }); buildGraph(); addEdgeCostFactor([this](int r, int s) { return defaultEdgeCost(r, s); }); }
void ompl::control::Syclop::setup(void) { base::Planner::setup(); buildGraph(); addEdgeCostFactor(boost::bind(&ompl::control::Syclop::defaultEdgeCost, this, _1, _2)); }