PathSection.cpp
49 FiberedProjectionPtr projection = std::static_pointer_cast<FiberedProjection>(graph->getProjection());
74 FiberedProjectionPtr projection = std::static_pointer_cast<FiberedProjection>(graph->getProjection());
106 double locationOnBasePath = restriction_->getLengthBasePathUntil(sectionBaseStateIndices_.at(k));
173 FiberedProjectionPtr projection = std::static_pointer_cast<FiberedProjection>(graph->getProjection());
219 FiberedProjectionPtr projection = std::static_pointer_cast<FiberedProjection>(graph->getProjection());
271 FiberedProjectionPtr projection = std::static_pointer_cast<FiberedProjection>(graph->getProjection());
296 BundleSpaceGraph::Configuration *PathSection::addFeasibleSegment(Configuration *xLast, ompl::base::State *sNext)
void interpolateL2(HeadPtr &)
Definition: PathSection.cpp:250
std::ostream & operator<<(std::ostream &stream, Cost c)
Output operator for Cost.
Definition: Cost.cpp:39
base::State * at(int k) const
Methods to access sections like std::vector.
Definition: PathSection.cpp:147
A configuration in Bundle-space.
Definition: BundleSpaceGraph.h:128
Representation of path restriction (union of fibers over a base path).
Definition: PathRestriction.h:132
void interpolateL1FiberLast(HeadPtr &)
Definition: PathSection.cpp:208
void project(const ompl::base::State *xBundle, ompl::base::State *xBase) const
Bundle Space Projection Operator onto first component ProjectBase: Bundle \rightarrow Base.
Definition: BundleSpace.cpp:464
Configuration * addFeasibleSegment(Configuration *xLast, base::State *sNext)
Add vertex for sNext and edge to xLast by assuming motion is valid
Definition: PathSection.cpp:296
This namespace contains datastructures and planners to exploit multilevel abstractions,...
Definition: MultiLevelPlanarManipulatorDemo.cpp:67
std::pair< base::State *, double > lastValid_
Last valid state on feasible segment.
Definition: PathSection.h:235
void interpolateL1FiberFirst(HeadPtr &)
Interpolate along restriction using L1 metric.
Definition: PathSection.cpp:162
BundleSpaceGraph * getBundleSpaceGraph()
Return pointer to underlying bundle space graph.
Definition: PathRestriction.cpp:87
const ompl::base::SpaceInformationPtr & getBundle() const
Get SpaceInformationPtr for Bundle.
Definition: BundleSpace.cpp:323
const ompl::base::SpaceInformationPtr & getBase() const
Get SpaceInformationPtr for Base.
Definition: BundleSpace.cpp:328
ProjectionPtr getProjection() const
Get ProjectionPtr from Bundle to Base.
Definition: BundleSpace.cpp:226
std::vector< base::State * > section_
Interpolated section along restriction.
Definition: PathSection.h:230
unsigned int getCoDimension() const
Dimension of Bundle Space - Dimension of Base Space.
Definition: BundleSpace.cpp:346
virtual Vertex addConfiguration(Configuration *q)
Add configuration to graph. Return its vertex in boost graph.
Definition: BundleSpaceGraph.cpp:354
void addGoalConfiguration(Configuration *x)
Add configuration to graph as goal vertex.
Definition: BundleSpaceGraph.cpp:581
double getLengthBasePathUntil(int k)
Cumulative length until base state index k.
Definition: PathRestriction.cpp:176
virtual void addBundleEdge(const Configuration *a, const Configuration *b)
Add edge between configuration a and configuration b to graph.
Definition: BundleSpaceGraph.cpp:349
normalized_index_type index
Index of configuration in boost::graph. Usually in the interval [0,num_vertices(graph)],...
Definition: BundleSpaceGraph.h:173
unsigned int size() const
Return number of discrete states in base path.
Definition: PathRestriction.cpp:160
const std::vector< base::State * > & getBasePath() const
Return discrete states representation of base path.
Definition: PathRestriction.cpp:150
const base::State * getBaseStateAt(int k) const
Return State at index k on base path.
Definition: PathRestriction.cpp:165
Representation of a path section (not necessarily feasible).
Definition: PathSection.h:128