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 brakeEngaged)
Command the shutter to engage or release one of the blade set brakes.
|
void |
closeShutter()
Command the shutter worker to start closing the shutter.
|
void |
openShutter()
Command the shutter worker to start opening the shutter.
|
void |
prodMode()
Command the shutter worker to go into production mode.
|
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.
|
void |
toggleSafetyCheck()
Command the shutter to toggle the setting of the safety check flag.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, disconnect, showCommandFailure, showCommandSuccess, showStateBundle, 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 brakeEngaged)
PluginActionschangeBrakeState in interface PluginActionsside - The blade set to be affected.brakeEngaged - True if the brake is to be engaged, else false.public void calibrate()
PluginActionscalibrate in interface PluginActionspublic void toggleSafetyCheck()
PluginActionstoggleSafetyCheck in interface PluginActionspublic void center()
PluginActionscenter in interface PluginActionspublic void prodMode()
PluginActionsprodMode in interface PluginActionspublic void resync()
PluginActionsresync in interface PluginActionspublic void stopMotion()
PluginActionsstopMotion in interface PluginActionsCopyright © 2021 LSST. All rights reserved.