JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.EOSscheduling
Class SlewMotor

java.lang.Object
  extended bygov.nasa.javaGenes.EOSscheduling.Slewable
      extended bygov.nasa.javaGenes.EOSscheduling.SlewMotor
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SlewMotorNone

public class SlewMotor
extends Slewable

See Also:
Serialized Form

Field Summary
protected  double maximum
           
protected  CrossTrackSlew maximumSlew
           
protected  double minimum
           
protected  CrossTrackSlew minimumSlew
           
protected  double rate
           
protected  java.util.Vector sensors
           
protected  double slop
           
 
Fields inherited from class gov.nasa.javaGenes.EOSscheduling.Slewable
slewTimeline
 
Constructor Summary
SlewMotor()
           
SlewMotor(double inRate, double inMinimum, double inMaximum, Horizon horizon, int typicalTakeImageTime)
           
 
Method Summary
 void addSensor(Sensor s)
           
 boolean equivalent(SlewRequirement one, SlewRequirement other)
           
 double getMaxAbsoluteSlew()
           
 int getMaxSlewTimeFrom(SlewRequirement slew)
           
 Sensor[] getSensors()
           
 boolean isWithinLimits(SlewRequirement s)
           
 void setSlop(double inSlop)
           
 int slewTime(SlewRequirement from, SlewRequirement to)
           
 
Methods inherited from class gov.nasa.javaGenes.EOSscheduling.Slewable
getSlewTimeline, getTotalSlewTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SlewMotor

public SlewMotor()

SlewMotor

public SlewMotor(double inRate,
                 double inMinimum,
                 double inMaximum,
                 Horizon horizon,
                 int typicalTakeImageTime)
Method Detail

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

JavaGenes, NASA Ames. Written largely by Al Globus