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?

 Respuesta aceptada

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer el 17 de Ag. de 2012

0 votos

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 comentarios

Or
Or el 1 de Sept. de 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 el 7 de Sept. de 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.
Murat Belge
Murat Belge el 7 de Sept. de 2012
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 el 26 de Oct. de 2017
Original link is broken.

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Etiquetas

Preguntada:

Or
el 23 de Jul. de 2012

Comentada:

el 26 de Oct. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by