|
Re: How to program a tracking line sensor on Labview?
Try looking at and understanding the given autonomous vi (if you're using labview).
The way I'd do it with skid steer is to drive both motors full power if the middle sensor sees the line, and turn in the corresponding direction if one of the other sensors sees it. If all three see the line, you're at the T, so stop (or you're at the Y.. I'd say use an encoder to give the robot an idea of where you should be.. ie if the robot has gone for 8 seconds, it's probably at the Y and if it's 10 seconds it's probably at the T.)
I actually don't see an advantage of using 3 sensors over 2,.. although I guess lining up with the post could be easier.
|