View Single Post
  #2   Spotlight this post!  
Unread 04-03-2014, 16:44
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Re: No Robot Left Behind 2014

Alright, I'll bite:


(Add this to your current code. Anything already there can remain. Replace any instances of "chassis" with the name of your drivetrain object.)
Java SimpleRobot:

Declaration phase:

Code:
import edu.wpi.first.wpilibj.Timer;
Autonomous mode:

Code:
public void autonomous ()  {
   chassis.setSafetyEnable(false);
   chassis.drive(-.5,0);
   Timer.delay(2.0);
   chassis.drive(0,0);
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)

Last edited by Whippet : 04-03-2014 at 16:47.