simonmonk / raspirobotboard2

Software for the RaspiRobot Board Version 2
MIT License
41 stars 15 forks source link

Add wheel encoders to raspirobot #8

Open actkk2000 opened 9 years ago

actkk2000 commented 9 years ago

Hi, I would like to now if it would be possible to add a python code to read data from wheel encoders. This would be in order allow to drive the robot in a straight line. Currently I am using pwm to balance speed of motors in manually way, but it is not very precise. I have seen your robot kit comes with encoders, although I have a similar kit without encoders but with sproket disks and I am planning to buy this encoder, supposedly designed for that: https://www.sparkfun.com/products/12617 Any help will be much appreciated. Thank you.