check_position¶
- lsst.ts.mthexapod.check_position(position: ~lsst.ts.mthexapod.base.Position, limits: ~lsst.ts.mthexapod.base.PositionLimits, ExceptionClass: ~typing.Callable[[str], Exception] = <class 'ValueError'>) None ¶
Raise ExceptionClass if a position is not within limits.
- Parameters:
- position
Position
Position to check.
- limits
PositionLimits
Position limits.
- ExceptionClass
Exception
, optional Exception class to raise.
- position