XRPMotor

class xrp.XRPMotor(deviceNum: SupportsInt | SupportsIndex)

Bases: MotorController, MotorSafety

XRPMotor.

A SimDevice based motor controller representing the motors on an XRP robot

Constructs an XRPMotor.

Parameters:

deviceNum – the motor channel

disable() None
getDescription() str
getInverted() bool
getThrottle() float
setInverted(isInverted: bool) None
setThrottle(throttle: SupportsFloat | SupportsIndex) None
stopMotor() None