Skip to content

brian.motors.MotorWaitOptimismLevel

brian.motors

MotorWaitOptimismLevel class objects

class MotorWaitOptimismLevel(Enum)

Optimism level for wait_until_ready() calls.

WAIT_UNTIL_CORRECT_TYPE

Wait only until the motor type is confirmed correct.
Use this immediately after motor construction to quickly verify the motor is connected
and is of the expected type, without waiting for full initialization.

WAIT_UNTIL_FULLY_READY

Wait until the motor is fully initialized and ready for normal use.
You may use this before commanding the motor to ensure it is fully ready for normal use.