Skip to content

Commit

Permalink
[exotica_ompl_solver] Use RN for planar base to work around #629
Browse files Browse the repository at this point in the history
  • Loading branch information
wxmerkt committed Jul 11, 2019
1 parent 7912f40 commit 3828732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exotations/solvers/exotica_ompl_solver/src/ompl_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void OMPLSolver<ProblemType>::SpecifyProblem(PlanningProblemPtr pointer)
if (prob_->GetScene()->GetKinematicTree().GetControlledBaseType() == BaseType::FIXED)
state_space_.reset(new OMPLRNStateSpace(init_));
else if (prob_->GetScene()->GetKinematicTree().GetControlledBaseType() == BaseType::PLANAR)
state_space_.reset(new OMPLSE2RNStateSpace(init_));
state_space_.reset(new OMPLRNStateSpace(init_)); // NB: We have a dedicated OMPLSE2RNStateSpace, however, for now we cannot set orientation bounds on it - as thus we are using the RN here. Cf. issue #629.
else if (prob_->GetScene()->GetKinematicTree().GetControlledBaseType() == BaseType::FLOATING)
state_space_.reset(new OMPLSE3RNStateSpace(init_));
else
Expand Down

0 comments on commit 3828732

Please sign in to comment.