|
Re: VEX inputs
I have the square bot driving straight. One problem I seamed to encounter is that the easy c function to read the encoder count takes a fairly long time to execute. At near full speed there are a few counts occurring between the reads. To compensate I toggle the order of the reads . I'm not using PID, just increasing or decreasing the PWM by 1 each time through the loop.
|