SE2RN_R2.cpp
48 Projection_SE2RN_R2::Projection_SE2RN_R2(ompl::base::StateSpacePtr BundleSpace, ompl::base::StateSpacePtr BaseSpace)
54 void Projection_SE2RN_R2::projectFiber(const ompl::base::State *xBundle, ompl::base::State *xFiber) const
56 const auto *xBundle_SE2 = xBundle->as<base::CompoundState>()->as<base::SE2StateSpace::StateType>(0);
57 const auto *xBundle_RN = xBundle->as<base::CompoundState>()->as<base::RealVectorStateSpace::StateType>(1);
60 auto *xFiber_RN = xFiber->as<base::CompoundState>()->as<base::RealVectorStateSpace::StateType>(1);
69 void Projection_SE2RN_R2::project(const ompl::base::State *xBundle, ompl::base::State *xBase) const
71 const auto *xBundle_SE2 = xBundle->as<base::CompoundState>()->as<base::SE2StateSpace::StateType>(0);
81 auto *xBundle_RN = xBundle->as<base::CompoundState>()->as<base::RealVectorStateSpace::StateType>(1);
85 const auto *xFiber_SO2 = xFiber->as<base::CompoundState>()->as<base::SO2StateSpace::StateType>(0);
86 const auto *xFiber_RN = xFiber->as<base::CompoundState>()->as<base::RealVectorStateSpace::StateType>(1);
This namespace contains datastructures and planners to exploit multilevel abstractions,...
Definition: MultiLevelPlanarManipulatorDemo.cpp:67
ompl::base::State StateType
Define the type of state allocated by this space.
Definition: StateSpace.h:142
A shared pointer wrapper for ompl::base::StateSpace.