pylabrobot.brooks.precise_flex.PreciseFlexArm.at_speed#

PreciseFlexArm.at_speed(speed_percent: float | None) → AsyncIterator[None]#

Run the moves inside at their own speed, then put the profile speed back.

The restore runs in a finally, so a fault mid-move cannot leave the arm slow. None changes nothing, so a caller can pass a speed straight through.

Parameters:

speed_percent (float | None) – Movement speed as a percentage (0-100), or None to keep the current one.

Return type:

AsyncIterator[None]