check_limit_switches¶
- lsst.ts.m2com.check_limit_switches(actuator_forces: ndarray[Any, dtype[float64]], limit_force_axial: float, limit_force_tangent: float) tuple[bool, list, list] ¶
Check the limit switches are triggered or not.
Parameters¶
- actuator_forces
numpy.ndarray
Actuator forces in Newton. The number should be the same as “NUM_ACTUATOR”.
- limit_force_axial
float
Maximum limit force of the axial actuator in Newton.
- limit_force_tangent
float
Maximum limit force of the tangent actuator in Newton.
Returns¶
- is_triggered
bool
Limit switch is triggered or not.
list
Triggered retracted limit switches.
list
Triggered extended limit switches.
Raises¶
ValueError
If the number of “actuator_forces” is wrong.
- actuator_forces