RomiMotor

class romi.RomiMotor(channel: SupportsInt | SupportsIndex)

Bases: MotorController, MotorSafety

RomiMotor.

A SimDevice based motor controller representing the motors on a Romi robot

Constructs a RomiMotor.

Parameters:

channel – The PWM channel that the RomiMotor is attached to. 0 is left, 1 is right

disable() None
get_description() str
get_inverted() bool
get_throttle() float
set_inverted(is_inverted: bool) None
set_throttle(throttle: SupportsFloat | SupportsIndex) None
stop_motor() None