I went without KOS and basically found out how it works in the game and wrote my own Autopilot (still a lot more AutoPilot modes to code in). I can adjust attitude, throttle, and individual parts such as solar panels etc using the PPDB.
As far as I know I'm past all the hard but necessary parts. The rest will mostly be tedious, with some probable snags, then some really hard perks to add in later.
It's basically time for me to start coding in the DSKY, so I'll be needing a lot of buttons etc. Also interchangeable panels is in the near future.
Kwinn, do you have the code for running the multiple switches/LEDs?
Sorry Keith, lost track of this post. Here is the code. Refresh rate can be modified by changing the "delta" long in SPIO.
Currently writing an autopilot to go to a certain position and hover there.
The Differential Equations are getting a bit crazy so I don't know how long it will take to figure out. Basically I am calculating desired angles of attack, and using the rocket gimbals to rotate the craft.
The problem is acceleration isn't constant, I have maximum angles of attack as well as horizontal velocities, and a bunch of relevant initial values such as position, velocity, AOA, Omega.
Hopefully after my robotics classes here I can get more progress on these equations. It's looking like a crazy non-linear mess for now.
Comments
Sorry Keith, lost track of this post. Here is the code. Refresh rate can be modified by changing the "delta" long in SPIO.
Just for an update I've been mainly writing autopilot scripts.
I landed the stock Kerbal X rocket on top of the VAB helicopter pads using nothing but my PPDB
No landing legs, just landed it so smooth, I landed it on the central nozzle without it tipping over.
Yes, landing a model rocket without legs is pretty impressive.
The Differential Equations are getting a bit crazy so I don't know how long it will take to figure out. Basically I am calculating desired angles of attack, and using the rocket gimbals to rotate the craft.
The problem is acceleration isn't constant, I have maximum angles of attack as well as horizontal velocities, and a bunch of relevant initial values such as position, velocity, AOA, Omega.
Hopefully after my robotics classes here I can get more progress on these equations. It's looking like a crazy non-linear mess for now.