|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
Re: 2010 FRC camera vision tracking delay, image processing lag
Our team is working with C++ using the WindRiver workbench (not labview) and data is already correctly sent back to the driverstation (data packing is not an issue).
Specifically our issue is the amout of time the tracking function takes to execute, we want it placed in it's own thread. We need C++ help with: (1) Creating a new VxWorks task (to separate vision processing into its own task) (2) Creating a shared global variable using semaphores (to pass "target array" information back to the main OperatorControl loop) Sorry for the confusion, I will post sample code later tonight to illustrate this concept. |
|
#17
|
||||
|
||||
|
Re: 2010 FRC camera vision tracking delay, image processing lag
Since my explanation is pretty thorough and has little to do specifically with camera code, I've posted it here:
http://www.chiefdelphi.com/forums/sh...ad.php?t=82398 Share and enjoy. Last edited by slavik262 : 02-11-2010 at 12:01 PM. |
|
#18
|
|||
|
|||
|
Re: 2010 FRC camera vision tracking delay, image processing lag
We are using latest udpates and programming in java. When testing tracking yesterday, we observed that the response time of the robot to the movement of the target got worse, the longer the program ran. After bootup, tracking response and image update were excellent. The more tracking cycles that were initiated, the worse the performance got; to the point where the robot would no longer track. On the drivers station we could see that the target was being tracked but with a significant delay as indicated by when the "locked on" circles were drawns around the target.
|
|
#19
|
||||
|
||||
|
Re: 2010 FRC camera vision tracking delay, image processing lag
Piggy-backing on an existing C++ thread, when you're using Java, even though the problem you're asking about is similar, is not likely to get you the help you need.
Consider posting to the Java sub-forum instead? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2010 FRC Camera Live Feed Lag | ideasrule | Programming | 23 | 02-11-2010 02:33 AM |
| 2010 Camera and vision problems. | s133p | Programming | 76 | 02-08-2010 09:35 PM |
| Vision Tracking Camera picking up too much... | taoistconvert | Programming | 8 | 01-24-2010 10:19 PM |
| [not-FIRST] Camera Image Processing | Greg Marra | Programming | 11 | 03-11-2008 09:10 PM |