The 'Intel Aero Platform for UAVs' forum is the place where you can get specialist support for drone building and using Aero with RealSense.
Although I am a RealSense specialist, my knowledge of RealSense + drones is less developed. I will do my best to assist you though.
For the autopilot part of your project, I would recommend relying on a Flight Controller component. Intel's own "Ready To Fly" drone kit supports an open-source controller called DroneCode PX4, so I would suggest that this may be a very reliable choice for partnering with an Aero board.
This page describes the autopilot function of DroneCode:
You can find a repository of other software components for Aero on this page:
The Aero board prefers to use a flavor of Linux called Yocto Project, rather than the more popular Ubuntu. You can develop an app in Ubuntu on a full PC and port your code to the Aero board though. An application can also be wirelessly streamed from an Ubuntu machine on the ground to the drone via wi-fi, though this option may not be practical if your drone is going to travel a long distance.
One of the components in the previously mentioned repository of software components is the ability to add support for Librealsense SDK (and thus the ability to use RealSense cameras with Aero) to Yocto Project Linux.
Once you have a Librealsense installation running on the drone in Yocto, that ought to make it possible to use traditional RealSense applications such as scanning box sizes. Speaking of that box-scanning application, there is a tutorial available for it.
Regarding box measurement with RealSense, you may find this research paper useful:
Marty - thanks so much for the support. Many useful links you have provided!
The Aero board prefers to use a flavor of Linux called Yocto Project, rather than the more popular Ubuntu. You can develop an app in Ubuntu on a full PC and port your code to the Aero board though.
Most of my prior development has been done using Windows and i am not too familiar with Linux - is this still practical for developing on the Aero?
The part I am a bit confused on is exactly how to transfer apps to the Aero.. I do not think I have the librealsense SDK installed. I want to get started learning with some of the demos that are on the following links but I don't completely understand how to transfer/compile them.
Linux comes in a number of different varieties with different names (Ubuntu, Debian, Yocto, Arch Linux, etc). RealSense focuses its support on Ubuntu for the RealSense camera models. So Ubuntu = Linux.
This guide on setting up an Aero development environment may be of use to you.
See the 'porting simulation to the Aero Compute Board' link in this article's contents list for beginner setup resources.
If you are using the Ready To Fly drone kit then the ideal RealSense partner for the Aero board is the Vision Accessory Kit, supplied with the RTF.
Hi Marty -
Hope you had a good weekend. I made some progress with the Aero, but I am still left a bit confused.
Here is what I accomplished -
1) Determined it would be easier to develop on Ubuntu so I set up a VM with Eclipse as well as the realsense and gstreamer libraries
2) Attempted to port one the sample applications on the Aero (Code Sample: Broadcast RGB and Depth Data from an Intel® Aero Compute Board | Intel® Software
- Opened in Eclipse and was able to build
- Followed steps to transfer to the Aero
- Building on the Aero resulted in the following errors:
I am starting to get a better understanding of how all of this fits together, but I don't know where to go from here. I was under the impression that the libraries were installed on the Aero?
I don't believe Librealsense is preloaded on Aero by default, because it is not needed by Aero unless the RealSense Vision Accessory Kit is attached to the board. So I think you should add this layer which enables Librealsense to work with Yocto if you have not done so already.
There is no need to apologize - I didn't know the answer to this question either. I researched a guide to adding layers in Yocto though, and this is my best guess (not being a drone expert) at what the procedure should be.
conf/bblayers.conf is the name of a file in your build directory that contains a list of layers so that the build system is aware of the existence of those layers. The BBLAYERS += instruction adds the Librealsense layer to the layer list so that the build system can find it. In this case, it is telling Yocto how to find a layer called 'meta-intel-realsense'.that has alredy been created.
So I would guess that you would input the following list of three commands into the Yocto terminal window.
BBLAYERS += "path/to/meta-intel-realsense"
BBLAYERS += "path/to/meta-openembedded/meta-oe"
The first of these lines sets up the layer in the conf/bblayers file.
The second line adds dependency layers to the conf/bblayers file.
The third and final line creates a new conf/auto.conf file in your build directory.
I've checked through this issue again, and the documentation page I linked to does seem to be the correct one for installing Librealsense on Yocto. So I went through past references on the Intel drone forum. Intel support staff member Andres said that on the Ready To Fly drone that you have, "Librealsense, as well the corresponding examples are already installed in the RTF drone." Andres pointed that user to this page:
I apologize for not knowing this, if this is the case - it is not mentioned in any documentation that I have seen.
Apparently, the path that the pre-installed Librealsense examples are at is: