XRPMotor
- class xrp.XRPMotor(deviceNum: SupportsInt | SupportsIndex)
Bases:
MotorController,MotorSafetyXRPMotor.
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