When the bumper is hit it needs to spin the flywheel for 35 seconds and stop driving forward. but when it hit the bumper it will not stop driving and spin the flywheel.
Here is the code that I use
have you tried using this
when BumperA pressed
stop driving
spin flywheel for 35 seconds
I would think that would work better because then it is in the same prompt.
No, i have not use it when commend
But it needs to work with a competition switch in autonomous mode

