![]() If you’re pointing at the wall, your finger isn’t really moving towards the wall, it’s just pointing that way. You could imagine that direction being drawn as a line on a graph. If you were to raise your hand and point at a wall in your house, you’d be identifying a direction. I did a lot of digging on vectors since I had zero experience with them, but they’re basically just directions with magnitude. N is now a “Node” object, which there’s lots of data in, including the vector of the node. Luckily there are lots of helpers for nodes, which let us write the following code: SET n TO NEXTNODE. So I’m going to do some an absurd amount of research and rewrite the script.įirst off let’s break my problem down into the steps of executing a maneuver node.Ģ) Start accelerating at the correct time.ģ) Stop accelerating at the correct time.įor #1, we’re working with nodes in kOS. I think it’s because the scripts aren’t taking into account the change in acceleration due to the loss of mass of a rocket. I’ve got a couple of scripts written into kOS already that help me execute maneuver nodes, but they’ve given me some pretty mixed results. In KSP, this in modeled in Maneuver Nodes: This rocket wants to change where it is in space. Let’s assume you’ve got a rocket in space. Executing Maneuver Nodes & Figuring Out the Rocket Equation If you hate rockets, space or math, you’re going to absolutely despise this article. Regardless, I’m not sure what exact format this is going to take, but I wanted to record my foray into using kOS and diving into the math and science behind rockets. If that sounds simple to you, you’re going to be in for a shock. It’s a game about putting little green people into space, but it’s realistic enough to keep me intrigued.Īs you might know, I’m also a huge nerd, and some other huge nerd created something called Kerbal Operating System (kOS), which lets you develop programs in Kerbal Space Program to effectively control your rockets. So, I’ve been more or less consistently playing this game called Kerbal Space Program (KSP) since just before October 2013. That’s why I like to think of this more as my thought dump and less as my place to placate my normal blog readers :) ![]() For my “normal” blog readers, this isn’t going to make any sense.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |