public class LoiterPreview extends java.lang.Object implements IManeuverPreview<Loiter>
Modifier and Type | Field and Description |
---|---|
protected boolean |
clockwise |
protected LocationType |
destination |
protected double |
duration |
protected boolean |
enteredLoiter |
protected boolean |
finished |
protected double |
loiterTime |
protected java.lang.String |
loiterType |
protected double |
radius |
protected double |
speed |
Constructor and Description |
---|
LoiterPreview() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getState() |
boolean |
init(java.lang.String vehicleId,
Loiter 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 double radius
protected double duration
protected boolean finished
protected boolean clockwise
protected java.lang.String loiterType
protected double loiterTime
protected boolean enteredLoiter
public boolean init(java.lang.String vehicleId, Loiter man, SystemPositionAndAttitude state, java.lang.Object manState)
init
in interface IManeuverPreview<Loiter>
public SystemPositionAndAttitude step(SystemPositionAndAttitude state, double timestep)
step
in interface IManeuverPreview<Loiter>
public boolean isFinished()
isFinished
in interface IManeuverPreview<Loiter>
public void reset(SystemPositionAndAttitude state)
reset
in interface IManeuverPreview<Loiter>
public java.lang.Object getState()
getState
in interface IManeuverPreview<Loiter>
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.