ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

If you are new to drone programming, I would recommend you to start out with a simulator (unless you have many $$ to burn).

There is some options out there using the Gazebo simulator, check this video: https://www.youtube.com/watch?v=zwTnY-ZqNcM&ab_channel=RoyGaol it contains instructions on how to get it running in Ubuntu 14.04 and ROS Indigo:

(I reproduce the instructions here just for reference):

 -----------Install Ros indigo, Gazebo, Tum Simulator---------------

" Before install ROS and GAZEBO Ubuntu, you should install UBUNTU 14.0 in your machine " 

1. Install Git
- sudo apt-get install git

3. Instal ROS-GAZEBO
you can follow the instruction how to install of ROS 
- http://wiki.ros.org/indigo/Installati...


4. Install Tum Simulator
- You can follow the instruction in https://github.com/dougvk/tum_simulator or..

1. Create a workspace for the simulator

```
mkdir -p ~/tum_simulator_ws/src
cd ~/tum_simulator_ws/src
catkin_init_workspace
```
2. Download dependencies

```
git clone https://github.com/AutonomyLab/ardron... # The AR.Drone ROS driver
git clone https://github.com/occomco/tum_simula...
cd ..
rosdep install --from-paths src --ignore-src --rosdistro indigo -y
```
3. Build the simulator

```
catkin_make
```
4. Source the environment

```
source devel/setup.bash
```
How to run a simulation:

1. Run a simulation by executing a launch file in cvg_sim_gazebo package:

```
roslaunch cvg_sim_gazebo ardrone_testworld.launch
```