View Single Post
  #10   Spotlight this post!  
Unread 24-02-2013, 22:07
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Autonomous Moving Backwards

Quote:
Originally Posted by Zer0 View Post
Our team is not using encoders for the drive system only the shooter this year. I just want the robot to drive backwards when the first 3 shots are fired. That takes about 9 seconds i have it for and then it will switch to low gear. then i want it to just drive straight back for the rest of the autonomous period.
In that case, you would want something similar to Magi's example, since that's based on time.

You could also create a commands for driving, shooting, etc. and then string them together in a command group and have them execute in-order. That would require a bit less tuning to get right, though it might take longer to initially program.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote