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
getDescription() str
getInverted() bool
getThrottle() float
setInverted(isInverted: bool) None
setThrottle(throttle: SupportsFloat | SupportsIndex) None
stopMotor() None