Go to Post Like many researchers before me, I look and read about what my peers are doing and developing, and then incorperate the best of them into my ideas or change my focus because of them. - Wetzel [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 19-02-2005, 18:42
JoeFryman JoeFryman is offline
Meh.
#0094 (Technojays)
Team Role: Programmer
 
Join Date: Sep 2004
Rookie Year: 2005
Location: Southfield
Posts: 25
JoeFryman is an unknown quantity at this point
Send a message via AIM to JoeFryman
Speed of user_routines_fast.c

How often does user_routines_fast.c execute (as in time)??
__________________
100 gmail invites: JTFryman@gmail.com

Last edited by JoeFryman : 19-02-2005 at 18:47.
  #2   Spotlight this post!  
Unread 19-02-2005, 18:48
colt527 colt527 is offline
Registered User
AKA: Ken Colton
FRC #0527
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Long Island
Posts: 123
colt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to behold
Send a message via AIM to colt527
Re: Speed of user_routines_fast.c

Well, the autonomous section goes every 26.3ms i think.
__________________
Mentor, Team 527 -- Plainedge Red Dragons
FIRST Volunteer
SUNY Stony Brook Computer Science 2010
kcolton@gmail.com
  #3   Spotlight this post!  
Unread 20-02-2005, 01:09
Don Reid Don Reid is offline
Registered User
#0997
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Corvallis, Oregon
Posts: 45
Don Reid will become famous soon enough
Re: Speed of user_routines_fast.c

In normal mode Process_Data_From_Local_IO() is called over and over as fast as it can be. How often it runs depends on what it does (how long that takes).
If you have access to an oscilloscope and want to measure how long your code takes, you can pulse or toggle a digital output each time through and measure it.

In autonomous mode, User_Autonomous_Code() is called once, but it has a
loop inside it which runs once every 26 ms. It exits when autonomous mode ends.

These are both called from main() in main.c.
__________________
Don Reid

Last edited by Don Reid : 20-02-2005 at 01:11.
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
speed controller max speed Team 668 Programming 15 13-02-2005 14:05
Joining 2 dif. motors K.Shaw Motors 32 14-10-2004 19:40
PID control loops - closed loop feedback KenWittlief Technical Discussion 56 26-04-2004 21:27
"Automatic Transmission" Madison Technical Discussion 70 24-11-2003 09:03
Power, speed, and torque... AGH Gui Cavalcanti Technical Discussion 5 10-11-2002 19:02


All times are GMT -5. The time now is 19:39.

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