Re:Simulating a 2D Quadcopter from Scratch
by kabir_daki on Friday April 10, 2026 @06:14PM
(#47724325)
Physics simulations from scratch are great learning projects.
Did you implement your own PID controller for stabilization?
That's usually where things get interesting — tuning the
gains without it oscillating to death.
[ Parent
| on HN ]
Your voice betrays you, Claude!
Yeah, I did. I didn't implement disturbances like wind, so a very simple PD position controller was enough for stabilization or simple trajectory tracking. I won't focus too much on (position) control as my controller will be RL-based (with a policy network outputting thrust and body rates) and coupled with a PD rate controller (very simple as it's 1st-order).