Go to Post Team 71: So good at Strategy they already have figured out next years game before the GDC has even met. - IKE [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-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 14-02-2008, 13:09
mjbshaw mjbshaw is offline
Registered User
FRC #2484
 
Join Date: Feb 2008
Location: Bountiful, UT
Posts: 1
mjbshaw is an unknown quantity at this point
Arrow Autonomous and Operator Control modes

This is my first post on this site, so forgive me if I posted in the wrong forum.

My question is about Operator Control mode (teleoperated) and Autonomous mode. My team is #2484, and we are using easyC for the coding. I have read somewhere that there will be a main computer at the competition controlled by FIRST, and that main computer will control what mode your program is in, and that the computer calls the functions every 26.2 milliseconds.

Assuming I've correctly understood what I've read, does this mean that the main computer will call the autonomous() function every 26.2 milliseconds for the first 15 seconds of the competition, and then start calling the operatorcontrol() function every 26.2 milliseconds for teleoperated mode? We've been using a while loop to make our program run continuously, so would we have to change it for the actual competition? Do we not use a while loop at the competition?

Thanks in advance
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
White Paper Discuss: C Programming and Autonomous Modes for Newbies cbolin Extra Discussion 3 09-01-2008 19:32
EasyC autonomous modes TubaMorg Programming 25 12-04-2006 22:53
Rookie autonomous modes StephLee General Forum 6 30-04-2005 13:16
Autonomous modes? Buster Robotics Education and Curriculum 4 17-03-2004 15:56
Alternative autonomous modes Jon Reese Programming 1 14-01-2004 13:17


All times are GMT -5. The time now is 09:43.

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