[Let's try again] No AI, just controlling a pendulum from scratch!

[Better than last time] pendulum control from scratch (almost). Showing off https://github.com/traikodinev/trexdiff , part 1.5. What's next? Dev vlog long-form series. Music from youtube audio library. Chapters: 0:00 (Intro) 0:15 (pendulum physics/dynamics) 7:10 (dynamics in code) 15:12 (plotting) 16:40 (controlling the pendulum) 19:00 (control in code) 29:15 (soft control constraints) 35:40 (limit is too small) 37:30 (swinging left to right) 41:00 (success!) 43:45 (left or right?) 45:50 (cosine cost) 48:00 (warmstart effects)