View Single Post
  #1   Spotlight this post!  
Unread 24-03-2014, 23:28
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Autonomous timing of events are to fast

In auto we want to 1)move forward for two seconds, 2)stop driving and spin up our shooter motors for a couple of seconds, 3) then retract a pair of cylinders with shooter motors still spinning with about a second wait to make sure the cylinders have fully retracted, 4) and finally stop the shooter motors and extend the cylinders. see attached code

We use a stacked sequence to complete these tasks. It drives forward for 2 seconds just fine. The PROBLEM... in the seconds step the shooter motors (frontMotor and rearMotors) start for a split second and stop. Then after about the two seconds the cylinders (frontliftCylinder and rearliftCylinder) retract for a split second and then extend.

Why are the shooter motors and cylinders only acting for a split second in sequence 2 and 3?
Attached Thumbnails
Click image for larger version

Name:	autonomous.jpg
Views:	76
Size:	88.3 KB
ID:	16650  
Reply With Quote