Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ntakouris/awesome-dronecraft
Resources to fully understand how autonomous drones work.
https://github.com/ntakouris/awesome-dronecraft
List: awesome-dronecraft
ai autonomous-drones drones resources uav
Last synced: 3 months ago
JSON representation
Resources to fully understand how autonomous drones work.
- Host: GitHub
- URL: https://github.com/ntakouris/awesome-dronecraft
- Owner: ntakouris
- Created: 2019-11-25T17:12:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T11:13:00.000Z (over 4 years ago)
- Last Synced: 2024-08-02T10:18:19.395Z (3 months ago)
- Topics: ai, autonomous-drones, drones, resources, uav
- Homepage:
- Size: 26.4 KB
- Stars: 180
- Watchers: 15
- Forks: 30
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- ultimate-awesome - awesome-dronecraft - Resources to fully understand how autonomous drones work. (Other Lists / PowerShell Lists)
README
# awesome-dronecraft
> I originally created this as a short to-do list of study topics for becoming a software engineer,
> I am creating this list to share my 3 year list of topics that I studied on the side during the curriculum of a Computer Engineering and Informatics degree.
> This is a list of short and medium length study topics to obtain knowledge regarding autonomous rotorcraft.
> The items listed here will give you enough knowledge to be able to understand how they work,
> their limitations and effort required to make them fly.
> *Happy studying!*Format of this is hugely inspired by [jwasham/coding-interview-university](https://github.com/jwasham/coding-interview-university)
Contributions are welcome, so please open a PR if you can improve this list or something is missing!
## What is it?
This is my big study plan for going from simple programmer dude to software engineer who can understand how autonomous drones work.
There are references and video of various popular open source flight controller firmware and guidance projects in order to give the reader a sense of realism and real-sense and real-world value of operations, as well as act as get-to-know-the-market info.
![Skydio's SLAM](https://pbs.twimg.com/ext_tw_video_thumb/976148551779500032/pu/img/erxg20ZxAfOoDBKb.jpg)
This is meant for **software engineers** or people who already know how to code and also got basic knowledge of computer science topics including math __(probablility, calculus, linear algebra)__. If you have many years of experience this can be easier to read through, but this is not guaranteed.
Disclaimer: I am not employed nor have I got any work experience on commerial or research rotorcraft.
---## Table of Contents
- [What is it?](#what-is-it)
- [Why use it?](#why-use-it)
- [How to use it](#how-to-use-it)
- [Don't feel you aren't smart enough](#dont-feel-you-arent-smart-enough)
- [You can't pick only one language](#you-cant-pick-only-one-language)
- [Book List](#book-list)
- [Before you Get Started](#before-you-get-started)
- [What you Won't See Covered](#what-you-wont-see-covered)
- [Prerequisite Knowledge](#prerequisite-knowledge)
- [Optional Courses](#courses)
- [Simulation and Control](#simulation-and-control)
- [Control Theory](#control-theory)
- [Sensors and State Estimation](#sensors-and-state-estimation)
- [Simultaneous Localization and Mapping](#slam)
- [Path Planning](#path-planning)
- [Mechatronics](#mechatronics)
- [Existing Drone Software](#existing-drone-software)
- [Existing Drone Hardware](#existing-drone-hardware)
- [The Flight Controller](#the-flight-controller)
- [Building a Racing FPV Quadcopter](#building-a-racing-fpv-quadcopter)
- [Building Fully Autonomous Rotorcraft](#building-fully-autonomous-rotorcraft)- [Once You've Finished](#once-youve-finished)
- [Other Resources](#other-resources)
- [Drone Usage in Industry](#drone-usage-in-industry)
- [Other Kinds of Vehicles](#other-kinds-of-vehicles)
- [More Advanced Topics](#more-advanced-topics)- [Other Interesting](#other-interesting)
## Why use it?
When I started this project, I didn't know how a drone could see, how the math behind the control
algorithm worked, what the limitations are or anything like that.
I started skimming through any resources I could after being inspired by the newly released
[Skydio r1](https://www.skydio.com/) and it's CEO's [numerous guest lectures at youtube](https://www.youtube.com/watch?v=ZI66eq7Nn1E). I slowly started building enough sensors to be able to grasp every sub-component of such flying systems. I have not learned everything yet, but the list is big enough to share and will always be evolving with more stuff added.It's a long plan. It may take you months. If you are familiar with a lot of this already it will take you a lot less time.
## How to use it
Everything below is an outline, and you should tackle the items in order from top to bottom.
I'm using Github's special markdown flavor, including tasks lists to check progress.
**Create a new branch so you can check items like this, just put an x in the brackets: [x]**
Fork a branch and follow the commands below
`git checkout -b progress`
`git remote add zarkopafilis https://github.com/zarkopafilis/awesome-dronecraft`
`git fetch --all`
Mark all boxes with X after you completed your changes
`git add .`
`git commit -m "Marked x"`
`git rebase zarkopafilis/master`
`git push --force`
[More about Github-flavored markdown](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown)
## Don't feel you aren't smart enough
- Successful software engineers are smart, but many have an insecurity that they aren't smart enough.
- [The myth of the Genius Programmer](https://www.youtube.com/watch?v=0SARbwvhupQ)
- [It's Dangerous to Go Alone: Battling the Invisible Monsters in Tech](https://www.youtube.com/watch?v=1i8ylq4j_EY)
- [Believe you can change](http://www.aaronsw.com/weblog/dweck)
- [Think you're not smart enough to work at Google? Well, think again](https://www.youtube.com/watch?v=uPOJ1PR50ag)## You can't pick only one language
You can't use only 1 language you are comfortable in to do the coding of the drones. You'd have to rely on many tools. Here are some for example.
- C++
- C
- Python
- Matlab (Yes, I know)You may also need to learn a bit of other tools in the proccess. This is NOT something that you should feel worried about. With studying consistency there is nothing you can't achieve!
## Book List
- [Quan, Quan - Introduction to Multicopter Design and Control](https://www.springer.com/gp/book/9789811033810)
A very good all-around book. It provides a more than quick-overview on all the different topics regarding quadcopters, from frame design, to electronics and control, diving deep enough on technical and practical design practises and considerations. It provides intuition behind every subject matter and does not containt ambiguities. The mathematics may seem too hard to deal with for some people, but that's not a thing to worry about. A person without mechanical or electrical engineering background can easily tackle this with some calculus and basic geometry knowledge.## Before you Get Started
This list grew over many months, and yes, it kind of got out of hand.
Here are some mistakes I made so you'll have a better experience.
### You can't take it all in at once
Take breaks, write down possible things you need to re-review and watch them later or in a different way. This is a lot to take in and breaks are mandatory.
Some concepts can take much longer to understand fully. So if you don't understand it immediately do not worry. I suggest re-studying some of the parts that seemed hard to you after doing one pass on this study list.
### Focus
There are a lot of distractions that can take up valuable time. Focus and concentration are hard.
## What you won't see covered
- Don't know yet
## Prerequisite Knowledge
Learn to code. This is only required for you to understand how the different algorithms and techniques that will be presented are actually implemented. You need this knowledge to be able to understand the source code of the popular data structure implementations, open source flight controllers and more. Basic data structure and algorithmic complexity should be included.
- [ ] **C, C++, Python, Anything**
- Information available on the internet is widely available and you can find lot's of stuff by googling.
- I could recommend to start with Python and work your way down to C and C++.
- You can learn to code in parallel with this study plan, but things will be a lot harder and will take more time.
- [ ] [A complete computer science study plan to become a software engineer](https://github.com/jwasham/coding-interview-university)The next part is needed to be able to understand the math behind the stuff we are going to use. It's not at all harder compared to other fields of study. Hang on and in the end, you'll be surprised by how easy it is to understand everything. This is not the only path to learn these, it's just what I would take. (Yes, I like university lectures and whitepapers.)
- [ ] **Basic linear algebra, calculus, probablility and elementary physics**
- [ ] [Single Variable Calculus - MIT OCW](https://ocw.mit.edu/courses/mathematics/18-01sc-single-variable-calculus-fall-2010/)
- [ ] [Multivariable Calculus - MIT OCW](https://ocw.mit.edu/courses/mathematics/18-02sc-multivariable-calculus-fall-2010/)
- [ ] [Gilbert Strang's Linear Algebra - MIT OCW](https://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-spring-2010/) __there is really no better way to learn this in the world__
- [ ] [Introduction to Probability and Statistics- MIT OCW](https://ocw.mit.edu/courses/mathematics/18-05-introduction-to-probability-and-statistics-spring-2014/)
- [ ] [Digital Signal Proccessing - Rensselaer Polytechnic Institute](https://www.youtube.com/playlist?list=PLuh62Q4Sv7BUSzx5Jr8Wrxxn-U10qG1et)## Courses
__Optional__
- These can get expensive, but here is a list of the popular ones. Most are cheap or free.
- [Flying Cars Nanodegree](https://www.udacity.com/course/flying-car-nanodegree--nd787)
- [Aerial Robotics](https://www.coursera.org/learn/robotics-flight)- [Make an Open Source Drone](https://www.udemy.com/course/make_a_drone/)
- [Drone Programming Primer](https://www.udemy.com/course/drone-programming-primer-for-software-development/)- [AI For Robotics](https://www.udacity.com/course/artificial-intelligence-for-robotics--cs373)
- [Computer Vision](https://www.udacity.com/course/computer-vision-nanodegree--nd891)- [Land Surveying with Drones](https://www.udemy.com/course/land-surveying-with-drones-fly-process-analyze-1/)
- [2D & 3D Drone Modeling and Mapping With Agisoft Metashape](https://www.udemy.com/course/2d-3d-drone-modeling-and-mapping-with-agisoft-metashape/)
- [EDX Drone Courses: Applications and Agriculture](https://www.edx.org/learn/drones)## Simulation and Control
- This is the basis of rotorcraft that is going to get covered first. These few resources will make you understand what a drone needs to fly bad, good, with the help of extra autonomy engines or with the help of a pilot.
- After this part, the corks and screws of each subsystem is going to be investigated thoroughly.- [ ] [Matlab Tech Talks - Understanding Control Systems](https://www.mathworks.com/videos/series/understanding-control-systems-123420.html)
- [ ] [Matlab Tech Talks - Drone Simulation and Control](https://www.mathworks.com/videos/drone-simulation-and-control-part-1-setting-up-the-control-problem-1539323440930.html)
- [ ] [Introduction to 6-DOF Simulation of Air Vehicles (pdf)](http://avionics.nau.edu.ua/files/doc/VisSim.doc/6dof.pdf)
- [ ] [Quadcopter Dynamics, Simulation and Control (paper)](http://andrew.gibiansky.com/downloads/pdf/Quadcopter%20Dynamics,%20Simulation,%20and%20Control.pdf)
- [ ] [PID, LQR and LQR-PID on a quadcopter platform (paper)](https://www.researchgate.net/publication/261212676_PID_LQR_and_LQR-PID_on_a_quadcopter_platform)
- [ ] [Betaflight: PID Tuning Guide](https://www.youtube.com/watch?v=27lMKi2inpk)
- [ ] [Pixhawk: PID Auto Tune](https://www.youtube.com/watch?v=DbcZCql1UlE)__At this point, you might wonder: This is only for four rotors. Don't worry, the extra ones are only used to have resilience. In the future this is going to be populated with more types of rotorcraft like submarines, VTOL drones and wings.__
## Control Theory
- Now that you have got a rough understanding of how you are going to make things fly, it's time to take a better look into the mathematical concepts behind the control of systems.
- [ ] [Matlab Tech Talks - State Space](https://www.mathworks.com/videos/series/state-space.html)
- [ ] [Matlab Tech Talks - Control Systems in practise](https://www.mathworks.com/videos/series/control-systems-in-practice.html)
- [ ] [Matlab Tech Talks - Understanding PID control](https://www.mathworks.com/videos/series/understanding-pid-control.html)## Sensors and State Estimation
- In order to get the control theory to work, we have to obtain a best-effort state estimate by observing our rotorcraft system.
- [ ] Kalman Filters
- [ ] [Matlab Tech Talks - Understanding Kalman Filters](https://www.mathworks.com/videos/series/understanding-kalman-filters.html)
- [ ] [(or) Michel van Biezen - Kalman Filters](https://www.youtube.com/watch?v=CaCcOwJPytQ)
- [ ] [Particle Filters](https://www.youtube.com/watch?v=lzN18y_z6HQ)
- [ ] [(optional) Michel van Biezen - How GPS works](https://www.youtube.com/watch?v=16xHIBmul_o&list=PLX2gX-ftPVXXGdn_8m2HCIJS7CfKMCwol)
- [ ] Map Projections
- [ ] [Map Projections Explained](https://www.youtube.com/watch?v=wlfLW1j05Dg)
- [ ] [Equirectangular Projection (site)](https://en.wikipedia.org/wiki/Equirectangular_projection)
- [ ] Inertia Measurement Units
- [ ] [How IMUs Work](https://www.youtube.com/watch?v=eqZgxR6eRjo)
- [ ] [How to implement an IMU](https://www.youtube.com/watch?v=T9jXoG0QYIA)
- [ ] [Soft mounting and vibrations](https://www.youtube.com/watch?v=zdE1BidMwNU)
- [ ] Cameras and Optical Sensors
- [ ] [How does a camera work](https://www.youtube.com/watch?v=qS1FmgPVLqw)
- [ ] [Rolling and Global Shutter](https://www.youtube.com/watch?v=DG4OjpD3Zow)
- [ ] Optical Flow
- [ ] [Computerphile - Optical Flow](https://www.youtube.com/watch?v=5AUypv5BNbI)
- [ ] [Computerphile - Optical Flow Solutions](https://www.youtube.com/watch?v=4v_keMNROv4)
- [ ] Depth Perception
- [How Kinect works in 2 minutes](https://www.youtube.com/watch?v=uq9SEJxZiUg)
- [Stereoscopic 3D basics](https://www.youtube.com/watch?v=1MXNRrHLuWk)
- [How does a LiDAR work](https://www.youtube.com/watch?v=EYbhNSUnIdU)
- [The correspondence problem](https://www.youtube.com/watch?v=VZNN1OGoqr8)]
- [ ] [PX4: Gimbal Control (site)](https://dev.px4.io/v1.9.0/en/advanced/gimbal_control.html)
- [ ] [MAVLink: Gimbal Protocol (site)](https://mavlink.io/en/services/gimbal.html)
- [ ] [Ultrasonic Distance Sensor](https://www.youtube.com/watch?v=6F1B_N6LuKw)
- [ ] Corrections and Calibration
- [ ] [What is Sensor Calibration and Why is it Important?](https://www.youtube.com/watch?v=n_lZCIA25aI)
- [ ] [Low Pass Filter (site)](https://www.dsprelated.com/freebooks/filters/Simplest_Lowpass_Filter_I.html)
- [ ] [Sampling Rates for Analog Sensors (site)](https://www.embedded.com/sampling-rates-for-analog-sensors/)
- [ ] [Signal Reconstruction](https://www.youtube.com/watch?v=rmDg3eVWT8E)
- [ ] Communication Protocols
- [ ] [Understanding the I2C Bus (pdf)](https://www.ti.com/lit/an/slva704/slva704.pdf)
- [ ] [How I2C Works](https://www.youtube.com/watch?v=6IAkYpmA1DQ)
- [ ] [UART (pdf)](https://www.ti.com/lit/ug/sprugp1/sprugp1.pdf)
- [ ] [How UART Works](https://www.youtube.com/watch?v=V6m2skVlsQI)
- [ ] [SPI for Beginners](https://www.youtube.com/watch?v=ba0SQwjTQfw)
- [ ] [Analog to Digital Converters](https://www.youtube.com/watch?v=EnfjYwe2A0w)
- [ ] [SBUS and IBUS](https://www.youtube.com/watch?v=N2nnI72bmj4)
- [ ] [Understanding Pulse Width Modulation](https://www.youtube.com/watch?v=YfV-vYT3yfQ)
- [ ] [MAVLink](https://mavlink.io/)
- [ ] [XBee full walkthrough](https://www.youtube.com/watch?v=odekkumB3WQ)## SLAM
- The sensor subsystem is complete. We can now procceed to construct a map of the environment as well as figure out where our UAV is located in the world.
- [ ] [Quadtrees and Octrees (site)](https://www.i-programmer.info/programming/theory/1679-quadtrees-and-octrees.html)
- [ ] [Octomap: An Efficient Probabilistic 3D Mapping Framework Based on Octrees (site)](https://octomap.github.io/)
- [ ] [EKF SLAM - Cyrill Stachniss](https://www.youtube.com/watch?v=XeWG5D71gC0)
- [ ] [LiDAR Data Visualisation](https://www.youtube.com/watch?v=nXlqv_k4P8Q)
- [ ] [Autonomous Driving: Localization and Deep Learning Powered Mapping](https://www.youtube.com/watch?v=xgI3vgnHQ9U)## Path Planning
- After proper localization, we are ready to path or mission plan, to make the UAV complete a predefined course of trajectory along with actions
- [ ] [Robotic Path Planning: RTT, RTT* (article)](https://medium.com/@theclassytim/robotic-path-planning-rrt-and-rrt-212319121378)
- [ ] [3DVFH+: Real-Time Three-Dimensional Obstacle Avoidance Using an Octomap (paper)](https://www.researchgate.net/publication/269872013_3DVFH_Real-Time_Three-Dimensional_Obstacle_Avoidance_Using_an_Octomap)
- [ ] [QGroundControl: Mission Planning (site)](https://docs.qgroundcontrol.com/en/PlanView/PlanView.html)
- [ ] [ArduPilot: ZigZag Mode (site)](http://ardupilot.org/copter/docs/zigzag-mode.html)
- [ ] [ArduPilot: Automatic Launch (site)](http://ardupilot.org/plane/docs/automatic-takeoff.html)## Mechatronics
- [ ] [How brushless motors work and how to control them](https://www.youtube.com/watch?v=uOQk8SJso6Q)
- [ ] [Advantages and Disadvantages of Brushed and Brushless Motors](https://www.youtube.com/watch?v=Y7nQI2xM2as)
- [ ] [How to choose the right brushless motor for your drone](https://www.youtube.com/watch?v=Ry6JJPgrfVA)
- [ ] [Slow retracting landing gear for drones](https://www.youtube.com/watch?v=VWCpLyIXwz0)
- [ ] [Drone with Dual Robot Arms](https://www.youtube.com/watch?v=T6kaU2sgPqo)## Existing Drone Software
- For your own interest. Take a look into the source and issue tracker, maybe join the weekly dev calls.
- Autopilots:
- [ ] [PX4](https://github.com/PX4/Firmware)
- [ ] [Ardupilot](http://ardupilot.org/)
- [ ] [BetaFlight](https://betaflight.com/)
- [ ] [Cleanflight](http://cleanflight.com/)
- [ ] [INAV](https://github.com/inavFlight/inav/wiki)- SDKs:
- [ ] [MAVSDK](http://mavsdk.io/)
- [ ] [Dronekit Dev Tools](https://dronekit.io/)
- [ ] [Parrot SDKs](https://developer.parrot.com/)
- [ ] [DJI SDKs](https://developer.dji.com/)
- [ ] [Skydio Skills](https://github.com/Skydio/skydio-skills)- Ground Control Stations:
- [ ] [QGroundControl](http://qgroundcontrol.com/)- Simulators:
- [ ] [Gazebo](http://gazebosim.org/)
- [ ] [Airsim](https://microsoft.github.io/AirSim/)- Middleware:
- [ ] [Robot Operating System](https://www.ros.org/)- Protocols:
- [ ] [UAVCAN](https://uavcan.org/)
- [ ] [MAVLink](https://mavlink.io/)
- [ ] [Betaflight:Open ESC Firmware](https://github.com/betaflight/betaflight-esc)
- [ ] [BLHeli](https://github.com/bitdump/BLHeli)- Design Tools:
- [ ] [Flight Evaluation](https://www.flyeval.com/) - Rule and Constraint based airframe design and evaluation## Existing Drone Hardware
- For your own interest as well.
- [ ] [Pixhawk Controllers](https://pixhawk.org/#autopilots)
- [ ] [Betaflight F4](https://www.getfpv.com/betaflight-f4-flight-controller.html)
- [ ] [Kakute F7](http://www.holybro.com/product/kakute-f7/)
- [ ] [Kiss FC](https://www.flyduino.net/en_US/shop/product/pr1872-kiss-fc-32bit-flight-controller-v1-03-2686)
- [ ] [Zubax UAVCAN Propulsion Kit](https://shop.zubax.com/products/uav-propulsion-kit)
- [ ] [NEO-M8N GPS](https://www.getfpv.com/pixhawk-4-autopilot-and-neo-m8n-gps-pm07-combo.html)
- [ ] [Skydio](https://www.skydio.com/)
- [ ] [Intel Aero RTF](https://click.intel.com/intel-aero-ready-to-fly-drone-2812.html)
- [ ] [QAV 250 RTF](https://www.getfpv.com/qav250-mini-fpv-quadcopter-rtf-carbon-fiber-edition.html)
- [ ] [Intel Realsense](https://www.intel.com/content/www/us/en/architecture-and-technology/realsense-overview.html)## The Flight Controller
- [ ] [Betaflight: Software Architecture Diagrams](https://github.com/betaflight/betaflight/issues/7112)
- [ ] [Betaflight: Unified Board Targets](https://github.com/betaflight/betaflight/wiki/Unified-Targets)
- [ ] [Pixhawk: Architectural Overview](https://dev.px4.io/v1.9.0/en/concept/architecture.html)
- [ ] [ArduPilot: Flight Modes](http://ardupilot.org/copter/docs/flight-modes.html)
- [ ] [Pixhawk: Flight Review](https://docs.px4.io/v1.9.0/en/log/flight_review.html)## Building a Racing FPV Quadcopter
- In order to do that, you have to find a set of required hardware that is compatible, burn and configure your desired flight controller firmware.
- [ ] **Minimum Hardware**
- [ ] Frame. For racing/fully manual control, typically carbon fiber, but you can even 3d print one or carve one out of wood. Take 2 dimensions in mind: flight controller stack size and propeller size. Most common propellers would be about 5".
- [ ] Flight Controller. You know enough to choose one. I'd use betaflight.
- [ ] ESCs. You can go with a 4 x 1 ESC or All in one board combo. Each has got advantages and disadvantages, search about it. But first, check your battery. It should be able to handle the burst current.
- [ ] PDB. You need a power distribution board. These are relatively small and uncomplicated. You can find __PDB+ESC+FC__ all in one combos that include battery step down and all that. But first, check your battery.
- [ ] Battery. LiPo. At the time of this writing you can go from 4s to 6s. Price depends on capacity, discharge rating and cell count.
- [ ] Brushless Motors. You know, to make the thing move.
- [ ] RC Transceiver. Should be compatible with your RC Controller and it's protocol should be compatible with your FC board. Typically 2.4GHz.
- [ ] RC Controller. Flysky, Taranis, there are too many to list.
- After configuring frameware you should be able to fly this, but there are several stuff missing.
- [ ] **Optional Hardware**
- [ ] Camera. Not the kind you are used to. This one sends out (analog) PAL/VTSC video and should support [OSD](https://oscarliang.com/betaflight-osd/)
- [ ] VTX. Stands for video transmitter. This is used to broadcast the video to typically 5.8GHz. Research how much mW you need.
- [ ] FPV Goggles. To view the video. Should bear compatible antenna with the VTX. Diversity modules which dynamically choose the best signal source from an omnidirectional and a directional antenna are better.
- [ ] Aftermarket Antennas. For beter reception.
- [ ] Beeper. Beeps if you lose it.
- [ ] Battery Balance Charger. You can't use discharged batteries.
- [ ] Battery Balance Charger Power Supply. If your charger does not come with one. (Most IMAX B6s do not, for example)
- [ ] 3D Printed GoPro Session Case
- [ ] Insulation Tape
- [ ] Zipties
- [ ] LEDs for the bottom of the craft
- [ ] Velcro Battery Straps- [ ] **Software and Further Configuration**
- [ ] Blackbox Logging. Important information regarding your flight. Can help you out for post-flight analysis.
- [ ] RC Channel Mapping
- [ ] Make sure that ESCs spin in the correct directions. You can change this in the ESC software or flight controller software.
- [ ] Pair RC Transceiver with your RC Controller.
- [ ] PID and Rates Tuning
- [ ] Keep a configuration backup along with the exact firmware number so you don't forget.__Experienced racing pilots recommend that you stard by flying 'acro'/'freestyle' mode straight from the start. Do not do that with real drone hardware, the probability of crashing within 2 seconds is almost 100%. Take your time on a simulator first. There are many ones that you can find on the most popular gaming platforms like Steam. For example: Liftoff, DRL Sim, etc...__
__Flying 'angle'/'aided' mode is much easier and the same to flying your typical DJI/Parrot/etc drone around. You can fly this 'line of sight' even if you dont have goggles.__
## Building Fully Autonomous Rotorcraft
- Building Fully Autonomous Rotorcraft is much harder and more resource intensive than building a computer-aided one. You need to do better calibration because there is no pilot directly flying it-only supervising it.
- **Basic Hardware**. Basic in the sense that you need at least those for this to fly autonomously. You could maybe leave the GPS out of that, but you need at least optical flow for exact stabilization.
- [ ] Flight Controller. Prefer a pre-tuned pre-built one that's resilient and robust enough. The [Pixhawk 4](https://docs.px4.io/master/en/flight_controller/pixhawk4.html) is a very good option, with dual IMUs, a ton of sensors, standarized connectors and a ton of connectivity options.
- [ ] GPS
- [ ] and/or Bottom Mounted Camera(s). Example of a drone that has got cameras on the bottom but no GPS, is the one from the matlab tech talks.
- [ ] Frame
- [ ] Propellers
- [ ] Brushless Motors
- [ ] Power Distribution Board
- [ ] LiPo Battery
- [ ] Connectivity
- [ ] Some way to send mission control data and receive information
- [ ] RC Controller to pilot-override the trajectory- [ ] **Optional Hardware**
- **Basic Obstacle Avoidance**
- [ ] Front Mounted Camera (or RGB-D or long range ultrasonic for slow moving drones)
- [ ] Basic Co-Processor if the flight controller firmware can't handle obstacle avoidance on it's own
- **Auto Land and Hand Land**
- [ ] Bottom mounted ultrasonic sensor
- [ ] and/or bottom mounted camera(s) -- two cameras needed for depth in order to be more reliable than optical flow
- **Payload Carry**
- [ ] Some kind of [magnet](https://kb.zubax.com/display/MAINKB/OpenGrab+EPM+v3) or servo to drop payloads
- **Advanced Camera Ops**
- [ ] Rotating Gimbal. In order not to couple the field of view along with the movement of the drone.
- [ ] RGB-D Camera (for better SLAM)
- [ ] LiDAR (SLAM too)
- [ ] Retracting Landing Gear
- **Extra Connectivity**
- [ ] WiFi
- [ ] LoRa
- [ ] E-3G-4G-5G
- [ ] Bluetooth- **Useful Co-Proccessor Compute Boards**
- [Raspberry Pi](https://www.raspberrypi.org/)
- [ODroid](https://www.hardkernel.com/)- [nVidia Jetson](https://www.nvidia.com/en-us/autonomous-machines/jetson-store/)
- [Coral USB ML Accelerator](https://coral.withgoogle.com/products/accelerator/)
- [Intel Neural Compute USB Stick](https://software.intel.com/en-us/neural-compute-stick)Usually, you start of from the 'job' requirements ex. Mapping, Crop Spraying, Inspection and then decide what hardware is capable of doing this job on a cost-benefit scenario. Configure everything and you should be ready to go.
## Once You've Finished
Congratulations!
Keep learning.
You're never really done. But still, good job :).
## Other Resources
- [ ] [Digital Night Vision Insights](https://www.youtube.com/watch?v=CFDNEjJ0cME)
- [ ] [How to Make an Infared Night Vision Camera From a Regular Digital Camera](https://www.youtube.com/watch?v=qRCz6n_cqHM)- [ ] [The Reconfigurable Aerial Robotic Chain: Modeling and Control](https://www.youtube.com/watch?v=yarPEP8Kcwk)
- [ ] [Skydio: Adam Bry Guest Lecture CS287](https://www.youtube.com/watch?v=ZI66eq7Nn1E)- [ ] [Autonomous Exploration inside Building Corridors](https://www.youtube.com/watch?v=H7WpBhPbvSI)
- [ ] [Autonomous Self-deployment of Communication Breadcrumbs](https://www.youtube.com/watch?v=-bDDzUFlJGE)- [ ] [Army's Next Generation Silent Nano Drone](https://www.youtube.com/watch?v=d5TdbMu8xc4)
## Drone Usage in Industry
## Other Kinds of Vehicles
- **Wings**
- **VTOL**
- **Underwater**## More Advanced Topics
- [ ] UAV Swarms
- [ ] Automatic Resupply and Mission Resum
- [ ] Deep Learning
- [ ] [Andrew Ng: Deep Learning Specialization](https://www.coursera.org/specializations/deep-learning)
- [ ] [Fast AI Courses](https://www.fast.ai/)Now that you have made it so far, here are the last resources I am able to point you to. From this point on you should have a good understanding of how drones work and how to have a digital perception of the environment. The last parts are exactly a few missing pieces and how to pull everything together:
- [ ] Efficient and Accurate Tracking Objects Through Video
- [ ] [Kernelized Correlation Filters](http://www.robots.ox.ac.uk/~joao/circulant/). This is the efficient approach #1. A very simple training step with a very simple detection and on-line update step.
- [ ] [End-to-end representation learning for Correlation Filter based tracking](http://www.robots.ox.ac.uk/~vedaldi//assets/pubs/bertinetto17end-to-end.pdf). This is the step #2, sacrificing some computational power and complexity in order to get a more robust and transformation-occlusion invariant tracking
- [ ] Lightweight Deep Neural Network Computations for Mobile and Embedded Platforms
- [ ] [MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications](https://arxiv.org/pdf/1704.04861.pdf). There is also a V2 version of MobileNets.
- [ ] [Intel OpenVINO](https://medium.com/@zarkopafilis/introduction-to-intel-openvino-in-5-minutes-b21f59e5fd4?source=friends_link&sk=2112ee80b16fa7da480d55ed1ed7602e). Optimizing deep learning models for the edge. nVidia and other companies provide their own toolkits as well, but they all work on a similar pruning-and-reducing neurons while maintaining a high enough performance metrics.
- [ ] [Towards a Robust Aerial Cinematography Platform: Localizing and Tracking Moving Targets in Unstructured Environments](https://arxiv.org/pdf/1904.02319.pdf). AKA the Skydio paper. The authors of this paper have published a lot of work on the subject and will probably keep doing them. I suggest that you look the up on google scholar.## Other Interesting
- [Lex Fridman AI Podcasts](https://lexfridman.com/ai/)
- [2 Minute Papers](https://www.youtube.com/channel/UCbfYPyITQ-7l4upoX8nvctg)Lastly, I hope that enjoyed reading and learning from this simple text file as much as I enjoyed researching and writing about it.