Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SKim60
Novice
1,867 Views

for running Aero vision system

Hi

I got the intel Aero compute board and vision accessory kit.

I already searched all of the guides provided by intel. So I updated BIOS capsule and FPGA firmware

here's my Aero BSP version.

01.00.12 of BIOS, 01.00.04 of Linux and 4.4.3-yocto-standard.

I've tried to connect Aero's vision system with QGroundcontrol.

and here are three questions

I have only /dev/video0~10

Realsense camera needs video11~13 right?

How can I get them?

I also tried using other camers ov8858 and ov7251 following examples

and got error "uvcvideo kernel module is not loaded"

what is needed to fix it?

Finally, I read previous discussion and Mr.vilvo uploaded some apps for him who had a same problem with me .

here's link

however, It's my first time using Linux environment so I couldn't understand how can i set up this app.

I failed building image using bitbake

https://github.com/intel-aero/intel-aero-samples GitHub - intel-aero/intel-aero-samples: Layer for intel-aero sample applications recipes

https://github.com/intel-aero/sample-apps GitHub - intel-aero/sample-apps: This repository will contain source code for sample applications

Please give me some solution and help

Thank you

0 Kudos
23 Replies
idata
Community Manager
57 Views

Hi Greiny,

 

 

Thank you for reaching out, let us try to help you with the case. We will try to answer your questions as you asked them in your post:
  1. Have you tried connecting your RealSense as explained here in this link https://github.com/intel-aero/meta-intel-aero/wiki/RealSense https://github.com/intel-aero/meta-intel-aero/wiki/RealSense? What results do you get after following these instructions?
  2. Let me investigate a little bit more on this error you're getting. You mention that you are following some examples, could you please let us know what examples or steps you're following to get to this error message?
  3. Kernel modifications are not included in our scope of support. For these changes, I would suggest you to check the Yocto documentation for more information on how to proceed with these changes. Check the following link https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles# Adding_new_recipes_to_the_build_system https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles# Adding_new_recipes_to_the_build_system. It explains how to place a recipe in an existing layer (intel-aero-samples layer in your case).
Hope this information helps you.

 

 

Regards,

 

-Pablo
idata
Community Manager
57 Views

Hi Greiny,

 

 

Do you have updates on this case?

 

 

Regards,

 

-Pablo
SKim60
Novice
57 Views

Hi Pablo, So sorry to late feedback.

I'd tried the instructions you mentioned './cpp-capture' at https://github.com/intel-aero/meta-intel-aero/wiki/RealSense

and its result was

RealSense error calling rs_create_context(api_verison:10904):

uvcvideo kernel module is not loaded

I also tried RealSense R200 RGB Camera for full-HD preview, "gst-launch-1.0 v4l2src device=/dev/video13 ! xvimagesink" and got

Setting pipeline to PAUSED …

ERROR: Pipeline doesn't want to pause

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video13'

Additional debug info:

../../../gst-plugins-good-1.8.2/sys/v4l2/v4l2_calls.c(606): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v412src0:

System error: No such file or directory

Setting pipeline to Null …

Freeing pipeline …

I think I should get some source with regard to video 11~13

idata
Community Manager
57 Views

Hi Greiny,

 

 

That's ok, thank you for getting back to us.

 

Make sure you're connecting the RealSense R200 camera as stated in this article http://www.intel.com/content/www/us/en/support/boards-and-kits/000023235.html http://www.intel.com/content/www/us/en/support/boards-and-kits/000023235.html. Once you are sure everything is connected properly, run dmesg | grep "RealSense". Please let us know your output.

 

 

Regards,

 

Pablo M.
SKim60
Novice
57 Views

Hi Pablo

I checked my Realsense camera to connect, as you said,

but finally got my camera adapter was broken

I don't know why.. so I will check later after my reorder.

The last week, I successfully build rpm file with example layer.

so I tried other camers' example what is Vilvo offered

I put the command

sh-4.3# C=10 INPUT=0 MODE=PREVIEW capture_example --userp -d /dev/video0

and got respond

capture_example is not command

but when I reinstall the rpm files, they are already installed.

Regards.

idata
Community Manager
57 Views

Hi greiny,

 

 

I'm sorry to hear that about your camera, hopefully the new one will work as expected. At least you now know what was causing the issue.

 

Regarding your new issue, could you please let us know the steps you followed to build rpm with the sample layer?

 

 

Regards,

 

Pablo M.

 

idata
Community Manager
57 Views

Hi Greiny,

 

 

In this command C=10 INPUT=0 MODE=PREVIEW capture_example --userp -d /dev/video0, could you please try changing 'capture_example' for './capture_example' (without the quotes). This solved the "is not command" message for me.

 

 

Pablo M.
SKim60
Novice
57 Views

Hi Pablo

Refer to "Develop on Intel Aero" on Github Wiki,

I've gotten intel-aero-samples layer which contains sample-apps.git

and put the commands in ubuntu environment

export TEMPLATECONF=sample-apps/conf/ 

source oe-init-build-env

bitbake sample-apps

and took 'sample-apps-1.0-r0.core2_64.rpm' and installed it on Aero board

smart install sample-apps-1.0-r0.core2_64.rpm

it still printed 'capture_example: command not found'

Regards,

Greiny

idata
Community Manager
57 Views

Hi Greiny,

 

 

And did you try making the change to the command as I explained on my previous post? You don't mention it on your post so I'm not sure if you actually tried it.

 

Remember that capture_example is a binary file, and it should be handle as such. I was getting the same error message when using this command: C=10 INPUT=0 MODE=PREVIEW capture_example --userp -d /dev/video0. But solved it by changing it to: C=10 INPUT=0 MODE=PREVIEW ./capture_example --userp -d /dev/video0.

 

 

Regards,

 

Pablo M.
SKim60
Novice
57 Views

Hi Pablo

I tried 'capture_example' and './capture_example' both.

and got result 'capture_example: command not found' from 'capture_example' command

'./capture_example: No such file of directory' from './capture_example' command

I want to know directory where you work. '/usr/bin'?

Additionally, double hitting the 'Tab' key, console displayed the available stuff I could use

but there is not 'capture_example' command even similar one.

how can I do?

p.s I bought RealSense camera the new one, finally sucessed all the sample code.

thank you

Greiny.

idata
Community Manager
57 Views

Hi Greiny,

 

 

I find very strange that you're getting that output when using ./capture_example. Did you make sure to compile the sample code? The message you're getting only means that the binary file hasn't been generated (because the sample code hasn't been compiled yet). You'll need to compile the source code first.

 

 

Regards,

 

Pablo M.

 

SKim60
Novice
57 Views

Hi Pablo

I made RPM file several times before with sample code

and posted code I tried on Mar 13.

Is it something wrong?

Regards

Greiny.

idata
Community Manager
57 Views

Hi Greiny,

 

 

Everything with your commands seems ok. However, I would like to know what you're doing before that, because not all of your steps are mentioned in the Developing on Intel Aero guide you're using, is this the guide you're following https://github.com/intel-aero/meta-intel-aero/wiki/Developing-on-Intel-Aero?

 

Also, have you tried rebuilding the image instead of building the application as a package?

 

 

Regards,

 

Pablo M.

 

SKim60
Novice
57 Views

Hi Pablo

Yes, I tried rebuilding image instead of building package, but same

There are two ways I did,

First is adding layer to image following https://github.com/intel-aero/meta-intel-aero/wiki/Developing-on-Intel-Aero https://github.com/intel-aero/meta-intel-aero/wiki/Developing-on-Intel-Aero

Another is rebuilding image with sample app layer

Here's a picture which layers are contained in my image file

And camera modules connected normally.

idata
Community Manager
57 Views

Hi Greiny,

 

 

Let me test it myself to see if I get a similar output, I'll get back to you soon with some updates.

 

 

Regards,

 

Pablo M.
SKim60
Novice
57 Views

Hi Pablo

OK I want to catch this problem why it occurs as soon as possible.

because updating image or RPM files is crucial for other functions

Additionally, 3 camers (OV7251, OV8858, Realsense) have different size and features each other.

but I'm not sure where it can be used even though I have read each instruments (http://www.ovt.com/sensors/OV7251 OmniVision | A leading developer of advanced digital imaging solutions. http://www.ovt.com/sensors/OV8858 OmniVision | A leading developer of advanced digital imaging solutions. )

Would you tell me what can cameras(OV8858 and OV7251) be used for?

What is the intention containing three camera in vision kit?

Thank you

Greiny

idata
Community Manager
57 Views

Hi Greiny,

 

 

Each camera has a specific role regarding its use with the Aero, but to be more specific, the 8MP RGB camera is intended for high resolution imaging and the VGA camera (monochrome camera) is intended for Optical Flow development. If you're not sure about the meaning of Optical Flow, this website explains it very well http://www.scholarpedia.org/article/Optic_flow http://www.scholarpedia.org/article/Optic_flow.

 

 

Regards,

 

Pablo M.
SKim60
Novice
57 Views

Hi Pablo

Do you have any update about this?

Regards

Greiny

idata
Community Manager
57 Views

Hi Greiny,

 

 

I'm now building the Aero image with the new/updated samples layer.

 

What I did was to remove the intel-aero-samples directory from 'poky' and then download the updates intel-aero-samples layer from GitHub with git clone . After that you should prepare the environment according to the Quickstart Guide and then run bitbake intel-aero-image. I will let you know how the bitbake process went as soon as it ends.

 

 

Regards,

 

Pablo M.

 

idata
Community Manager
13 Views

Hi Greiny,

Sorry for the delay in my reply. My image built successfully, and everything seems to be working as it should. I would suggest you to try with the steps I provided in my previous reply (in case you haven't yet), remember to download the updated sample-apps layer from here https://github.com/intel-aero/intel-aero-samples GitHub - intel-aero/intel-aero-samples: Layer for intel-aero sample applications recipes. Replace the older samples-apps folder and add the updated one.

Regards,

 

Pablo M.
Reply