Skip to content
forked from dennisss/quadctrl

Quadcopter Onboard Controller and Related Algorithms (with Android/ROS support)

Notifications You must be signed in to change notification settings

wuyou33/quadctrl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quadcopter Controller

  • An implementation of many common quadcopter control and modeling things

  • Position and attitude control based on

    • Minimum Snap Trajectory Generation and Control for Quadrotors by Daniel Mellinger and Vijay Kumar

Useful Commands

  • For creating an access point on a linux machine (requires create_ap)

    • sudo create_ap -n wlp3s0 MyAP helloworld
  • Starting up the controller

    • ROS_IP=192.168.12.1 ROS_HOSTNAME=192.168.12.1 ./scripts/keyboard_ctrl.py
  • Checkout "Sharing internet connection over Ethernet" under https://wiki.archlinux.org/index.php/NetworkManager

  • See ext/cores/teensy3 for Teensy3 makefile example

  • Programming AfroESCs: make program_tgy_afro_nfet.0 via usb pwm programmer

Builds

Below are descriptions of each of the builds:

Libraries Used

Android

Included is a fully functional Android implementation of the controller which can turn any smartphone into a quadcopter controller (with some additional USB hardware).

  • Disclaimer: this is active research code; safety and functionality are not guranteed. Please observe caution while testing.

  • Android Phone powered Quadcopter (with ROS for remote control)

  • Compatible with Android 6.0 stock. No root required.

  • Connects to motors via a USB cable connected to an Arduino (see arduino/arduino.ino)

  • Requires rosjava with android_core to be installed on the computer (you need to change app/build.gradle to point to these packages)

  • Uses custom versions of libftdi and libusb (included)

  • For compiling, you need to separately compile roscpp_android_ndk and place it in the ext folfer

  • TODO: Add video streaming

About

Quadcopter Onboard Controller and Related Algorithms (with Android/ROS support)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 77.5%
  • C 16.1%
  • Eagle 5.3%
  • Java 0.5%
  • CMake 0.3%
  • Python 0.1%
  • Other 0.2%