I recently received an Intel Aero RTF that I am using for a research project.
For this research I am developing in Python. I need access to the RealSense camera included in the RTF kit.
When running this command:
gst-launch-1.0 v4l2src device=/dev/video13 ! xvimagesink
I can get a camera stream. However, I cannot get this same stream while programming the drone.
Does anyone have an idea on how to read data from the camera in Python? I attempted OpenCV, but the VideoCapture function always returns false when checking if it is open.
Thank you for your interest in the Intel® Aero Ready to Fly Drone.
I'm aware of the implementation of Python for autonomous drone programming (http://python.dronekit.io/ http://python.dronekit.io/), but I haven't seen a Python program that captures data from the camera. As you mentioned, this kind of tasks tend to be done with OpenCV or GStreamer.
Although, you may be interested in checking this thread that discusses the possibility of using Python with RealSense:
Please let me know if you find this information useful.