NullMotor

class NullMotor[source]

Bases: object

__init__()

Methods

Attributes

error: str = ''
open_angle: int = 0
close_angle: int = 0
time_open: int = 0
time_close: int = 0
hold: bool = True
current_angle: int = 0
open(hold: bool | None = None, settle_ms: int = 0) → None[source]

Opens the motor/device.

close(hold: bool | None = None, settle_ms: int = 0) → None[source]

Closes the motor/device.

move(angle: int, total_ms: int = 0, hold: bool | None = None, settle_ms: int = 0) → None[source]

Moves the motor/device to an angle.

disable() → None[source]

Releases holding torque.