Go to Post The best we can all do for our kids as parents, mentors and world citizens, is to model [Gracious Professionalism] always: not to win an award, but because it is the right thing to do. - chapman1 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 02-06-2009, 12:16 AM
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Continuous vs. Autonomous in Iterative Robot

A "periodic" function is one that is run only at a certain interal--if you look in the c++ reference, you'll see there's actually a function to set how often it runs.

A "continuous" function is called as fast as the robot is able to--there's no way to explicity specify when it should be called.

As for how they interact---the system considers them two functions of the same class. This means they can both use global variables in your file, call each other, etc.
__________________
Get yer robot source code here!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ Robot: Simple or Iterative? Abrakadabra Programming 3 01-14-2009 10:01 PM
Continuous turret jjdebner Motors 10 02-05-2007 11:19 AM
Iterative Scoring Program TimA Rules/Strategy 1 01-18-2007 09:43 PM
The Continuous Letter Sentence Game xtremedarkness Games/Trivia 38 02-11-2005 10:12 AM
Cable rigging: Cascade vs. Continuous Madison Technical Discussion 2 01-19-2004 11:23 PM


All times are GMT -5. The time now is 10:53 AM.

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