stella.command
Class InitialOffsetTelescope
java.lang.Object
java.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.CommandEvent
stella.command.OffsetTelescope
stella.command.EncoderOffsetTelescope
stella.command.InitialOffsetTelescope
- All Implemented Interfaces:
- Serializable, InitializerDepending, RelativeOffset, ParameterDepending, TelescopeCommand
- Direct Known Subclasses:
- RandomOffsetTelescope
public class InitialOffsetTelescope
- extends EncoderOffsetTelescope
- implements ParameterDepending, InitializerDepending
The command used during pointing model generation to allow a constant offset
to be applied to a NONE-pointing model telescope move before fine acquiring
with the guider. It gets valid as soon as a ConstantOffset parameter
is registered to it.
- See Also:
- Serialized Form
| Methods inherited from class stella.MessageEvent |
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString |
InitialOffsetTelescope
public InitialOffsetTelescope(Object src)
- Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
InitialOffsetTelescope
public InitialOffsetTelescope(Object src,
String id,
long time)
- Constructs a new offset telescope command. The command only gets valid
when either its
EncoderOffsetTelescope.parseLine(java.lang.String[]) or the OffsetTelescope.setOffset(double, double)
method are called.
To mark both offsets invalid, NaN is assigned to them.
initWith
public void initWith(String focus)
- If initialized with a parsable double, this gets the focus offset.
- Specified by:
initWith in interface InitializerDepending
registerParameter
public void registerParameter(Parameter offset)
- Registers an parameter set to this command. The parameter handed over
is queried for the constant offsets in azimuth and altitude.
- Specified by:
registerParameter in interface ParameterDepending