public class ElevatorPreview extends java.lang.Object implements IManeuverPreview<Elevator>
Modifier and Type | Field and Description |
---|---|
protected boolean |
clockwise |
protected ManeuverLocation |
destination |
protected double |
endZ |
protected boolean |
finished |
protected java.lang.String |
loiterType |
protected double |
radius |
protected double |
speed |
protected double |
startZ |
Constructor and Description |
---|
ElevatorPreview() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getState() |
boolean |
init(java.lang.String vehicleId,
Elevator man,
SystemPositionAndAttitude state,
java.lang.Object manState) |
boolean |
isFinished() |
void |
reset(SystemPositionAndAttitude state) |
SystemPositionAndAttitude |
step(SystemPositionAndAttitude state,
double timestep,
double ellapsedTime) |
protected ManeuverLocation destination
protected double speed
protected double radius
protected double startZ
protected double endZ
protected boolean finished
protected boolean clockwise
protected java.lang.String loiterType
public boolean init(java.lang.String vehicleId, Elevator man, SystemPositionAndAttitude state, java.lang.Object manState)
init
in interface IManeuverPreview<Elevator>
public SystemPositionAndAttitude step(SystemPositionAndAttitude state, double timestep, double ellapsedTime)
step
in interface IManeuverPreview<Elevator>
public java.lang.Object getState()
getState
in interface IManeuverPreview<Elevator>
public boolean isFinished()
isFinished
in interface IManeuverPreview<Elevator>
public void reset(SystemPositionAndAttitude state)
reset
in interface IManeuverPreview<Elevator>
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.