BundleSpace.h
74 ompl::base::PlannerStatus solve(const ompl::base::PlannerTerminationCondition &ptc) override final;
static unsigned int counter_
Internal counter to track multiple bundle spaces.
Definition: BundleSpace.h:357
A shared pointer wrapper for ompl::base::Path.
A shared pointer wrapper for ompl::base::SpaceInformation.
BundleSpace(const ompl::base::SpaceInformationPtr &si, BundleSpace *baseSpace_=nullptr)
Bundle Space contains three primary characters, the bundle space, the base space and the projection.
Definition: BundleSpace.cpp:60
void sanityChecks() const
Check if Bundle-space has correct structure.
Definition: BundleSpace.cpp:174
bool firstRun_
Variable to check if this bundle space planner has been run at.
Definition: BundleSpace.h:367
const SpaceInformationPtr & getSpaceInformation() const
Get the space information this planner is using.
Definition: Planner.cpp:66
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
void setParent(BundleSpace *parent)
Pointer to k+1 th bundle space (locally the total space)
Definition: BundleSpace.cpp:404
virtual void setup() override
Perform extra configuration steps, if needed. This call will also issue a call to ompl::base::SpaceIn...
Definition: BundleSpace.cpp:134
unsigned int id_
Identity of space (to keep track of number of Bundle-spaces created)
Definition: BundleSpace.h:360
virtual void setProblemDefinition(const ompl::base::ProblemDefinitionPtr &pdef) override
Set the problem definition for the planner. The problem needs to be set before calling solve()....
Definition: BundleSpace.cpp:206
A shared pointer wrapper for ompl::base::OptimizationObjective.
bool makeProjection()
Given bundle space and base space, try to guess the right.
Definition: BundleSpace.cpp:101
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
void setChild(BundleSpace *child)
Pointer to k-1 th bundle space (locally the base space)
Definition: BundleSpace.cpp:394
ProjectionPtr getProjection() const
Get ProjectionPtr from Bundle to Base.
Definition: BundleSpace.cpp:226
Encapsulate a termination condition for a motion planner. Planners will call operator() to decide whe...
Definition: PlannerTerminationCondition.h:127
virtual void clear() override
Clear all internal datastructures. Planner settings are not affected. Subsequent calls to solve() wil...
Definition: BundleSpace.cpp:164
virtual void print(std::ostream &out) const
Internal function implementing actual printing to stream.
Definition: BundleSpace.cpp:469
virtual bool hasConverged()
Check if the current space can still be sampled.
Definition: BundleSpace.cpp:374
A class to store the exit status of Planner::solve()
Definition: PlannerStatus.h:112
void setProjection(ProjectionPtr projection)
Set explicit projection (so that we do not need to guess.
Definition: BundleSpace.cpp:216
A shared pointer wrapper for ompl::base::ProblemDefinition.
unsigned int getCoDimension() const
Dimension of Bundle Space - Dimension of Base Space.
Definition: BundleSpace.cpp:346
virtual bool getSolution(ompl::base::PathPtr &solution)=0
Return best solution.
void lift(const ompl::base::State *xBase, ompl::base::State *xBundle) const
Lift a state from Base to Bundle.
Definition: BundleSpace.cpp:459
BundleSpace * getChild() const
Return k-1 th bundle space (locally the base space)
Definition: BundleSpace.cpp:389
BundleSpacePropagatorPtr propagator_
Propagator (steering or interpolation) on bundle space. Note: currently just a stub for base::StatePr...
Definition: BundleSpace.h:377
A shared pointer wrapper for ompl::base::StateSpace.
BundleSpace * getParent() const
Return k+1 th bundle space (locally the total space)
Definition: BundleSpace.cpp:399
A shared pointer wrapper for ompl::base::StateSampler.
virtual double getImportance() const =0
Compute importance of bundle space (to decide where to.
A shared pointer wrapper for ompl::base::ValidStateSampler.
ompl::base::State * allocIdentityStateBundle() const
Allocate State, set entries to Identity/Zero.
Definition: BundleSpace.cpp:313
Abstract definition of a goal region that can be sampled.
Definition: GoalSampleableRegion.h:111
virtual bool isInfeasible()
Check if any infeasibility guarantees are fulfilled.
Definition: BundleSpace.cpp:369
friend std::ostream & operator<<(std::ostream &, const BundleSpace &)
Write class to stream (use as std::cout << *this << std::endl)
Definition: BundleSpace.cpp:478
void checkBundleSpaceMeasure(std::string name, const ompl::base::StateSpacePtr space) const
Check if Bundle-space is bounded.
Definition: BundleSpace.cpp:190