MorseSimpleSetup.h
void playPath(const base::PathPtr &path) const
Set the MORSE world to the states that are contained in a given path, sequentially.
Definition: MorseSimpleSetup.cpp:104
const base::MorseEnvironmentPtr env_
Pointer to the environment representing the MORSE simulation.
Definition: MorseSimpleSetup.h:150
base::ScopedState< base::MorseStateSpace > getCurrentState() const
Get the current MORSE state (read parameters from MORSE bodies)
Definition: MorseSimpleSetup.cpp:53
base::PathPtr simulate(unsigned int steps) const
Simulate the MORSE environment forward for steps simulation steps, using the null control (ompl::cont...
Definition: MorseSimpleSetup.cpp:162
MorseSimpleSetup(const base::MorseEnvironmentPtr &env)
The control space is assumed to be MorseControlSpace. The state space is assumed to be MorseStateSpac...
Definition: MorseSimpleSetup.cpp:45
void playSolutionPath() const
Call playPath() on the solution path, if one is available.
Definition: MorseSimpleSetup.cpp:98
void setup() override
This method will create the necessary classes for planning. The solve() method will call this functio...
Definition: MorseSimpleSetup.cpp:70
const base::MorseEnvironmentPtr & getEnvironment() const
Get the MORSE environment associated with this setup.
Definition: MorseSimpleSetup.h:163
base::PathPtr simulateControl(const double *control, unsigned int steps) const
Simulate the MORSE environment forward for steps simulation steps, using the control control....
Definition: MorseSimpleSetup.cpp:135
void setCurrentState(const base::ScopedState<> &state)
Set the current MORSE state (set parameters for MORSE bodies)
Definition: MorseSimpleSetup.cpp:65
base::PlannerStatus solve()
Run the planner until solution is found or user shuts down MORSE.
Definition: MorseSimpleSetup.cpp:91