AutonomyLab / bebop_autonomy

ROS driver for Parrot Bebop Drones 1.0 & 2.0
http://wiki.ros.org/bebop_autonomy
BSD 3-Clause "New" or "Revised" License
152 stars 120 forks source link

bebop_autonomy + opencv #174

Open shaarkrat2 opened 5 years ago

shaarkrat2 commented 5 years ago

hello!

i'm trying to import the video stream from my drone bebop2 (using ros kinetic and bebop_autonomy) to opencv

i'm connecting to the drone using the command $ roslaunch bebop_tools bebop_nodelet_iv.launch

this command allows me to connect to the drone and to get the video stream in a new windows, but i can't import that stream in opencv.

I've installed opencv_bridge ( $ sudo apt-get install ros-kinetic-cv-bridge ) but I can't use it. Does anyone know how to get the video stream in opencv?

Thanks

thomas-bamford commented 5 years ago

Tutorials on using the cv_bridge package for coding in C++ and Python. For one of my projects I use a modified version of the Python example.

shaarkrat2 commented 5 years ago

I doesn't understand how the cv bridge work Do I have to create a new nodlet and suscribe to the video stream?