|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Speed of user_routines_fast.c
How often does user_routines_fast.c execute (as in time)??
![]() Last edited by JoeFryman : 19-02-2005 at 18:47. |
|
#2
|
|||
|
|||
|
Re: Speed of user_routines_fast.c
Well, the autonomous section goes every 26.3ms i think.
|
|
#3
|
|||
|
|||
|
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. Last edited by Don Reid : 20-02-2005 at 01:11. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |