The PID Controller – Part 4

Hi there,

In this last post about the PID Controller implementation, I present you the  MediumMotorPositionPID class; the  MediumMotorPositionPID inherits from the  PIDController class and adds the reference to the Ev3 Medium Motor to it. From the Lego website:

The Lego Mindstorms Ev3 Medium Motor
The Lego Mindstorms Ev3 Medium Motor

The EV3 Medium Servo Motor is great for lower-load, higher speed applications and when faster response times and a smaller profile are needed in the robot’s design. The motor uses tacho feedback for precise control within one degree of accuracy and has a built-in rotation sensor.

  • Tacho feedback to one degree of accuracy
  • 240-250 RPM
  • Running torque of 8 (approximately 11
  • Stall torque of 12 (approximately 17
  • Auto-ID is built into the EV3 software.

To see the code, have a look at the page I have just uploaded. I hope you enjoy it!


The PID Controller – Part 4
Tagged on:         

Leave a Reply