dRehmFlight
AUnit
Our great sponsors
dRehmFlight | AUnit | |
---|---|---|
14 | 2 | |
887 | 165 | |
- | - | |
3.9 | 5.6 | |
5 months ago | 6 months ago | |
C++ | C++ | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dRehmFlight
- Getting into RC Planes
-
First DIY Drone Questions!
Since you mentioned programming, one other thing you should consider is the firmware. FPV drones typically run the betaflight firmware. betaflight is fairly mature, feature-rich and is aimed at racers and freestyle pilots. If you’re looking more to tinker with programing, you could start with this instead of a more standard flight controller: https://github.com/nickrehm/dRehmFlight
-
Book on programming my own autopilot
I have similar aspirations. No books, but if you want an example of someone who’s done that before, check out drhemflight. It’s not fully autonomous, but it’s a modular flight stabilizer running on teensy, which uses arduino IDE
- Does anyone know about a good avionics related open source project for learning purposes?
-
Seeking Advice and Help in Creating a Custom Flight Controller for My Mini Programmable Drone
There's several flight control systems on Github, such as Ardupilot, for example. I wouldn't undertake this without checking out what's already out there, all the way down to simple stabilization systems.
-
Ask HN: Best programmable drone / open source OS?
To add to this, most of the time one doesn't need to hack on the drone firmware itself. Just configuring/hacking the mission planner alone would go a long way: https://ardupilot.org/planner/
But if you're interested in more readable codebases without too much legacy headaches:
https://github.com/BossHobby/QUICKSILVER (for indoor drones mostly)
And for even less functionality but a good learning tool kind of codebase:
https://github.com/nickrehm/dRehmFlight
- Building Flight computer from scratch
- Does anyone have all the math required for creating a stabilization program for a rocket?
-
What did you wish you knew before making your own drone from scratch?
dRehmFlight is about the simplest a flight controller can get (in terms of code readability).
-
Inverted pendulum on a racing drone (power loop attempted)
This is actually my own flight controller code running on a teensy 4.0 microcontroller, coded in arduino: https://github.com/nickrehm/dRehmFlight
AUnit
-
How can I unit test my firmware?
To give some context, ESPecial is an Arduino based firmware that gives you the possibility to control your esp32 via a web interface or telegram bot, and add dynamically all kind of automations. It’s a bit like ESP-Home, but without the compilation step (and far from having all its features!). It has nice features like web socket, Camera, Matt and more. The thing is that the whole code is not tested, I’m a web developer and never done C++ so when I started that project I just wanted something working for my prototypes. Now that I want the thing to be more robust, I’d like to implement unit/functional tests. I found this: https://github.com/bxparks/AUnit and of course the Expressif IDF page on the subject: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/unit-tests.html But I’m curious about what you guys could suggest, what would be the best option for this project? Thanks for your help!
-
Testing Frameworks for C++, ESP32
I‘ve used https://github.com/bxparks/AUnit in combination with the arduino framework. Worked very well.
What are some alternatives?
DroneDB - Free and open source software for aerial data storage.
Unity Test API - Simple Unit Testing for C
drone-flight-controller - A quadcopter flight controller based on Arduino Uno
Arduino-AppleMIDI-Library - Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
ParaDrone - AutoPilot for Parachutes
ESPecial - ESP32 automation with web interface and telegram bot
QuickPID - A fast PID controller with multiple options. Various Integral anti-windup, Proportional, Derivative and timer control modes.
Catch - A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
PID-Line-Follower - A robot which can follow a curvilinear path directed by a line on a surface, wherein both are of different colors. It uses a PID controller to do the same.
Somfy_Remote_Lib - Emulate a Somfy remote using a 433.42 MHz transmitter.
DigiView-SBC - DigiView for Raspberry Pi
IRremoteESP8266 - Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/