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