Code Monkey home page Code Monkey logo

pilotgadgetry's Introduction

C# .NET Quadcopter

This project is experimental. You shouldn't be using this if anyone's life or safety depends on it.

Autopilot

var speedController = new SpeedController(Pca9685PwmController.Default);
var aircraft = new Quadcopter(speedController);

WindowsPilot.Create(
    aircraft,
    L3gd20hGyroscope.Default,
    Lsm303dAccelerometer.Default,
    Lsm303dMagnetometer.Default,
    FlightController.FromGamepad(LogitechF710Gamepad.Default),
    thrustMax: 0.8d,
    angularPositionPitchMax: AngleConvert.ToRadians(15d/*degrees*/),
    angularPositionRollMax: AngleConvert.ToRadians(15d/*degrees*/),
    angularVelocityYawMax: AngleConvert.ToRadians(90/*degrees-per-second*/));

Features

  • Gyroscope (L3GD20H), Accelerometer and Magnometer (LSM303D) interface
  • Kalman filter
  • Sensor Fusion / Attitude and Heading Reference System (AHRS)
  • Logitech F710 Wireless Controller USB-HID
  • PWM Controller (PCA9685) interface
  • PID control for angular positions

Tests

Date Title Video
Mar '16 Flight test #4 Flight test #4
Mar '16 Flight test #3 Flight test #4
Dec '15 Flight test #2 Flight test #4
Nov '15 Flight test #1 Flight test #4

Diagnostics

Date Title Video
Feb '16 Flight diagnostics Flight test #4

Experimental

  • Barometer/Pressure Sensor and Thermometer (LPS25H) interface
  • Ultrasonic/Proximity Sensor (SRF02) interface
  • GPS (u-blox PAM-7Q) interface
  • NMEA parser
  • Linear acceleration estimation in Euclidean space
  • Microsoft Xbox 360 Wireless Controller USB-HID
  • Xeox Pro Gamepad Controller USB-HID

Nuget

Package Description
Biscuits.Devices.L3gd20h.Windows L3GD20H Gyroscope library for the Universal Windows Platform
Biscuits.Devices.Lps25h.Windows LPS25H Pressure Sensor library for the Universal Windows Platform
Biscuits.Devices.Lsm303d.Windows LSM303D 3D Compass and Accelerometer library for the Universal Windows Platform
Biscuits.Devices.Srf02.Windows SRF02 Proximity Sensor library for the Universal Windows Platform
Biscuits.Devices.Pca9685.Windows PCA9685 PWM Controller library for the Universal Windows Platform
Biscuits.Devices.LogitechF710.Windows Logitech F710 Gamepad library for the Universal Windows Platform

References

pilotgadgetry's People

Contributors

tswanepoel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.