Jump to content

Autopilot system


SeventhArchitect

Recommended Posts

So, I came upon the idea to utilize an autopilot system for KSP, of which there is a lua codable autopilot system out there already, but I ahve no etiquette in coding.

Well, when I say utilize, I don't mean to use an autopilot system which gets you from point a to point b. No. I want to use an autopilot that allows you to make a point C. Where point C is acquirable through many many point B itnervals.

In other words, an autopilot you could set up with timers that would do certain things. It's...unconventional if you don't have any idea or patience to calculate every variable, but it's something I want to throw onto the pit of trial and error fanaticism. I build my rockets with style, then make them space worthy through trial and error. I will first make some random creation, launch it, watch how far it gets, return to vab to fix errors if any, or add on, repeat. Until I reach my destination.

With this in mind, I want to find some way to set up a list of timed commands that would take place. Five second delay, launch, thirty second delay, stage, 47.269 second delay, stage, deploy space utilities (aka soalr panels and such), delay five minutes, stage, launch, and on.

This would make it possible to send one rocket off to one place, let it (possibly, for the goals are set far with this) land where aimed on X celestial body, and still be working on another. I would like to go as far as making ships that will launch then rendezvous in orbit.

I didn't post this here to ask a quesiton, or jsut to find something, It has a triple purpose, all that, and I want to know peoples' opinions ont he subject.

Link to comment
Share on other sites

So, Mechjeb? AFAIK that's the closest thing you'll find.

RE: Sending a ship off on it's own

Ships outside of a certain distance (2.5km stock) aren't getting any simulation of physics (on-rails). Most parts that affect physics don't work on-rails for this reason (engines) although there is a psuedo-physics-enabled thrust on-rails plugin around somewhere (designed to use with ion engines and time warp)

Time also doesn't pass while you're in the VAB though to my knowledgeso there's also that...

Link to comment
Share on other sites

Thiagobs, I suppose the first thing OP mentioned is that he has no experience in coding. He does not need to program the kOS, he just needs the GUI which will allow him to setup the sequence of actions (probably from drop-down list, or whatever) and later the spacewreckship has to perform this sequence.

But yet...

("I do not like 'But yet,' it does allay

The good precedence; fie upon 'But yet'!

'But yet' is as a gaoler to bring forth

Some monstrous malefactor." W. Shakespeare)

But yet, he said he wants the ship to fly itself,

while he will build another in the VAB

And that's impossible, as mentioned before,

As Unity will not be handling such

sort of paralleled calculations.

Pity, friends...

Back to normal speech...

kOS is your bet, OP, but you will need two things:

1) Learn how to program it

2) Sit and watch after your ship, as it is impossible for it to fly on itself while you are in the VAB.

However, you can run two copies of KSP, and while one copy is launching the ship, in another copy you are making another ship in the VAB.

When ready, copy that to the ships folder of first copy, launch, wash, rinse, repeat.

Link to comment
Share on other sites

There's a visual (graphic) style autopilot (action) system that I remember existed at least in an experimental state back in .25 (or .24).

KOs is your next best bet. Don't know how to code? That's not true, your future self know how. He also has a time machine and told me he knew.

Mechjeb is your next best bet.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...