
public class Main extends Object
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
void |
calibrate(Calibrate calibParams) |
void |
changeAxisEnable(org.lsst.ccs.subsystem.motorplatform.bus.ChangeAxisEnable req) |
void |
changeBrakeState(String axisName,
ChangeBrakeState.State newState) |
void |
clearAllFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAllFaults req) |
void |
clearAxisFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAxisFaults req) |
void |
clearFaults() |
void |
closeShutter() |
void |
disable(String axisName) |
void |
disableAllAxes(org.lsst.ccs.subsystem.motorplatform.bus.DisableAllAxes req) |
void |
enable(String axisName) |
void |
enableAllAxes(org.lsst.ccs.subsystem.motorplatform.bus.EnableAllAxes req) |
void |
gotoCenter() |
void |
gotoProd() |
void |
home(String axisName) |
void |
homeAxis(org.lsst.ccs.subsystem.motorplatform.bus.HomeAxis req) |
void |
moveAxisAbsolute(org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisAbsolute req) |
void |
moveAxisRelative(org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisRelative req) |
void |
moveBy(String axisName,
double positionChangeMm,
double seconds) |
void |
moveTo(String axisName,
double newPositionMm,
double speedMmSec) |
void |
openShutter() |
void |
resync() |
void |
sendAxisStatus(org.lsst.ccs.subsystem.motorplatform.bus.SendAxisStatus cmd) |
void |
sendConfiguration(org.lsst.ccs.subsystem.motorplatform.bus.SendConfiguration cmd) |
void |
sendControllerStatus(org.lsst.ccs.subsystem.motorplatform.bus.SendControllerStatus cmd) |
String |
status(String axisName) |
void |
stopAll() |
void |
stopAllMotion(org.lsst.ccs.subsystem.motorplatform.bus.StopAllMotion req) |
void |
takeExposure(double exposureTime) |
@Command(autoAck=false, level=0, type=ACTION, description="Try again to sync with the shutter.") public void resync() throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="Start a calibration.") public void calibrate(Calibrate calibParams) throws InterruptedException
InterruptedException@Command(autoAck=false, level=0, type=ACTION, description="Take an exposure for a given number of seconds.") public void takeExposure(double exposureTime) throws InterruptedException
InterruptedException@Command(autoAck=false, level=0, type=ACTION, description="Open the shutter.") public void openShutter() throws InterruptedException
InterruptedException@Command(autoAck=false, level=0, type=ACTION, description="Close the shutter, aborting any exposure.") public void closeShutter() throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="Change the brake state on an axis.") public void changeBrakeState(String axisName, ChangeBrakeState.State newState) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="Enter production (NORMAL) mode.") public void gotoProd() throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="Center the blades (power-off prep).") public void gotoCenter() throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Start an axis homing.") public void homeAxis(org.lsst.ccs.subsystem.motorplatform.bus.HomeAxis req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Start a move to absolute position.") public void moveAxisAbsolute(org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisAbsolute req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Start a position change.") public void moveAxisRelative(org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisRelative req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Clear faults on both axes.") public void clearAllFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAllFaults req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Enable/disable axis.") public void changeAxisEnable(org.lsst.ccs.subsystem.motorplatform.bus.ChangeAxisEnable req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Clear faults for one axis.") public void clearAxisFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAxisFaults req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Enable both axes.") public void enableAllAxes(org.lsst.ccs.subsystem.motorplatform.bus.EnableAllAxes req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Disable both axes.") public void disableAllAxes(org.lsst.ccs.subsystem.motorplatform.bus.DisableAllAxes req) throws InterruptedException
InterruptedException@Command(autoAck=false, level=0, type=ACTION, description="(Scripting) Emergency stop motion.") public void stopAllMotion(org.lsst.ccs.subsystem.motorplatform.bus.StopAllMotion req) throws InterruptedException
InterruptedException@Command(level=0, type=QUERY, description="(Scripting) Publish controller status ASAP.") public void sendControllerStatus(org.lsst.ccs.subsystem.motorplatform.bus.SendControllerStatus cmd)
@Command(level=0, type=QUERY, description="(Scripting) Publish controller configuration ASAP.") public void sendConfiguration(org.lsst.ccs.subsystem.motorplatform.bus.SendConfiguration cmd)
@Command(level=0, type=QUERY, description="(Scripting) Publish axis status ASAP.") public void sendAxisStatus(org.lsst.ccs.subsystem.motorplatform.bus.SendAxisStatus cmd)
@Command(autoAck=false, level=1, type=ACTION, description="(Console) Clear faults on both axes.") public void clearFaults() throws InterruptedException
InterruptedException@Command(autoAck=false, level=0, type=ACTION, description="(Console) Emergeny stop motion.") public void stopAll() throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Console) Enable an axis.") public void enable(String axisName) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Console) Disable an axis.") public void disable(String axisName) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Console) Start an axis homing.") public void home(String axisName) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Console) Start a move to an absolute position.") public void moveTo(String axisName, double newPositionMm, double speedMmSec) throws InterruptedException
InterruptedException@Command(autoAck=false, level=1, type=ACTION, description="(Console) Start a position change.") public void moveBy(String axisName, double positionChangeMm, double seconds) throws InterruptedException
InterruptedExceptionCopyright © 2019 LSST. All rights reserved.