M1M3 Support System
|
Performs bump test on single force actuator (FA). More...
#include <BumpTestController.h>
Public Member Functions | |
int | setBumpTestActuator (int actuatorId, bool testPrimary, bool testSecondary) |
Set current bump tests parameters. | |
void | runLoop () |
Run single loop. | |
void | stopAll (bool forced) |
Stops all running bump tests. | |
void | stopCylinder (char axis) |
Stops bump test on given cylinder. | |
Performs bump test on single force actuator (FA).
Bump tests of an actuator is performed by applying a small positive and negative force offsets on stationary (parked) mirror. The tests is evaluated by comparing value reported by the force actuator load cell with the target (offset) value.
Settings stored under ForceActuatorSettings/BumpTest specify timeouts, allowable ranges and number of measurements performed. The configuration values are enclosed in the following text with : - for example :TestedTolerances/Warning:
Bump test is performed in the following stages (per actuator axis, so if both primary and secondary shall be tested, this is repeated twice per dual axis actuator):
If any of the steps fails, transition to failed stage, reset to zero all applied offsets and exit the bump test for the given FA.
:TestedTolerances/Warning: and :NonTestedTolerances/Warning: are used as warning levels. If the error surpassed those, but doesn't trigger an error (is not above error value), a warning message is send to the system log.
void LSST::M1M3::SS::BumpTestController::runLoop | ( | ) |
Run single loop.
Shall be called from update command after telemetry data are queried and send.
int LSST::M1M3::SS::BumpTestController::setBumpTestActuator | ( | int | actuatorId, |
bool | testPrimary, | ||
bool | testSecondary ) |
Set current bump tests parameters.
actuatorId | actuator ID (101-443) |
testPrimary | true if test primary (Z) actuator |
testSecondary | true if test secondary (X or Y) actuator |
void LSST::M1M3::SS::BumpTestController::stopAll | ( | bool | forced | ) |
Stops all running bump tests.
forced | if true, make sure Far Neighbor checks bypass is disabled |
void LSST::M1M3::SS::BumpTestController::stopCylinder | ( | char | axis | ) |
Stops bump test on given cylinder.
axis | cylinder axis (X,Y or Z) |