Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm following this tutorial http://www.societyofrobots.com/sensors_encoder.shtml. What I'm trying to implement is having an accurate reading of the distance of my robot.
For example if in my program I want my vehicle to move 10m/s. Since I'm using an optical encoder,pretend it needs about 200ticks per second. and my encoder records 5m/s which is about 100 ticks per second. How do I program Is there any example program where I can use to do this?
Do I need PID?