Quote:
Originally Posted by DominickC
Ignore my shoddy explanation, here's a picture of the code I'm trying to describe.
|
The way his code is written is like a pushbutton switch. You press it once, and the motor turns on, you press it again, and the motor turns off. He has the right logic. Your code will work, but it requires an extra button, and it requires the driver to hold the button down to keep the motors running.
Quote:
Originally Posted by Alan Anderson
By default, only the Drive motors have the safeties enabled. Unless you have explicitly activated the motor safety for other motors, it is perfectly reasonable to set them once and expect them to continue as commanded indefinitely.
|
Cool, that's news to me! So his accumulation code will work perfectly fine as is.