This file is part of eRCaGuy_hello_world: https://github.com/ElectricRCAircraftGuy/eRCaGuy_hello_world
(click to expand)
I'll store partial answers and learning notes and documentation here.
As I conduct research and document what I learn, for later retrieval and use, I frequently compile my information into answers on Stack Exchange websites such as Stack Overflow, Unix & Linux, Ask Ubuntu, Electronics, or Arduino. However, having 3 kids and a full-time job, I get frequent interruptions, some of which can block me from finishing the research and documentation for days, weeks, or even months or years at times.
When interruptions are that severe and prolonged, it's easy to lose many hours of valuable research and documentation which I'd really have liked to save somewhere.
Let this folder be that place.
Let this folder be a place where I can save work-in-progress answers or questions so that I don't lose a ton of hard work and research and valuable knowledge I need myself just because my baby got poop on the couch and I have to go clean it up, or some other family emergency or event has happened and I have to suddenly stop without warning to go handle it.
- Stack Overflow: Physics-based controls, and control systems: the many layers of control
- Stack Overflow: Numerical derivation and integration in code for physics, mapping, robotics, gaming, dead-reckoning, and controls
- Arduino: How to make your own coulomb counter (Amphours [Ahr] meter, or Wattshours [Whr] energy meter) with an Arduino
- Electronics: When is a MOSFET more appropriate as a switch than a BJT?
- Arduino: Switching a Solenoid Using Arduino's 5V Output?: Low-side switching an inductive load (such as a relay) using a microcontroller (such as Arduino), NPN BJT transistor (with full base resistor calculations), and snubber/flyback diode
- Stack Overflow: Quadcopter PID Controller for distance
- Stack Overflow: Here is how to get simple C-like millisecond, microsecond, and nanosecond timestamps in C++
- Stack Overflow: How to get a simple timestamp in C
- Stack Overflow: How to configure the Linux
SCHED_RR
soft real-time round-robin scheduler so thatclock_nanosleep()
can have improved sleep resolution as low as ~4 us minimum, down from ~55 us minimum, depending on your hardware - Stack Overflow: How to run a high-resolution, high-precision periodic loop in Linux easily, at any frequency (ex: up to 10 KHz~100 KHz) using a soft real-time scheduler and nanosecond delays
- Stack Overflow: How to do high-resolution, timestamp-based, non-blocking, single-threaded cooperative multi-tasking