Giter Site home page Giter Site logo

quadrupel's Introduction

Software package for CS4140ES Embedded Systems Laboratory

Embedded Control software for quadrotor drone

The master branch contains the implementation till full control (mode 5) wih safety features, as demonstrated during the lab exam.

Mode 6 (Raw mode) was attempted and is partially implemented. Branch "filtering_butterworth_jon" can be checked out to access the code for mode 6. It contains the following:

  1. Code for filtering of raw sensor data and display of filtered response through a live graph on PC.
  2. Kalman Filter implementation

quadrupel's People

Contributors

tank1610 avatar yuhaoxyh avatar

Watchers

James Cloos avatar  avatar Niket Agrawal avatar

quadrupel's Issues

Implement some protocol for the link Board --> PC

We need to send relevant information on the PC in a structured form, so that we can read them with the serial link, and store them (some kind of logging is required).

  • Find out which information has to be sent
  • Implement on the board how to send information
  • Implement on the PC how to read and decode information (store them in relevant variables, etc.)
  • Implement some logging on the PC side (open file, write in file, etc.)

Create a PC-Board communication

Niket is working on packet creation.
I work on the packet read on the board.
A first structure is implemented for both of us to test it. When we're done, we can merge on PC-Board-communication branch, to test our implementation.

Implement actions regarding the packets

We need to implement how the packets we are sending over serial are modifying the board's variables and behaviour. This includes:

[ ] Creating the modes
[ ] Motor changes over keyboard controls for the right modes
[ ] Motor changes over joystick controls for the right modes
And probably more. Will be updated if we think about something.

Sending packet id 00FF makes the UART stop on the board

[EDIT: this was a wrong observation ! see below !]

See the picture:
http://image.noelshack.com/fichiers/2018/18/7/1525636332-crc-fail-2.jpg

See : Packet got: FF FF 0 FF ... (twice FF !!!!)
Sending FF in the stick values doesn't do anything harmful.
But when we send FF as packet ID, the UART reads this FF twice, then stops reading.

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.