|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
|||
|
|||
|
Re: Image processing and performance
If you are using a class inherited from IterativeRobot, note that there is no built in delay, so it will use as much processing power as possible, the kernel splitting it equally with tasks of the same priority. To correct this, you can add a taskDelay() call in each of the XXXContinuous functions.
The delay should be long enough to cede as much processing power to other threads as possible without being so long that you are missing calls to the XXXPeriodic functions. (Assuming you are not using the XXXContinuous for anything time sensitive.) Make sure to include taskLib.h which declares this method. Here is some documentation on VxWorks tasks if you are interested in reading more. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [not-FIRST] Camera Image Processing | Greg Marra | Programming | 11 | 11-03-2008 21:10 |
| Image Processing on mouth ROI | tommy_chai | Programming | 0 | 20-11-2007 08:32 |
| thoughts about image processing | 3dude_2231 | Technical Discussion | 5 | 12-11-2007 13:26 |
| Critique my image processing program... | Salik Syed | Programming | 13 | 29-06-2006 16:57 |
| STAMP (Statistical Team Analysis of Match Performance) is off and running! | Ethulin | Scouting | 6 | 04-02-2006 23:12 |