Go to Post If you want to win, steal from the best, invent the rest. - Michael Corsetto [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-01-2006, 20:25
sjung9442 sjung9442 is offline
Student Mentor
FRC #0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Hampton, VA
Posts: 17
sjung9442 is an unknown quantity at this point
what is user_routines_fast.c?

When do we use user_routines_fast.c?
I don't know what to put in...
Is this the file that I have to put Autonomous mode in? or some other file like
user_routines.c?
Our mentor is still out of country, so we really can't ask anyone in the team...
  #2   Spotlight this post!  
Unread 26-01-2006, 20:41
half geek's Avatar
half geek half geek is offline
For an extremely large value of 1/2
AKA: Greg R
None #0294 (Beach Cities Robotics)
Team Role: Student
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Manhattan Beach, CA
Posts: 49
half geek will become famous soon enough
Send a message via AIM to half geek
Re: what is user_routines_fast.c?

user_routines_fast.c is used for code that runs on every loop (see main.c to find the loop). Autonomous code goes in User_Autonomous_Code() in user_routines_fast.c
The autonomous code is in user_routines_fast.c because it has a loop that repeats every processor cycle instead of every 26.2ms, as opposed to most other code, which is called from main() once every 26.2ms.
__________________
73 de W6DXN k

Parse this:
g r e g a ``n o s p a m" r o b i ``a t" d e v ``d o t" j a v a ``d o t" n e t
  #3   Spotlight this post!  
Unread 26-01-2006, 21:13
sjung9442 sjung9442 is offline
Student Mentor
FRC #0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Hampton, VA
Posts: 17
sjung9442 is an unknown quantity at this point
Re: what is user_routines_fast.c?

thanks
Closed Thread


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:22.

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