public class SimuCarouselController extends SimuEPOSControllerModule
actualCurrent, mode, position, ssiPosition, targetCurrent, targetPosition, 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, changeMode, changeMode, checkFault, checkParameters, checkParameters, checkTargetReached, defineAbsolutePosition, disable, displayErrorHistory, enable, faultReset, getMode, getParamsForCurrent, getParamsForHoming, getParamsForProfilePosition, getStatusData, initializeAndCheckHardware, isEnabled, isEnabledToPublish, isParametersOK, isTargetPositionReached, isTurnedOff, off, publishData, quickStop, readCurrent, readErrorHistory, readErrorRegister, readMode, readNumberOfErrors, readParameters, readPosition, readProfileVelocity, readSSIPosition, releaseBrake, saveParameters, setPosition, shutdownEPOS, switchOnEnableOperation, writeCurrent, writeParameter, writeParameterInHexa, writeParameters, writeParametersconfigAsHeartbeatConsumer, configAsHeartbeatProducer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorRegister, getErrorHistory, getErrorRegister, getNodeID, getSerialNB, getTcpProxy, isBooted, isInError, isInitialized, processUpdate, readErrorHistoryNames, readSDO, 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, waitgetErrorHistory, getErrorRegister, isInErrorcheckBooted, checkInitialized, getNodeID, getSerialNB, isBooted, 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 © 2016 LSST. All rights reserved.