Class MindsensorsGlideWheelMRegulatedMotor

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, BaseMotor, Encoder, RegulatedMotor, Tachometer

    public class MindsensorsGlideWheelMRegulatedMotor
    extends BaseRegulatedMotor
    Abstraction for a Mindsensors Glidewheel-M equipped PF motor.
    Note: These settings are for the "M" motor. This motor does not seem to like running slowly, or to use acceleration values less than around 500deg/s/s. Also tested with the "XL" motor which seems to work well other than some oscillation when holding. We may need different settings for the two. TODO: Find some way to make this work with an I term for hold TODO: Can probably be tuned better then this.
    • Constructor Detail

      • MindsensorsGlideWheelMRegulatedMotor

        public MindsensorsGlideWheelMRegulatedMotor​(TachoMotorPort port)
        Use this constructor to assign a variable of type motor connected to a particular port.
        Parameters:
        port - to which this motor is connected
      • MindsensorsGlideWheelMRegulatedMotor

        public MindsensorsGlideWheelMRegulatedMotor​(Port port)
        Use this constructor to assign a variable of type motor connected to a particular port.
        Parameters:
        port - to which this motor is connected