Intel® Aero Platform For UAVs
Peer-to-peer support only
Announcements
This is a peer-to-peer only forum. This forum is not monitored by Intel.
771 Discussions

RTF drone programming issues

MFind
Beginner
1,452 Views

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
1 Solution
idata
Community Manager
99 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
100 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
99 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
99 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
Reply