
public class Commander extends Object implements PluginActions
| Constructor and Description |
|---|
Commander(ShutterPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
calibrate()
Command the shutter worker to start a calibration.
|
void |
center()
Command the shutter worker to start centering the blade sets.
|
void |
changeBrakeState(ShutterSide side,
boolean brakeOn)
Command the shutter to turn one of the blade set brakes on or off.
|
void |
closeShutter()
Command the shutter worker to start closing the shutter.
|
void |
goToProd()
Command the shutter worker to go into production mode.
|
void |
openShutter()
Command the shutter worker to start opening the shutter.
|
void |
resync()
Command the shutter worker to resynchronize its state with that
of the shutter controller.
|
void |
stopMotion()
Command the shutter worker to stop all blade set motion and reset the
controller.
|
void |
takeExposure(double exposureTime)
Command the shutter worker to start taking an exposure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, disconnect, showCommandFailure, showCommandSuccess, showPhysicalState, showStatus, showTrajectory, showWorkerIsReachable, showWorkerIsUnreachablepublic Commander(ShutterPlugin plugin)
public void takeExposure(double exposureTime)
PluginActionstakeExposure in interface PluginActionsexposureTime - The exposure time in seconds.public void openShutter()
PluginActionsopenShutter in interface PluginActionspublic void closeShutter()
PluginActionscloseShutter in interface PluginActionspublic void changeBrakeState(ShutterSide side, boolean brakeOn)
PluginActionschangeBrakeState in interface PluginActionsside - The blade set to be affected.brakeOn - True if the brake is to be on (engaged).public void calibrate()
PluginActionscalibrate in interface PluginActionspublic void center()
PluginActionscenter in interface PluginActionspublic void goToProd()
PluginActionsgoToProd in interface PluginActionspublic void resync()
PluginActionsresync in interface PluginActionspublic void stopMotion()
PluginActionsstopMotion in interface PluginActionsCopyright © 2019 LSST. All rights reserved.