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
218 stars 119 forks source link

how to capture depth data from R200? #371

Open ambikaverma opened 5 years ago

ambikaverma commented 5 years ago

Hi

I tried running cpp-headless to capture depth data from R200 on intel aero as per - https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video but the command is not recognized. I just ssh to intel-aero.local and run the above command from /home/root.

Though in QGC i do see the depth data if I add the rtsp://192.168.8.1:8554/rsdepth link.

My version is - image

Any other methods to capture depth data?

damadamn commented 5 years ago

I've got the same problem about cpp-headless, but there is for example cpp-capture which provides some different view of your RealSense, including the depth data

ambikaverma commented 5 years ago

Is cpp-capture available on intel aero? I'll try and run it anyway. if not where can I find it?

Thanks!

ambikaverma commented 5 years ago

for cpp-capture I'm getting following error -

image

also tried - sudo gst-launch-1.0 v4l2src device=/dev/video11 num-buffers=1 ! jpegenc ! filesink location="rs.jpg" identify rs.jpg

but all I get is a green frame.

ambikaverma commented 5 years ago

Another issue that I'm facing - image

the same command worked fine earlier, but now I get this error. got this error after trying to run cpp-capture as discussed here https://github.com/intel-aero/meta-intel-aero/issues/371 (which itself also failed).

and in QGC I can only see data from rsdepth stream. Nothing from video13, rsir and rsir2 streams.

Did running cpp-capture change any settings (even though it failed)?