gov.nasa.javaGenes.EOSscheduling
Class SlewMotor
java.lang.Object
gov.nasa.javaGenes.EOSscheduling.Slewable
gov.nasa.javaGenes.EOSscheduling.SlewMotor
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- SlewMotorNone
- public class SlewMotor
- extends Slewable
- See Also:
- Serialized Form
Constructor Summary |
SlewMotor()
|
SlewMotor(double inRate,
double inMinimum,
double inMaximum,
Horizon horizon,
int typicalTakeImageTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rate
protected double rate
minimum
protected double minimum
maximum
protected double maximum
minimumSlew
protected CrossTrackSlew minimumSlew
maximumSlew
protected CrossTrackSlew maximumSlew
slop
protected double slop
sensors
protected java.util.Vector sensors
SlewMotor
public SlewMotor()
SlewMotor
public SlewMotor(double inRate,
double inMinimum,
double inMaximum,
Horizon horizon,
int typicalTakeImageTime)
addSensor
public void addSensor(Sensor s)
getSensors
public Sensor[] getSensors()
setSlop
public void setSlop(double inSlop)
isWithinLimits
public boolean isWithinLimits(SlewRequirement s)
- Specified by:
isWithinLimits
in class Slewable
slewTime
public int slewTime(SlewRequirement from,
SlewRequirement to)
- Specified by:
slewTime
in class Slewable
getMaxSlewTimeFrom
public int getMaxSlewTimeFrom(SlewRequirement slew)
getMaxAbsoluteSlew
public double getMaxAbsoluteSlew()
equivalent
public boolean equivalent(SlewRequirement one,
SlewRequirement other)
- Specified by:
equivalent
in class Slewable