
Originally Posted by
Kenjones1935
I have not been planning on adding sensors.
Then it sounds like PBP should be plenty powerful for your application. Only, I don't think you will be able to get into mapping, as there is no reference to where the car currently is. You could count turns, but once you miss or rather add a turn, then you are off. The only angle you could calculate, is the angle between the front location sensed, and the side position sensed in reference to being parallel with the car. You would not know whether this angle is being measured on a corner, or a straight away.
If you want to use accurate servo, you could use some of the code already pointed out to you.
(Ok, this one is kind of new, so no one suggested it yet)
http://www.picbasic.co.uk/forum/cont...th-2-I-O-lines
Back on post #336 of this thread:
http://www.picbasic.co.uk/forum/show...1961#post91961
Somewhere way back on this thread:
http://www.picbasic.co.uk/forum/cont...e-Servo-Driver
And suggested back on post #80 of this thread (though these later examples a lot better)
http://www.picbasic.co.uk/forum/cont...-encode-decode
http://www.scalerobotics.com
Bookmarks