Skip to content

Commit

Permalink
Simplify solver config
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Oct 11, 2023
1 parent dcfa011 commit 818f7f3
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions demo/src/fallbacks_move_to.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,11 @@ int main(int argc, char** argv) {
auto cartesian = std::make_shared<solvers::CartesianPath>();
cartesian->setJumpThreshold(2.0);

const auto ptp = []() {
auto pp{ std::make_shared<solvers::PipelinePlanner>("pilz_industrial_motion_planner") };
pp->setPlannerId("PTP");
return pp;
}();

const auto rrtconnect = []() {
auto pp{ std::make_shared<solvers::PipelinePlanner>("ompl") };
pp->setPlannerId("RRTConnect");
return pp;
}();
auto ptp = std::make_shared<solvers::PipelinePlanner>("pilz_industrial_motion_planner");
ptp->setPlannerId("PTP");

auto rrtconnect = std::make_shared<solvers::PipelinePlanner>("ompl");
rrtconnect->setPlannerId("RRTConnect");

// target end state for all Task plans
std::map<std::string, double> target_state;
Expand Down

0 comments on commit 818f7f3

Please sign in to comment.