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_forcesnumpy.ndarray

Actuator forces in Newton. The number should be the same as “NUM_ACTUATOR”.

limit_force_axialfloat

Maximum limit force of the axial actuator in Newton.

limit_force_tangentfloat

Maximum limit force of the tangent actuator in Newton.

Returns

is_triggeredbool

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.