Go to Post As Grandma used to say, "empirical data is better than no data at all." - dlavery [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 12-02-2008, 20:08
Lilor Lilor is offline
Registered User
FRC #2595
 
Join Date: Feb 2008
Location: Los Angeles, Ca
Posts: 5
Lilor is an unknown quantity at this point
What does it mean?

what are we suppose to put here:

void Process_Data_From_Local_IO(void)
{
/* Add code here that you want to be executed every program loop. */

}

i got this from fast routines?
  #2   Spotlight this post!  
Unread 12-02-2008, 20:41
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: What does it mean?

You should put code there that is to be executed every program loop. The 'slow loop' in the normal user_routines runs once every 26 milliseconds, or whenever it gets data from the OI. The loop you're looking at runs every internal software loop, which is a lot faster, and independant from the OI.
  #3   Spotlight this post!  
Unread 12-02-2008, 21:58
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Re: What does it mean?

Unless your using sensors that need near-continuous feedback, probably nothing. The analog to digital converter update call is the only thing there in our code.
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
  #4   Spotlight this post!  
Unread 12-02-2008, 22:06
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: What does it mean?

We have motor PID controls and sensor processing routines in there. Basically this area is just for that- sensor processing. If you write stuff for it, make sure you dont put any printfs in there.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
What does this mean? schenkin Programming 3 27-01-2005 07:55
So what does GP mean to you? Billfred General Forum 30 19-04-2004 22:58
What does <3 mean? Kevin A Chit-Chat 18 15-07-2003 11:25
what does FIRST mean to us. Tyler Olds 3D Animation and Competition 1 10-04-2002 12:32


All times are GMT -5. The time now is 15:47.

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