Go to Post If you smack the bear with a stick, you'd better be ready for a mauling. - sciguy125 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-11-2012, 11:45 AM
goonsquad3604 goonsquad3604 is offline
Registered User
FRC #3604
 
Join Date: Feb 2012
Location: Woodhaven
Posts: 1
goonsquad3604 is on a distinguished road
Java Autonomous

We are team 3604 and we program in java. Are autonomous method for interativeRobot is having issues. Any ideas?

public void autonomousContinuous()
{
getWatchdog().setEnabled(true);
getWatchdog().feed();


compressor.start();
in.set(true);
out.set(false);
in.set(false);

getWatchdog().feed();
Timer.delay(4);

getWatchdog().feed();
out.set(true);
out.set(false);

getWatchdog().feed();
Timer.delay(2);

getWatchdog().feed();
in.set(true);
in.set(false);

getWatchdog().feed();
Timer.delay(4);

getWatchdog().feed();
out.set(true);
out.set(false);

getWatchdog().feed();
Timer.delay(2);

getWatchdog().feed();
in.set(true);
in.set(false);
getWatchdog().feed();
}
Reply With Quote
 


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 01:25 AM.

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


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