pylabrobot.brooks.precise_flex.OutOfRangeOfMotionError#

exception pylabrobot.brooks.precise_flex.OutOfRangeOfMotionError(message: str, axes: dict)#

Bases: Exception

An axis’s current position is outside its soft limits, so the controller rejects every commanded move (-1012) until it is driven back into range.

Its own type so the recover-and-retry path can catch this recoverable arm state without also catching a bad commanded target (which stays a ValueError). axes maps each offending Axis to (value, (lo, hi)).

Parameters: