How to Fix Task Overruns on BeagleBoard Hardware?

Hi! I'm trying to use the Image Inversion demo for BeagleBoard, and there is about a 1 second delay how do I fix that?

 Réponse acceptée

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer le 17 Août 2012

0 votes

Hi, Or. Thanks for asking. Please check out the following topic an let us know if it helps you solve this issue: Detect and Fix Task Overruns on BeagleBoard Hardware

5 commentaires

Or
Or le 1 Sep 2012
Hi, Rolfe.
Thanks for your reply. I'm sorry to writ that the topic Detect and Fix Task Overruns on BeagleBoard Hardware
was not at all helpful. There is no way to simplify the MathWorks demo.. therefor I have no clue as to how to solve the one second delay in the Matlab demo.
Regards, Or.
I looked into the issue some more and spoke with the developer who created the demo. For the time being, there's not much one can do to reduce the delay.
Or
Or le 7 Sep 2012
Hi, Rolfe.
Thanks for your reply. I would like to use C code from OpenCv to make the BB operate the USB cam. Can I insert C code into an S-function in a simulink model, in my windows PC, and then run the model on my Linux operated BB? I cant seem to use any of the S-function examples on the BB...
I'd really appreciate your help.
Regards, Or.
If I understand it correctly, you want to create an S-function block that uses the OpenCV video capture API's underneath in order to replicate the functionality of the V4L2 Video Capture block. I presume that you are doing this to reduce the delay. Yes you can do that but you need to be proficient in S-function development. Besides, the OpenCV stores camera data in interleaved format using opaque structures. So you also need to deal with data conversion. There are a bunch of S-function examples in the Simulink documentation. Any one of them would be a good starting point. However, before diving into S-function development, I would strongly recommend that you prototype the OpenCV video capture and remote display of the captured video on another computer. This is important to see if this approach solves the delay issue or not.
Tyler
Tyler le 26 Oct 2017
Original link is broken.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by