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?

 採用された回答

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2012 年 8 月 17 日

0 投票

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 件のコメント

Or
Or 2012 年 9 月 1 日
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.
Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2012 年 9 月 4 日
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 2012 年 9 月 7 日
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 2012 年 9 月 7 日
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 2017 年 10 月 26 日
Original link is broken.

サインインしてコメントする。

その他の回答 (0 件)

タグ

質問済み:

Or
2012 年 7 月 23 日

コメント済み:

2017 年 10 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by