intel-aero / meta-intel-aero

Yocto layer to support Intel Aero platform
https://github.com/intel-aero/meta-intel-aero
GNU General Public License v2.0
217 stars 119 forks source link

using the bottom camera of aero drone in linux #336

Open galbarnahum opened 6 years ago

galbarnahum commented 6 years ago

I have an intel aero drone, with ubuntu 16.04 on it. I have tried to get a video from the cameras, but i couldnt get video from the bottom and angeled camera. im adding a link to the api of the cameras-and-video: https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video As written there, "On Yocto (v1.6 minimum), Intel Aero is proposing 5 RTSP video feeds", and "On Ubuntu, Intel Aero is proposing 3 RTSP video feeds". is there a way to use the other two cameras on ubuntu?

lbegani commented 6 years ago

@galbarnahum The number of RTSP streams and the URI to access them is same for both yocto and Ubuntu. I have updated the page now.

szebedy commented 6 years ago

Hi @galbarnahum,

Were you able to make the bottom/front angled cameras work? For me there is no response from the RTSP feeds

AlexisTM commented 6 years ago

@galbarnahum @szebedy I could not have it working, probably because of a conflict between the different apps: Optical flow and CSD (camera streaming deamon).

So I made my own node to stream it to ROS. https://github.com/AlexisTM/aero-optical-flow-ros

It is not the same purpose as it is meant to send complete images with lower frequency for debug and have the full speed stream for extra processing.

zehortigoza commented 6 years ago

@AlexisTM I did a quick look in your repository and looks like it is still computing optical-flow as aero-optical-flow does, this is just a first step? I guess if you want to send the image to ROS world you would use one of the optical-flow or visual odometry algorithms. If we come up with something more cleaner I can add it to intel-aero repositories.

AlexisTM commented 6 years ago

@zehortigoza This is, of course, the first step. It is not ready to be used in production. This is the intel-aero/aero-optical-flow app with the following modifications:

That's the minimal node to make it usable from ROS while keeping the original functionality.

I currently use with the ar_track_alvar library for tag recognition at the same time as using the normal Flow software.

The ideal library would be done with nodelets (one process with multiple apps for zerocopy image transport layer)