Regulated speed control


I have done a little searching but can’t find anything about regulated motor control block for the ranger (PID speed control)

When I use upload mode and place any of the motor blocks I can see the ardunio code generated. In the ardunio code you can see it sets up interrupts for reading the encoders but when it sets a power it only sets the PWM not a desired speed that a PID loop will regulate the PWM to achieve the desired speed.

Because it only sets PWM means my robot doesn’t drive straight.

Is there blocks for reading position of encoder count, block to go to a desired position or block to set a desired speed for the inbuilt motor driver on the auriga?


OK I have found the needed blocks myself in the “maker pack” extension


Ok, hope you can enjoy playing with our products.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.