File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
include/hpp/manipulation/path-planner Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,10 @@ class HPP_MANIPULATION_DLLAPI TransitionPlanner : public core::PathPlanner {
131131 // / \param id index of the edge in the constraint graph
132132 void setEdge (std::size_t id);
133133
134+ // / Set transition along which we wish to plan a path
135+ // / \param transition shared pointer to the transition
136+ void setEdge (const graph::EdgePtr_t& transition);
137+
134138 // / Create a Reeds and Shepp steering method and path it to the problem.
135139 void setReedsAndSheppSteeringMethod (double turningRadius);
136140
Original file line number Diff line number Diff line change @@ -186,6 +186,10 @@ core::PathVectorPtr_t TransitionPlanner::timeParameterization(
186186
187187void TransitionPlanner::setEdge (std::size_t id) {
188188 graph::EdgePtr_t edge (getEdgeOrThrow (id));
189+ setEdge (edge);
190+ }
191+
192+ void TransitionPlanner::setEdge (const graph::EdgePtr_t& edge) {
189193 innerProblem_->constraints (edge->pathConstraint ());
190194 innerProblem_->pathValidation (edge->pathValidation ());
191195 innerProblem_->steeringMethod (edge->steeringMethod ());
You can’t perform that action at this time.
0 commit comments