|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Help Programming Autonomous
Hello all,
So first off I am using the command based robot template from WPI, and I need to create a command group that will be run during our autonomous period. We are just going to shoot the balls that are in our robot and that's it for autonomous, nothing complicated. Basically what I need the robot to do is: 1) Begin running shooter motor (this will be running throughout autonomous) 2) Wait 3 seconds or so (for motor to spin up) 3) run our ball delivery motor for ~1.5 sec 4) stop ball delivery motor 5) Run conveyor motor to put 2nd ball in place 6) run ball delivery motor again 7) stop motors I have commands written to do all of these functions, I just need a way to put them together into a command group with a delay in-between. Can anyone offer any guidance that has worked with the command based template? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|