
public class Commands
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener, org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListener
| Constructor and Description |
|---|
Commands() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeAxisEnable(org.lsst.ccs.subsystem.motorplatform.bus.ChangeAxisEnable req) |
void |
clearAllFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAllFaults req) |
void |
clearAxisFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAxisFaults req) |
void |
clearFaults() |
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 |
home(String axisName) |
void |
homeAxis(org.lsst.ccs.subsystem.motorplatform.bus.HomeAxis req) |
void |
init() |
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 |
postInit()
Sets the Agent property marking this as a motorplatform subsystem.
|
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) |
getLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthbroadcastStatus, checkAllHardwareStopped, createHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, getStatusBroadcastPeriod, helper, internalCheckHardware, isConnectedToTheBuses, isInEngineeringMode, populateComponentLookup, preBuild, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, postBuild, postShutdown, postStart, shutdown, startpublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecycle@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Start an axis homing.", timeout=30) public void homeAxis(org.lsst.ccs.subsystem.motorplatform.bus.HomeAxis req)
homeAxis in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Start a move to an absolute position.", timeout=30) public void moveAxisAbsolute(org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisAbsolute req)
moveAxisAbsolute in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Start a position change.", timeout=30) public void moveAxisRelative(org.lsst.ccs.subsystem.motorplatform.bus.MoveAxisRelative req)
moveAxisRelative in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Clear faults on both axes.", timeout=30) public void clearAllFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAllFaults req)
clearAllFaults in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Enable/disable axis.", timeout=30) public void changeAxisEnable(org.lsst.ccs.subsystem.motorplatform.bus.ChangeAxisEnable req)
changeAxisEnable in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Clear faults for one axis.", timeout=30) public void clearAxisFaults(org.lsst.ccs.subsystem.motorplatform.bus.ClearAxisFaults req)
clearAxisFaults in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Enable all axes.", timeout=30) public void enableAllAxes(org.lsst.ccs.subsystem.motorplatform.bus.EnableAllAxes req)
enableAllAxes in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Disable all axes.", timeout=30) public void disableAllAxes(org.lsst.ccs.subsystem.motorplatform.bus.DisableAllAxes req)
disableAllAxes in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Scripting) Emergency stop motion.", timeout=30) public void stopAllMotion(org.lsst.ccs.subsystem.motorplatform.bus.StopAllMotion req)
stopAllMotion in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(level=0, type=QUERY, description="(Scripting) Publish controller status ASAP.", timeout=30) public void sendControllerStatus(org.lsst.ccs.subsystem.motorplatform.bus.SendControllerStatus cmd)
sendControllerStatus in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(level=0, type=QUERY, description="(Scripting) Publish controller configuration ASAP.", timeout=30) public void sendConfiguration(org.lsst.ccs.subsystem.motorplatform.bus.SendConfiguration cmd)
sendConfiguration in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(level=0, type=QUERY, description="(Scripting) Publish axis status ASAP.", timeout=30) public void sendAxisStatus(org.lsst.ccs.subsystem.motorplatform.bus.SendAxisStatus cmd)
sendAxisStatus in interface org.lsst.ccs.subsystem.motorplatform.bus.MotorCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Console) Clear faults on all axes.", timeout=30) public void clearFaults()
clearFaults in interface org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Console) Emergeny stop motion.", timeout=30) public void stopAll()
stopAll in interface org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Console) Enable an axis.", timeout=30) public void enable(String axisName)
enable in interface org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Console) Disable an axis.", timeout=30) public void disable(String axisName)
disable in interface org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Console) Start an axis homing.", timeout=30) public void home(String axisName)
home in interface org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Console) Start a move to an absolute position.", timeout=30) public void moveTo(String axisName, double newPositionMm, double speedMmSec)
moveTo in interface org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListener@Command(autoAck=false, level=1, type=ACTION, description="(Console) Start a position change.", timeout=30) public void moveBy(String axisName, double positionChangeMm, double seconds)
moveBy in interface org.lsst.ccs.subsystem.motorplatform.bus.ShellCommandListenerCopyright © 2021 LSST. All rights reserved.