View Single Post
  #4   Spotlight this post!  
Unread 08-09-2013, 22:25
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Revolutionizing autonomous

Quote:
Originally Posted by Ipiano View Post
Our autonomous WAS complicated. It was
Camera track to the low goal.
Line up with the goal
Drive to a certain distance from the goal
Dump frisbees
Turn around
Drive at a specific angle


Also, I looked at your code. I didn't see any SmartDashboard reference, where was it? And btw, the FRC java has a built-in wait command, just so ya know

But my point is that, the way you set it up, if you change the command sequence, which happens a lot in testing, you have to re-download the code onto the robot; a timely event. With MY setup, you don't have to restart the robot.
I removed all of the SmartDashboard references as i mainly only use them for debugging (see my other thread i replied on), that project is supposed to be a cleaned version. Yeah i know theres a FRC wait command, I just felt like making my own

Yours doesn't sound that complicated...

Targeting.process()
Drive.drive(3000,0.5)
Shooter.dump() //Havent seen your robot, not sure what you exactly mean by dump.
Drive.rotate(180 + "specific angle") driving the angle with motors would cause the robot to doughnut
Drive.drive(3000, 0.5)

cam;dr:3000;sh;rot:180;dr:3000

If you have a programming team (not just you), setup a GitHub organization and ask for a micro account, they gave us 10 free private repos.
Reply With Quote