简体   繁体   中英

Getting Video feed from ARDRONE using openCV in ROS

I would like to program a controller for the ARDRONE 2.0 in ROS using openCV. Can anyone help me with what library/code to use to get video feed from the drone to process in openCV and pass control commands to the drone from openCV using ROS.

thanks in advance!

You will have to first become familiar with ROS I would suggest following the basic tutorials to get you started.

http://wiki.ros.org/ROS/Tutorials

After that you can install ardrone_autonomy package which has everything you need to set up your AR-Drone with ROS. Including the AR-Drone camera drivers you need to use with OpenCv.

https://github.com/AutonomyLab/ardrone_autonomy

After that you can just write an Opencv function, implement it as a ROS node and have that node subscribe to the /ardrone/image_raw topic and publish control commands back to the AR-Drone

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM