public class LoaderMain extends MainModule
bridge, haltRequired, name, stopRequired, subsalertSeparator| Constructor and Description |
|---|
LoaderMain(BridgeToHardware bridge)
Build a LoaderMainModule with a bridge.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connectLoader()
Connect the loader hardware.
|
void |
init() |
void |
initializeHardware()
initialize hardware after initialization.
|
void |
postStart()
In Standalone mode, we want to connect Loader when the subsystem starts.
|
String |
printHardwareState()
Print list of hardware with initialization information.
|
String |
toString() |
void |
updateFCSStateToReady()
Check that Loader hardware is ready to be operated and moved.
|
void |
updateStateWithSensors()
Update loader state in reading the sensors.
|
allDevicesBooted, getAlertService, getFilterNames, getFilterReadinessState, getName, getSubsystem, isHaltRequired, isInState, isStopRequired, listHardwareNames, listLoaderHardwareNames, postShutdown, publishData, signal, updateAgentStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearAlarm, getAlertSeparator, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarningpublic LoaderMain(BridgeToHardware bridge)
bridge - public void init()
@Command(type=QUERY,
level=0,
description="Update loader state in reading the sensors.")
public void updateStateWithSensors()
updateStateWithSensors in class MainModuleFcsHardwareException@Command(type=QUERY,
level=1,
description="Update FCS state and FCS readyness state and publishes on the status bus.")
public void updateFCSStateToReady()
updateFCSStateToReady in class MainModulepublic void initializeHardware()
MainModuleinitializeHardware in class MainModule@Command(type=ACTION,
level=0,
description="Connect the loader hardware.")
public void connectLoader()
public void postStart()
@Command(type=QUERY,
level=1,
description="Print the list of hardware with initialization information.")
public String printHardwareState()
Copyright © 2019 LSST. All rights reserved.