paniag / nycrducopter Goto Github PK
View Code? Open in Web Editor NEWNYC Robotics QuadCopter Autopilot Software
NYC Robotics QuadCopter Autopilot Software
This project contains an adaptation of the ArduPilot IMU functionality as taken from the AP_IMU library of the ArduCopter project. Code in this project is intended to run on Arduino Uno hardware. It is designed to stream data from the IMU back to a computer using Serial. IMPORTANT: Do NOT connect the 5-DOF to a +5V power supply. Powering with MORE than 3.6V may result in DAMAGE to the sensors! The Uno has a 3.3V output, which is fine to use. Connect AREF to 3.3V for increased sensitivity (in ADC steps). Primary Differences =================== ADC - The original ArduCopter source is intended to be run on specialized hardware built around the Arduino Mega. It also uses an external 12-bit ADC connected to a serial port. It has been replaced by code that uses Uno's the onboard 10-bit ADC. Note that this required making some changes to constants used in the IMU for reading sensor data. Hardware Serial - Some places in the code used the FastSerial library or hardware serial ports found on the Arduino Mega but not the Uno. These references were modified or removed as appropriate. IMU DOF - ArduCopter has 3 gyro axes, but our IMU has only 2. This required a few small changes where sensor readings are taken and sensor data is stored. EEPROM Storage - I haven't studied how this works yet, so I omitted it. ArduCopter has functions (under AP_Common) that allow persisting config or calibration data. This'll be nice in the future, but for now it wasn't needed. Files ===== board.h - Pin connections are defined here calibration.h - constants related to particular sensors IMU.h, APU_* - files from AP_IMU library, distilled to function on the Uno ArducopterIMU.pde - main file with setup & loop. Just reads data from the IMU and pipes it out through Serial. Dependencies ============ You'll need the ArduPilot libraries installed. They are included in the source distribution, along with installation instructions. AP_Math is the only library used by the first version of this code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.