ardrone_brown_ros
Differences
This shows you the differences between two versions of the page.
ardrone_brown_ros [2016/11/01 10:55] – created dwallace | ardrone_brown_ros [2016/11/06 02:01] (current) – dwallace | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Controlling the Ar.Drone with the Brown-ROS Package ====== | ====== Controlling the Ar.Drone with the Brown-ROS Package ====== | ||
- | ==Introduction== | + | ===== Introduction |
- | In this tutorial you will learn how to fly the ARDRONE from [http:// | + | In this tutorial you will learn how to fly the [[http:// |
- | ROS(Robotics Operating System) is a open source tool for creating robot applications. It saves a lot of development time and in the same time help to create robust real time softwares for ones project. | + | ROS(Robotics Operating System) is an open source tool for creating robot applications. It saves a lot of development time and in the same time help to create robust real time softwares for ones project. |
- | Before you take this tutorial ,I suggest you to go through the basics of ROS and also to install ROS itself | + | Before you take this tutorial, I suggest you to go through the basics of ROS and also to install ROS itself |
- | svn checkout http:// | + | |
- | ==Necessary Packages== | + | ===== Necessary Packages |
Before we go for the test of ARDRONE make sure you have the following packages.In a terminal, type: | Before we go for the test of ARDRONE make sure you have the following packages.In a terminal, type: | ||
- | roscd ardrone_brown | + | |
Make sure you are taken to the respective package' | Make sure you are taken to the respective package' | ||
| | ||
- | roscd drone_teleop | + | |
- | roscd image_view | + | roscd image_view |
+ | |||
+ | ===== Making The Package ===== | ||
- | ==Making The Package== | ||
Now the packages are at place we are going to make it and create a driver file. | Now the packages are at place we are going to make it and create a driver file. | ||
Line 27: | Line 28: | ||
Step 2: In the terminal enter the following commands(one after the other): | Step 2: In the terminal enter the following commands(one after the other): | ||
- | sh build_sdk.sh | + | |
- | cmake . | + | cmake . |
- | | + | rosmake |
Make sure you receive 0 failures at the end of rosmake. | Make sure you receive 0 failures at the end of rosmake. | ||
Line 36: | Line 37: | ||
Step 3: If everything went well right you should be seeing a driver file named " | Step 3: If everything went well right you should be seeing a driver file named " | ||
- | ==Interface your computer with the ARDRONE== | + | ===== Interface your computer with the ARDRONE |
Step 1: Switch on the ARDRONE and wait for the led lights on the ardrone to turn green | Step 1: Switch on the ARDRONE and wait for the led lights on the ardrone to turn green | ||
Step 2: Open up a terminal(ctrl+alt+T) | Step 2: Open up a terminal(ctrl+alt+T) | ||
- | roscore | + | |
Step 3:Open up an other terminal and enter: | Step 3:Open up an other terminal and enter: | ||
- | rosrun ardrone_brown ardrone_driver | + | |
Step 4: Again in a new terminal enter: | Step 4: Again in a new terminal enter: | ||
- | rosrun drone_teleop drone_teleop.py | + | |
Step 5:Open up a terminal and enter : | Step 5:Open up a terminal and enter : | ||
- | + | ||
- | < | + | |
- | rosrun image_view image_view image: | + | |
- | </ | + | This should give a video feed from the ardrone |
- | his should give a video feed from the ardrone | + | |
Step 6: If all of the above steps are successful, you should be able to control the drone using the drone_teleop portal. Here is a video of the ARDRONE being controlled using the Brown ROS package | Step 6: If all of the above steps are successful, you should be able to control the drone using the drone_teleop portal. Here is a video of the ARDRONE being controlled using the Brown ROS package | ||
- | ==Video== | + | ===== Video ===== |
- | < | + | |
- | <iframe width=" | + | {{youtube>6M-ejG2kfRk?large}} |
- | </ | + |
ardrone_brown_ros.txt · Last modified: 2016/11/06 02:01 by dwallace