1 2 Previous Next 23 Replies Latest reply on Apr 7, 2017 9:26 AM by Intel Corporation

    for running Aero vision system

    greiny

      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

      8MP and VGA cameras not working

      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

      GitHub - intel-aero/intel-aero-samples: Layer for intel-aero sample applications recipes

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

       

      Please give me some solution and help

      Thank you

        • 1. Re: for running Aero vision system
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          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? 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. 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
          • 2. Re: for running Aero vision system
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hi Greiny,

            Do you have updates on this case?

            Regards,
            -Pablo

            • 3. Re: for running Aero vision system
              greiny

              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

              • 4. Re: for running Aero vision system
                Intel Corporation
                This message was posted on behalf of Intel Corporation

                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. Once you are sure everything is connected properly, run dmesg | grep "RealSense". Please let us know your output.

                Regards,
                Pablo M.

                • 5. Re: for running Aero vision system
                  greiny

                  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.

                  • 6. Re: for running Aero vision system
                    Intel Corporation
                    This message was posted on behalf of Intel Corporation

                    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.
                     

                    • 7. Re: for running Aero vision system
                      Intel Corporation
                      This message was posted on behalf of Intel Corporation

                      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.

                      • 8. Re: for running Aero vision system
                        greiny

                        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

                        • 9. Re: for running Aero vision system
                          Intel Corporation
                          This message was posted on behalf of Intel Corporation

                          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.

                          • 10. Re: for running Aero vision system
                            greiny

                            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.

                            • 11. Re: for running Aero vision system
                              Intel Corporation
                              This message was posted on behalf of Intel Corporation

                              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.
                               

                              • 12. Re: for running Aero vision system
                                greiny

                                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.

                                • 13. Re: for running Aero vision system
                                  Intel Corporation
                                  This message was posted on behalf of Intel Corporation

                                  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.
                                   

                                  • 14. Re: for running Aero vision system
                                    greiny

                                    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

                                    Another is rebuilding image with sample app layer

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

                                    2.png

                                     

                                    And camera modules connected normally.

                                    1.jpg

                                    1 2 Previous Next