r/Kos • • Jun 29 '15

Tutorial Hover PID Tutorial

Hey everyone. Here's the tutorial for designing a PID controller for a hovering rocket that I promised a while back. The download link is zip file which contains a pdf of the tutorial and an example script which is an adaptation of the script by /u/Dunbaratu. The script requires kOS 17.3 to work.

Please, take a look. Let me know what works, what's confusing. I want to improve this so it is accessible to people new to kOS.

Thanks, and enjoy!

26 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/rooood Jun 29 '15

God, that explains when I was trying to make a circularization script and the throttle controlle would always change behaviour higher up. Thanks for clearing that up.

Btw, I always used kOS itself to write some log to a logfile, but then I only used excel to plot graphs. It's not that good though. I'll try matlab.

1

u/BriarAndRye Jun 29 '15

I'd point you towards something open source like python using matplotlib. Matlab is only useful if you're at a university with a license.

1

u/rooood Jun 30 '15

Thanks, I'll check into that. I might have access to a license, have to check with my university, but I'll check the python route before