VSCode Java Autonomous Code

We have programmed our drive train autonomous using variables (time, lSpeed, rSpeed) in our auto command, but we don’t know how to make our shooter after that. What variables should we use, and how do we set them up?

Are you using command based?

If so, its easy to stack commands (in series or parallel) using SequentialCommandGroup or ParallelCommandGroup (among others)

Honestly, you could do the same thing with the speed of the shooter & whatever moves your power cells. Maybe just run the shooter for, say 5 seconds, to power it up, then move the cells forward for 5 seconds to shoot them while it maintains it’s speed. It might not make every shot, but it would be a fairly simple auto routine.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.