
public class SimuCarouselController extends SimuEPOSControllerModule
actualCurrent, position, ssiPosition, targetCurrent, targetPositionenabledToPublish, mode, parametersOK, turnedOfferrorHistory, errorRegister, inError, initialized, nodeID, serialNB, tcpProxy| Constructor and Description |
|---|
SimuCarouselController(String nodeID,
String serialNB,
Map<String,Integer> paramsForCurrent,
Map<String,Integer> paramsForProfilePosition,
Map<String,Integer> paramsForHoming)
Build a new SimuCarouselController
|
| Modifier and Type | Method and Description |
|---|---|
void |
initModule() |
void |
simulateWriteTargetPosition(int positionToReach,
int positionInitiale)
This simulates a rotation of carousel to reach a position given as argument.
|
void |
writeControlWord(String controlWord)
In the same way than for the real hardware with an EPOSController, this method starts actually
the simulated motion.
|
void |
writeTargetPosition(int position)
This methods does nothing but save the position given as argument.
|
activateBrake, checkCurrentValue, checkFault, checkParameters, defineAbsolutePosition, disable, displayErrorHistory, enable, enableAndWriteRelativePosition, isBooted, isEnabled, isParametersOK, off, quickStop, readCurrent, readErrorHistory, readErrorRegister, readMode, readNumberOfErrors, readParameters, readPosition, readProfileVelocity, readSSIPosition, releaseBrake, setPosition, shutdownEPOS, writeCurrent, writeParameter, writeParameterInHexa, writeParameters, writeParametersactivateCurrentMode, activateHomingMode, activateProfilePositionMode, changeEPOSParameter, changeMode, checkParameters, checkTargetReached, enableAndWriteCurrent, faultReset, getMode, initializeAndCheckHardware, isEnabledToPublish, isInMode, isTargetReached, isTurnedOff, publishData, readControlWord, readCurrentAverageValue, readParameter, readParameter, readParameterInHexa, readParameterInHexa, readParameters, readParameters, readStatusWord, restoreParameters, stopCurrent, switchOnEnableOperation, writeParameter, writeParameterInHexa, writeParametersconfigAsHeartbeatConsumer, configAsHeartbeatProducer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorRegister, getErrorHistory, getErrorRegister, getNodeID, getSerialNB, getTcpProxy, isInError, isInitialized, processUpdate, readErrorHistoryNames, readSDO, resetError, saveParameters, toString, writeSDOgetNObserverThreads, getObservables, getTickMillis, init, listens, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateStatusDataPublishedByEPOSController, enableAndWriteAbsolutePosition, getErrorHistory, getErrorRegister, isInErrorcheckBooted, checkInitialized, createStatusDataPublishedByHardware, getNodeID, getSerialNB, isInitialized, printStategetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemraiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarningchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic SimuCarouselController(String nodeID, String serialNB, Map<String,Integer> paramsForCurrent, Map<String,Integer> paramsForProfilePosition, Map<String,Integer> paramsForHoming)
nodeID - serialNB - paramsForCurrent - paramsForProfilePosition - paramsForHoming - public void initModule()
initModule in class CanOpenDevice@Command(type=ACTION, level=1, description="In PROFILE_POSITION mode this methods start the motion to the targetPosition.") public void writeControlWord(String controlWord)
writeControlWord in interface EPOSControllerwriteControlWord in class SimuEPOSControllerModulecontrolWord - @Command(type=ACTION, level=1, description="In PROFILE_POSITION mode this methods set the target position.") public void writeTargetPosition(int position) throws FcsHardwareException
writeTargetPosition in interface EPOSControllerwriteTargetPosition in class SimuEPOSControllerModuleposition - FcsHardwareExceptionSDORequestExceptionpublic void simulateWriteTargetPosition(int positionToReach,
int positionInitiale)
positionToReach - can be < -360 or > 360positionInitiale - Copyright © 2017 LSST. All rights reserved.