org.lsst.ccs.subsystems.shutter.simulator
Class HallSensorSimulator
java.lang.Object
org.lsst.ccs.subsystems.shutter.simulator.HallSensorSimulator
public class HallSensorSimulator
- extends Object
- Author:
- azemoon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HallSensorSimulator
public HallSensorSimulator(MotorSimulator simulator)
getMotorSimulator
public MotorSimulator getMotorSimulator()
addHallSensorListener
public void addHallSensorListener(HallSensorListener l)
removeHallSensorListener
public void removeHallSensorListener(HallSensorListener l)
buildSensorData
public void buildSensorData()
- Build up sensor data assuming that nMagnet magnets and nSensor sensors are arranged
so that equally spaced blade positions bladePosition correspond to on/off sensor
signals. This method associates a sensor id with each value of bladePosition. The
same data is used for both blade sets.
Copyright © 2012 LSST. All Rights Reserved.