Class RomiMotor

All Implemented Interfaces:
Sendable, MotorController, AutoCloseable

public class RomiMotor extends PWMMotorController
RomiMotor.

A general use PWM motor controller representing the motors on a Romi robot

  • Constructor Details

    • RomiMotor

      public RomiMotor(int channel)
      Constructor.
      Parameters:
      channel - The PWM channel that the RomiMotor is attached to. 0 is the left motor, 1 is the right.
  • Method Details

    • initRomiMotor

      protected final void initRomiMotor()
      Common initialization code called by all constructors.