Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MFind
Beginner
1,384 Views

RTF drone programming issues

Jump to solution

Hi,

I'm using drone almost as-bought, I only upgreaded:

 

OS to: Poky Aero 1.6.0

 

FPGA to: 0xc2

 

BIOS to: Aero-01.00.13

AeroFC to: 1.6.5

I have read almost all articles from: https://github.com/intel-aero/meta-intel-aero/wiki Home · intel-aero/meta-intel-aero Wiki · GitHub

but I had some troubles along the way.

 

For example:

 

1.

 

sudo v4l2-ctl --list-devices

v4l2-ctl: command not found

2.

cpp-enumerate-devices

cpp-enumerate-devices: command not found

3.

The same goes for "cpp-headless"

I do have however files like:

 

cpp-capture

Also I cloned repository: https://github.com/IntelRealSense/librealsense/tree/v1.12.1 GitHub - IntelRealSense/librealsense at v1.12.1

but programs from ./examples won't compile

 

g++ cpp-tutorial-2-streams.cpp

gives error "no such file or directory # include "

 

and compiling cpp-headless.cpp: gives errors like "undefined reference to rs_*"

(I checked, and yes, there is file /usr/include/librealsense/rs.hpp)

Any help is highly appreciated

0 Kudos

Accepted Solutions
idata
Community Manager
31 Views

Hi MateuszF,

 

 

Thank you for your interest in the Intel Aero Platform. Some librealsense examples are not included on the aero image. You will need to build them from source, some packages like cmake and libusb are required. I would recommend you to install Ubuntu on Aero in order to develop RealSense applications.

 

 

You can find the Ubuntu installation instructions here:

 

https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation

 

 

Make sure to use the legacy branch of librealsense, as the latest does not support the Intel RealSense R200 Camera.

 

https://github.com/IntelRealSense/librealsense/tree/legacy

 

https://github.com/IntelRealSense/librealsense/blob/legacy/doc/installation.md

 

 

Regards,

 

Jesus

View solution in original post

3 Replies
idata
Community Manager
32 Views

Hi MateuszF,

 

 

Thank you for your interest in the Intel Aero Platform. Some librealsense examples are not included on the aero image. You will need to build them from source, some packages like cmake and libusb are required. I would recommend you to install Ubuntu on Aero in order to develop RealSense applications.

 

 

You can find the Ubuntu installation instructions here:

 

https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation

 

 

Make sure to use the legacy branch of librealsense, as the latest does not support the Intel RealSense R200 Camera.

 

https://github.com/IntelRealSense/librealsense/tree/legacy

 

https://github.com/IntelRealSense/librealsense/blob/legacy/doc/installation.md

 

 

Regards,

 

Jesus

View solution in original post

MFind
Beginner
31 Views

Hi Jesus,

I'll probably switch to Ubuntu to make my life simpler, but I need to ask anyway: Is there an almost-not-terrible way of programming IntelAero on yocto project or on laptop and importing programs to IntelAero?

And regarding switching to Ubuntu, is there any guide on how to revert back to previous state (Yocto with programs from IntelAero) if needed?

Regards,

Mateusz F

idata
Community Manager
31 Views

Hi Mateusz,

 

 

I am not sure if there is a cross compiler for librealsense. To switch back to Yocto, you will simply need to create a bootable USB drive as mentioned in https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-Setup# flashing. Once you boot into the USB, just select install.

 

 

Hope this helps!

 

 

Regards,

 

Jesus