Learn to Code With Kerbal Space Program #3 - Orbital Launch Code

Channel:
Subscribers:
26,400
Published on ● Video Link: https://www.youtube.com/watch?v=gRgNOydYe50



Duration: 1:03:43
9,262 views
287


Today we learn about loops and arrays and use that to write some code to fly rockets to orbit...

Helpful documentation for improving the code*:

vessel.flight docs: https://krpc.github.io/krpc/python/api/space-center/flight.html
vessel.control docs: https://krpc.github.io/krpc/python/api/space-center/control.html
vessel.orbit docs: https://krpc.github.io/krpc/python/api/space-center/orbit.html

*These docs pretty much just give you a list of variables you can access inside vessel.control, vessel.flight() etc.
This should be a good starting point for figuring out how to the information you need from the game to make the improvements I mentioned...

My Code: http://www.mediafire.com/file/1mph12gm758u6bv/Lesson3.py/file
My Rocket: http://www.mediafire.com/file/6xqgmdounbz3whs/Phoenix_2.craft/file







Tags:
ksp
tutorial
krpc
python
code
autonomous



Other Statistics

Kerbal Space Program Statistics For TAPE Gaming

TAPE Gaming currently has 5,521,467 views spread across 546 videos for Kerbal Space Program. Roughly 8 days worth of Kerbal Space Program videos were uploaded to his channel, or 47.51% of the total watchable video on TAPE Gaming's YouTube channel.