MorseEnvironment.h
bool simRunning_
Indicates whether the simulation has been shut down externally.
Definition: MorseEnvironment.h:99
This class contains the MORSE constructs OMPL needs to know about when planning.
Definition: MorseEnvironment.h:67
virtual void worldStep(const double dur)=0
Proceed with the simulation for the given number of seconds.
std::vector< double > linvelBounds_
Upper and lower bounds on linear velocity in each spatial dimension.
Definition: MorseEnvironment.h:84
virtual void applyControl(const std::vector< double > &control)=0
Configure simulation to proceed under a new control.
const unsigned int controlDim_
The dimension of the control space for this simulation.
Definition: MorseEnvironment.h:72
boost::mutex mutex_
Lock to use when performing simulations in the world.
Definition: MorseEnvironment.h:102
const std::vector< double > controlBounds_
Upper and lower bounds for each control dimension.
Definition: MorseEnvironment.h:75
void getControlBounds(std::vector< double > &lower, std::vector< double > &upper) const
Get the control bounds – the bounding box in which to sample controls.
Definition: MorseEnvironment.cpp:39
virtual void readState(State *state)=0
Query the internal state of the simulation.
unsigned int minControlSteps_
The minimum number of times a control is applied in sequence.
Definition: MorseEnvironment.h:93
unsigned int maxControlSteps_
The maximum number of times a control is applied in sequence.
Definition: MorseEnvironment.h:96
std::vector< double > positionBounds_
Upper and lower bounds on position in each spatial dimension.
Definition: MorseEnvironment.h:81
const unsigned int rigidBodies_
The number of rigid bodies in the simulation.
Definition: MorseEnvironment.h:78
virtual void writeState(const State *state)=0
Overwrite the internal state of the simulation.
std::vector< double > angvelBounds_
Upper and lower bounds on angular velocity in each spatial dimension.
Definition: MorseEnvironment.h:87