OpenDEStatePropagator.cpp
43 ompl::control::OpenDEStatePropagator::OpenDEStatePropagator(const SpaceInformationPtr &si) : StatePropagator(si)
65 if ((b1 != nullptr) && (b2 != nullptr) && (dAreConnectedExcluding(b1, b2, dJointTypeContact) != 0))
101 void ompl::control::OpenDEStatePropagator::propagate(const base::State *state, const Control *control,
129 if ((state->as<OpenDEStateSpace::StateType>()->collision & (1 << OpenDEStateSpace::STATE_COLLISION_KNOWN_BIT)) == 0)
132 state->as<OpenDEStateSpace::StateType>()->collision &= (1 << OpenDEStateSpace::STATE_COLLISION_VALUE_BIT);
133 state->as<OpenDEStateSpace::StateType>()->collision &= (1 << OpenDEStateSpace::STATE_COLLISION_KNOWN_BIT);
A shared pointer wrapper for ompl::base::SpaceInformation.
OpenDEEnvironmentPtr env_
The OpenDE environment this state propagator operates on.
Definition: OpenDEStatePropagator.h:179
@ STATE_COLLISION_VALUE_BIT
Index of bit in StateType::collision indicating whether a state is in collision or not....
Definition: OpenDEStateSpace.h:192
OpenDEStatePropagator(const SpaceInformationPtr &si)
Construct a representation of OpenDE state propagator. If si->getStateSpace() does not cast to an Ope...
Definition: OpenDEStatePropagator.cpp:43
OpenDE State. This is a compound state that allows accessing the properties of the bodies the state s...
Definition: OpenDEStateSpace.h:175
Model the effect of controls on system states.
Definition: StatePropagator.h:125
@ STATE_COLLISION_KNOWN_BIT
Index of bit in StateType::collision indicating whether it is known if a state is in collision or not...
Definition: OpenDEStateSpace.h:186
bool canPropagateBackward() const override
Some systems can only propagate forward in time (i.e., the duration argument for the propagate() func...
Definition: OpenDEStatePropagator.cpp:137
This class contains the OpenDE constructs OMPL needs to know about when planning.
Definition: OpenDEEnvironment.h:130
void propagate(const base::State *state, const Control *control, double duration, base::State *result) const override
Propagate from a state, given a control, for some specified amount of time (the amount of time can al...
Definition: OpenDEStatePropagator.cpp:101
State space representing OpenDE states.
Definition: OpenDEStateSpace.h:114
The definition of a control in Rn
Definition: RealVectorControlSpace.h:129
double * values
An array of length n, representing the value of the control.
Definition: RealVectorControlSpace.h:147
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65