public class SimulationEngine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected IManeuverPreview<?> |
curPreview |
protected boolean |
finished |
protected java.lang.String |
manId |
protected PlanType |
plan
The plan being simulated
|
static SimulatedBathymetry |
simBathym |
protected SystemPositionAndAttitude |
state |
protected double |
timestep
Time step between state updates
|
protected java.lang.String |
vehicleId |
Constructor and Description |
---|
SimulationEngine(PlanType plan) |
Modifier and Type | Method and Description |
---|---|
IManeuverPreview<?> |
getCurPreview() |
java.lang.String |
getManId() |
SystemPositionAndAttitude |
getState() |
double |
getTimestep() |
boolean |
isFinished() |
void |
setManeuverId(java.lang.String manId) |
protected void |
setSimulationState(pt.lsts.imc.EstimatedState state,
SimulationState simState) |
void |
setState(SystemPositionAndAttitude state) |
void |
simulationStep() |
protected PlanType plan
protected double timestep
protected java.lang.String vehicleId
protected java.lang.String manId
protected SystemPositionAndAttitude state
protected boolean finished
protected IManeuverPreview<?> curPreview
public static SimulatedBathymetry simBathym
public SimulationEngine(PlanType plan)
public boolean isFinished()
protected void setSimulationState(pt.lsts.imc.EstimatedState state, SimulationState simState)
public void setManeuverId(java.lang.String manId) throws java.lang.Exception
java.lang.Exception
public void simulationStep()
public double getTimestep()
public final SystemPositionAndAttitude getState()
public final void setState(SystemPositionAndAttitude state)
state
- the state to setpublic final java.lang.String getManId()
public final IManeuverPreview<?> getCurPreview()
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.