Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

uga_tum_ardrone

Repository Summary

Checkout URI https://github.com/thinclab/uga_tum_ardrone.git
VCS Type git
VCS Version indigo-devel
Last Updated 2015-12-12
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
uga_tum_ardrone 0.0.2

README

Package uga_tum_ardrone

This package is a fork of the popular tum_ardrone package. Currently, the changes are:

  • Replace the PID controller with a more specialized controller based on a damped spring
  • Improve the accuracy of the state estimation
  • Small bug fixes and improvements to the user experience

This package contains the implementation corresponding to the following publications:

You can find a video on youtube. This Package builds on the well known monocular SLAM framework PTAM presented by Klein & Murray in their paper at ISMAR07. Please study the original PTAM website and the corresponding paper for more information on this part of the software. Also, be aware of the license that comes with it.

The code works for both the AR.Drone 1.0 and 2.0, the default-parameters however are optimized for the AR.Drone 2.0 by now.

Installation

with catkin

cd catkin_ws/src
git clone https://github.com/thinclab/uga_tum_ardrone.git -b indigo-devel
cd ..
rosdep install uga_tum_ardrone
catkin_make

Quick start

Launch the nodes

roslaunch uga_tum_ardrone ardrone_driver.launch
roslaunch uga_tum_ardrone uga_tum_ardrone.launch

Check status

On the GUI, under Drone Communication Status, you should see:

  • Drone Navdata: XHz (X > 100)
  • Pose Estimates: 33Hz

Keyboard control

  • focus drone_gui window
  • press ESC to activate KB control
  • fly around with KB (see drone_gui for key assignments)

Joystick control

  • rosrun joy joy_node
  • press PS button on controller to activate it
  • fly around (see drone_gui for key assignments)

Autopilot

  • type command “autoInit 500 800” in top-left text-field
  • click Clear and Send (maybe click Reset first) => drone will takeoff & init PTAM, then hold position.
  • click on video to interactively set target (relative to current position); see drone_stateestimation => first fly up 1m and then down 1m to facilitate a good scale estimate, dont start e.g. by flying horizontally over uneven terrain (!).
  • always have a finger on ESC or on the joystick for emergency-keyboard control :)

Nodes

drone_stateestimation

Estimates the drone’s position based on sent navdata, sent control commands and PTAM.

IMPORTANT: requires messages to be sent on both /ardrone/navdata (>100Hz) and /ardrone/image_raw (>10Hz), i.e. a connected drone with running ardrone_autonomy node, or a .bag replay of at least those two channels. ardrone_autonomy should be started with:

rosrun ardrone_autonomy ardrone_driver _navdata_demo:=0 _loop_rate:=500

#### Subscribed topics

  • /ardrone/navdata
  • /ardrone/image_raw
  • /cmd_vel
  • /uga_tum_ardrone/com

Published topics

  • /ardrone/predictedPose
  • /uga_tum_ardrone/com

Services

None

#### Parameters

  • ~publishFreq: frequency, at which the drone’s estimated position is calculated & published. Default: 30Hz
  • ~calibFile: camera calibration file. If not set, the defaults are used (camcalib/ardroneX_default.txt).
  • UseControlGains: whether to use control gains for EKF prediction.
  • UsePTAM: whether to use PTAM pose estimates as EKF update

File truncated at 100 lines see the full file

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository

Repo symbol

uga_tum_ardrone repository