public class ScheduledGotoPreview extends java.lang.Object implements IManeuverPreview<ScheduledGoto>
Modifier and Type | Field and Description |
---|---|
protected LocationType |
destination |
protected boolean |
finished |
protected ScheduledGoto |
maneuver |
protected double |
timeLeft |
Constructor and Description |
---|
ScheduledGotoPreview() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getState() |
boolean |
init(java.lang.String vehicleId,
ScheduledGoto man,
SystemPositionAndAttitude state,
java.lang.Object manState) |
boolean |
isFinished() |
void |
reset(SystemPositionAndAttitude state) |
SystemPositionAndAttitude |
step(SystemPositionAndAttitude state,
double timestep,
double ellapsedTime) |
protected LocationType destination
protected ScheduledGoto maneuver
protected double timeLeft
protected boolean finished
public boolean init(java.lang.String vehicleId, ScheduledGoto man, SystemPositionAndAttitude state, java.lang.Object manState)
init
in interface IManeuverPreview<ScheduledGoto>
public SystemPositionAndAttitude step(SystemPositionAndAttitude state, double timestep, double ellapsedTime)
step
in interface IManeuverPreview<ScheduledGoto>
public boolean isFinished()
isFinished
in interface IManeuverPreview<ScheduledGoto>
public void reset(SystemPositionAndAttitude state)
reset
in interface IManeuverPreview<ScheduledGoto>
public java.lang.Object getState()
getState
in interface IManeuverPreview<ScheduledGoto>
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.