Uploaded March 2025 | Updated September 2026, 1 hour ago
Download My Code: github.com/Vinayak-D/AerospaceGNCUdemyCourse/tree/main/EmbeddedPlatformSim
Resources:
~~ The state space model I used: https://ctms.engin.umich.edu/CTMS/index.php?example=AircraftPitch§ion=SystemModeling
~~ Neural Network article: karpathy.github.io/2019/04/25/recipe
~~ Neural Network basics: youtube.com/watch?v=VMj-3S1tku0&ab_channel=AndrejKarpathy
~~ Using FlightGear and Python: youtube.com/watch?v=ReaW_W5RUOQ&ab_channel=VDEngineering
~~ PlatformIO (strongly recommended): platformio.org
In this video we will design a PID and a Neural Network aircraft flight controller using Simulink and Python, and deploy it with C++ on two embedded microcontrollers running concurrently, to represent a real world Hardware in the Loop distributed test. I will also explain the Neural Network development and training process in PyTorch.
I will use an Arduino Uno and an ESP32 microcontroller, however any I2C chip will work (e.g Arduino Nano / Mega / Raspberry Pi).
You will also learn how to send microcontroller data in real time to your PC and then use it in FlightGear. The Python package PySerial will be used to achieve this.
Timestamps:
Setup: 00:00:33
Design Problem: 00:01:05
Matrix Math: 00:04:00
From Arduino/ESP to Python: 00:06:43
Example 1 (PID Control) Explanation: 00:10:00
Example 1 (PID Control) Demo: 00:26:50
Example 2 (Neural Network) Training with PyTorch: 00:31:30
Example 2 (Neural Network) Explanation: 00:37:46
Example 2 (Neural Network) Demo: 00:44:30
Thanks for watching!
~~My Udemy Courses on Motion Planning / Navigation / Flight Simulation / Aerospace
udemy.com/user/vinayak-deshpande-22
Buy Coffee: buymeacoffee.com/vdengineering
~~Contact Me: vinayakd.com
~~Instagram: instagram.com/vinayak_desh
Download My Code: github.com/Vinayak-D/AerospaceGNCUdemyCourse/tree/main/EmbeddedPlatformSim
Resources:
~~ The state space model I used: https://ctms.engin.umich.edu/CTMS/index.php?example=AircraftPitch§ion=SystemModeling
~~ Neural Network article: karpathy.github.io/2019/04/25/recipe
~~ Neural Network basics: youtube.com/watch?v=VMj-3S1tku0&ab_channel=AndrejKarpathy
~~ Using FlightGear and Python: youtube.com/watch?v=ReaW_W5RUOQ&ab_channel=VDEngineering
~~ PlatformIO (strongly recommended): platformio.org
In this video we will design a PID and a Neural Network aircraft flight controller using Simulink and Python, and deploy it with C++ on two embedded microcontrollers running concurrently, to represent a real world Hardware in the Loop distributed test. I will also explain the Neural Network development and training process in PyTorch.
I will use an Arduino Uno and an ESP32 microcontroller, however any I2C chip will work (e.g Arduino Nano / Mega / Raspberry Pi).
You will also learn how to send microcontroller data in real time to your PC and then use it in FlightGear. The Python package PySerial will be used to achieve this.
Timestamps:
Setup: 00:00:33
Design Problem: 00:01:05
Matrix Math: 00:04:00
From Arduino/ESP to Python: 00:06:43
Example 1 (PID Control) Explanation: 00:10:00
Example 1 (PID Control) Demo: 00:26:50
Example 2 (Neural Network) Training with PyTorch: 00:31:30
Example 2 (Neural Network) Explanation: 00:37:46
Example 2 (Neural Network) Demo: 00:44:30
Thanks for watching!
~~My Udemy Courses on Motion Planning / Navigation / Flight Simulation / Aerospace
udemy.com/user/vinayak-deshpande-22
Buy Coffee: buymeacoffee.com/vdengineering
~~Contact Me: vinayakd.com
~~Instagram: instagram.com/vinayak_desh








