Thread: Autonomous
View Single Post
  #4   Spotlight this post!  
Unread 19-02-2014, 18:11
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 431
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Autonomous

It's important to actually tell your motors to stop after commanding the drivetrain to move forward for 5 seconds. Otherwise your code will go on its merry way, but the drivetrain will continue to be commanded.

Regardless of how you end up implementing the code you need to explicitly command the motors to 0.

lineskier's code does this:
Code:
robotDrive.drive(0.0, 0.0);
It's an important item that should not be overlooked.
__________________
http://team2168.org
Reply With Quote