SE2MultiRigidBodyPlanning.cpp
30 InferEnvironmentBounds(getGeometricComponentStateSpace(i), *static_cast<RigidBodyGeometry*>(this));
37 InferProblemDefinitionBounds(AppTypeSelector<AppType::GEOMETRIC>::SimpleSetup::getProblemDefinition(),
57 const ompl::base::State* ompl::app::SE2MultiRigidBodyPlanning::getGeometricComponentStateInternal(const ompl::base::State* state, unsigned int index) const
60 const auto* st = state->as<base::CompoundStateSpace::StateType>()->as<base::SE2StateSpace::StateType>(index);
A space to allow the composition of state spaces.
Definition: StateSpace.h:637
const base::State * getGeometricComponentStateInternal(const base::State *state, unsigned int index) const override
Returns the state corresponding to the indexth rigid body in the compound state.
Definition: SE2MultiRigidBodyPlanning.cpp:57
SE2MultiRigidBodyPlanning(unsigned int n)
Constructs an instance of multiple rigid bodies for 2D geometric planning. n is the number of indepen...
Definition: SE2MultiRigidBodyPlanning.cpp:15
Definition: AppBase.h:60
base::ScopedState getDefaultStartState() const override
Constructs the default start state where all robots begin at their geometric center....
Definition: SE2MultiRigidBodyPlanning.cpp:42
const base::ProblemDefinitionPtr & getProblemDefinition() const
Get the current instance of the problem definition.
Definition: SimpleSetup.h:144
unsigned int n_
The number of independent rigid bodies to plan for.
Definition: SE2MultiRigidBodyPlanning.h:96