public class StationKeepingPreview extends java.lang.Object implements IManeuverPreview<StationKeeping>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
arrived |
protected LocationType |
destination |
protected double |
duration |
protected boolean |
finished |
protected double |
maxTime |
protected double |
sk_time |
protected double |
speed |
| Constructor and Description |
|---|
StationKeepingPreview() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getState() |
boolean |
init(java.lang.String vehicleId,
StationKeeping man,
SystemPositionAndAttitude state,
java.lang.Object manState) |
boolean |
isFinished() |
void |
reset(SystemPositionAndAttitude state) |
SystemPositionAndAttitude |
step(SystemPositionAndAttitude state,
double timestep) |
protected LocationType destination
protected double speed
protected boolean finished
protected double sk_time
protected double maxTime
protected double duration
protected boolean arrived
public boolean init(java.lang.String vehicleId,
StationKeeping man,
SystemPositionAndAttitude state,
java.lang.Object manState)
init in interface IManeuverPreview<StationKeeping>public SystemPositionAndAttitude step(SystemPositionAndAttitude state, double timestep)
step in interface IManeuverPreview<StationKeeping>public boolean isFinished()
isFinished in interface IManeuverPreview<StationKeeping>public void reset(SystemPositionAndAttitude state)
reset in interface IManeuverPreview<StationKeeping>public java.lang.Object getState()
getState in interface IManeuverPreview<StationKeeping>Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.