Go to Post Instant Replay??? AAAAAAUUUUUGGGGGHHHHHH!!! - Bill Moore [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-03-2014, 11:28
anthonygraff24 anthonygraff24 is offline
Registered User
FRC #2872 (CyberCats)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Long Island
Posts: 38
anthonygraff24 is an unknown quantity at this point
Autonomus Not Working :(

We have already played 3 matches today and our autonomus refuses to work. We've tried a few things already but I figured it couldn't hurt to ask here. Literally nothing happens in auto mode, but when it goes to teleop we're fine. I'll post the code and if someone could give me a hand that would be awesome!





public void autonomus(){


// getWatchdog().setEnabled(false);
robotDrive.setSafetyEnabled(false);
/* This section should drive forward at half power for 3 seconds */
robotDrive.drive(-.5, 0);
// long currentTime = System.currentTimeMillis();
// while (System.currentTimeMillis()-currentTime<3000) {}
Timer.delay(3);
/************************************************** ***************/

//The next line turns the drive motors off
robotDrive.drive(0, 0);

/* This section runs the gate for one second */
gate.drive(-.5, 0);
Timer.delay(1);
/*********************************************/

// The next line turns the gate motor off
gate.drive(0,0);
//getWatchdog().setEnabled(false);

}
Reply With Quote
  #2   Spotlight this post!  
Unread 28-03-2014, 11:30
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Autonomus Not Working :(

Quote:
Originally Posted by anthonygraff24 View Post
public void autonomus(){
Correct spelling is "autonomous".
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi