pylabrobot.high_res.sample_storage.AmbiStore.recover#

async AmbiStore.recover() bool#

Retract the spatula and re-home after a motion fault.

A faulted command (e.g. an empty-slot pick in the top few slots) can leave the spatula extended. This ALWAYS issues the retract (spatulaout) + home — it does not trust homedstatus to decide whether recovery is needed, because that reports homed even while the spatula is stuck extended. Automatic recovery is refused while the spatula plate sensor is active, because the plate cannot be relocated safely without physical inspection. Retries a few times. Returns True once request_is_parked().

Return type:

bool