Quote:
Originally Posted by billbo911
This is classic Bang-Bang. Full power forward or coast. That's it. No reversing in that code at all.
|
I had a brain hiccup while reading that code. Last time I worked on robot code, it was with a servo motor where 0 was backwards, 1 was full forward, and 0.5 was stop (weird, yes). Either way, that code is stopping and starting the motor at what I would guess to be a very high rate. I'd imagine some mechanical stress depending on the motor used, no?