JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.EOSscheduling
Class Sensor

java.lang.Object
  extended bygov.nasa.javaGenes.EOSscheduling.Sensor
All Implemented Interfaces:
java.io.Serializable

public class Sensor
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  AvailabilityTimeline availableTimeline
           
protected  Horizon horizon
           
protected  int number
           
protected  Satellite satellite
           
protected  SensorType sensorType
           
protected  SlewMotor slewMotor
           
protected  int typicalTakeImageTime
           
 
Constructor Summary
Sensor(Satellite inSatellite, SensorType inSensorType, Horizon inHorizon, int inTypicalTakeImageTime)
          must be called by all Sensor and subclass constructors to assign numbers and maintain allSensor's list
 
Method Summary
 void assertOk()
           
 AvailabilityTimeline getAvailabilityTimeline()
           
 double getMaxAbsoluteSlew()
           
 int getMaxSlewTimeFrom(SlewRequirement slew)
           
 int getNumber()
           
 Satellite getSatellite()
           
 SensorType getSensorType()
           
 SlewMotor getSlewMotor()
           
 SlewRequirement getSlewRequirement(PointingRequirement pointingRequirement)
           
 SlewTimeline getSlewTimeline()
           
 void setDutyCycles(DutyCycleConstraint[] dutyCycles)
           
 void setSlewMotor(SlewMotor inSlewMotor)
           
 void setupOk()
           
 boolean slewTimeAdequate(int time, SlewRequirement s1, SlewRequirement s2)
           
 void timelinesOk()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

satellite

protected Satellite satellite

sensorType

protected SensorType sensorType

number

protected int number

availableTimeline

protected AvailabilityTimeline availableTimeline

slewMotor

protected SlewMotor slewMotor

horizon

protected Horizon horizon

typicalTakeImageTime

protected int typicalTakeImageTime
Constructor Detail

Sensor

public Sensor(Satellite inSatellite,
              SensorType inSensorType,
              Horizon inHorizon,
              int inTypicalTakeImageTime)
must be called by all Sensor and subclass constructors to assign numbers and maintain allSensor's list

Method Detail

setDutyCycles

public void setDutyCycles(DutyCycleConstraint[] dutyCycles)

getSatellite

public Satellite getSatellite()

setSlewMotor

public void setSlewMotor(SlewMotor inSlewMotor)

getMaxAbsoluteSlew

public double getMaxAbsoluteSlew()

getSlewMotor

public SlewMotor getSlewMotor()

getMaxSlewTimeFrom

public int getMaxSlewTimeFrom(SlewRequirement slew)

slewTimeAdequate

public boolean slewTimeAdequate(int time,
                                SlewRequirement s1,
                                SlewRequirement s2)

getNumber

public int getNumber()

getSensorType

public SensorType getSensorType()

assertOk

public void assertOk()

setupOk

public void setupOk()

timelinesOk

public void timelinesOk()

getAvailabilityTimeline

public AvailabilityTimeline getAvailabilityTimeline()

getSlewTimeline

public SlewTimeline getSlewTimeline()

getSlewRequirement

public SlewRequirement getSlewRequirement(PointingRequirement pointingRequirement)

JavaGenes, NASA Ames. Written largely by Al Globus