|
Re: Teleop Limit Switch Firing Sequence
The way it is written, the first loop will run at full speed until the limit switch is triggered.
You may want to combine the exit condition with a timeout. OR the limit switch and either a loop counter or a time since the loop began. You may also want to throttle the loop by putting a delay in it.
The attached image shows the sort of thing you might do.
Greg McKaskle
|