public class Commander extends Object implements PageActions
| Constructor and Description |
|---|
Commander(ShutterPlugin.ShutterPage page) |
| 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 |
setWorkerName(String workerName)
Sets the name of the target worker subsystem.
|
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, showStateBundle, showStatus, showTrajectory, showWorkerIsReachable, showWorkerIsUnreachablepublic Commander(ShutterPlugin.ShutterPage page)
public void takeExposure(double exposureTime)
PageActionstakeExposure in interface PageActionsexposureTime - The exposure time in seconds.public void openShutter()
PageActionsopenShutter in interface PageActionspublic void closeShutter()
PageActionscloseShutter in interface PageActionspublic void changeBrakeState(ShutterSide side, boolean brakeEngaged)
PageActionschangeBrakeState in interface PageActionsside - The blade set to be affected.brakeEngaged - True if the brake is to be engaged, else false.public void calibrate()
PageActionscalibrate in interface PageActionspublic void toggleSafetyCheck()
PageActionstoggleSafetyCheck in interface PageActionspublic void center()
PageActionscenter in interface PageActionspublic void prodMode()
PageActionsprodMode in interface PageActionspublic void resync()
PageActionsresync in interface PageActionspublic void stopMotion()
PageActionsstopMotion in interface PageActionspublic void setWorkerName(String workerName)
PageActionssetWorkerName in interface PageActionsworkerName - the name of the worker subsystem.Copyright © 2024 LSST. All rights reserved.