ScopedState.h
bool satisfiesBounds() const
Check if the maintained state satisfies bounds.
Definition: ScopedState.h:441
std::ostream & operator<<(std::ostream &stream, Cost c)
Output operator for Cost.
Definition: Cost.cpp:39
const StateSpacePtr & getSpace() const
Get the state space that the state corresponds to.
Definition: ScopedState.h:238
A shared pointer wrapper for ompl::base::SpaceInformation.
const ScopedState operator^(const ScopedState< T > &a, const ScopedState< Y > &b)
Given state a from state space A and state b from state space B, construct a state from state space A...
Definition: ScopedState.h:597
void print(std::ostream &out=std::cout) const
Print this state to a stream.
Definition: ScopedState.h:459
StateType * operator()() const
Returns a pointer to the contained state (used for Python bindings)
Definition: ScopedState.h:501
AdvancedStateCopyOperation copyStateData(const StateSpacePtr &destS, State *dest, const StateSpacePtr &sourceS, const State *source)
Copy data from source (state from space sourceS) to dest (state from space destS) on a component by c...
Definition: StateSpace.cpp:1236
ScopedState< T > & operator=(const ScopedState< T > &other)
Assignment operator.
Definition: ScopedState.h:244
std::vector< double > reals() const
Return the real values corresponding to this state. If a conversion is not possible,...
Definition: ScopedState.h:449
const ScopedState operator[](const StateSpacePtr &s) const
Extract a state that corresponds to the components in state space s. Those components will have the s...
Definition: ScopedState.h:606
const ScopedState< T > & operator>>(const ScopedState< T > &from, ScopedState< Y > &to)
This is a fancy version of the assignment operator. It is a partial assignment, in some sense....
Definition: ScopedState.h:586
bool operator!=(const ScopedState< O > &other) const
Checks equality of two states.
Definition: ScopedState.h:353
ScopedState(const SpaceInformationPtr &si)
Given the space that we are working with, allocate a state from the corresponding state space.
Definition: ScopedState.h:167
double distance(const ScopedState< O > &other) const
Compute the distance to another state.
Definition: ScopedState.h:413
bool operator==(const ScopedState< O > &other) const
Checks equality of two states.
Definition: ScopedState.h:337
A shared pointer wrapper for ompl::base::StateSpace.
A shared pointer wrapper for ompl::base::StateSampler.
std::shared_ptr< ScopedState<> > ScopedStatePtr
Shared pointer to a ScopedState<>
Definition: ScopedState.h:613
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65