AvidhBavkar / CartPendulum

Attempting to control an inverted pendulum on a cart simulated in python
1 stars 0 forks source link

physics isnt physicsing #1

Open hitoyaCute opened 2 months ago

hitoyaCute commented 2 months ago

when you leave it there with no external force controlling it, it will eventually build a force from nothing to swing higher and never stop

also add comments on what each part works

AvidhBavkar commented 2 months ago

Hi @hitoyaCute thanks for your interest. I wrote this short script a number of years ago in high school for a class demo. Feel free to modify as you see fit; the physics is represented in the "sim" folder. Thanks - Avidh