Code Monkey home page Code Monkey logo

ardrone_controller's Introduction

Ardrone Controller

ROS Package (and utilities) to run the ardrone controller with a vicon system.

Installation

Clone the package into your catkin workspace:

git clone https://github.com/ewcha/ardrone_controller.git

Additionally, you need to have ardrone_autonomy (https://github.com/AutonomyLab/ardrone_autonomy) and vicon_bridge (https://github.com/ethz-asl/vicon_bridge) in your ROS Path.

Usage

  1. Connect the AR.Drone to our network:
  • Download binaries and scripts from https://github.com/daraosn/ardrone-wpa2.git
  • Put the battery into the AR.Drone (make sure it is on a level surface while booting). The Ar.Drone will create its own ad-hoc network.
  • Copy over the wpa_supplicant binaries by running the install script script/install
  • Connect to the drone's network
  • Connect the drone to the ACT Cage network script/connect 'ACT Cage' -p "*********" -a dhcp.
  • Log back onto ACT Cage
  1. Launch the ardrone driver roslaunch ardrone_autonomy ardrone.launch
  2. Launch the vicon driver roslaunch vicon_bridge vicon.launch
  3. Launch the rviz file roslaunch rviz rviz -d controller.rviz from the launch directory of ardrone_controller
  4. Run the controller rosrun ardrone_controller controller.py
  5. Run the ui for the controller rosrun ardrone_controller control_ui.py

Notes

  • If the firmware for the drone comes up a 0.0.0 on launch of ardrone_autonomy, you have to restart the drone and often the computer
  • If the drone is in emergency mode (red LEDs on), you can reset using rostopic pub /ardrone/reset std_msgs/Empty
  • To run the python files (steps 5 and 6), the files need to be executable. Use chmod +x on each of the .py files.

ardrone_controller's People

Contributors

ewcha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.