Jump to content

[WIN/MAC/LINUX] KSP Trajectory Optimization Tool v1.6.10 [Major LVD Improvements!]


Recommended Posts

Hi all,

Added a few things today for the v1.1.9 release:

  1. Mission Architect: A warning is displayed if an aerobraking event is attempted outside of the atmosphere;
  2. Added progress bars in place of text showing resources remaining in the thermal/power and propulsion RTS console pages; and
  3. Fixed the weird orbit render bug in the OrbOps console.

#2 looks really good, I think you guys will like it. :)

Link to comment
Share on other sites

Thanks! Let me know how it goes...

Btw, RadarManFromTheMoon, I added your functionality to get the maneuver nodes from KSP and import them into KSPTOT Mission Architect. It seems to work nicely. :)

Brillant! Sorry I couldn't help, but I've been on the road this weekend. Really looking forward to test it.

Link to comment
Share on other sites

one feature I just realized could be added is the ability to import the Mass properties from the SFS file when loading a state. All the data for it is there.

True. However, it's actually pretty challenging to parse believe it or not (need to find the tanks with the correct resource and all that). I'll take a look but no promises.

Does this work with 6.4x Kerbin Rescale for RSS?

Sure. Just create a bodies.ini file for that universe and load it into KSP TOT. Let me know if you need help doing that. (Hint: File menu in the main KSP TOT GUI.)

Link to comment
Share on other sites

True. However, it's actually pretty challenging to parse believe it or not (need to find the tanks with the correct resource and all that). I'll take a look but no promises.

It's really not that bad. Here's all you're looking for:

VESSEL
{
PART
{
mass
?RESOURCE
{
name
amount
}
}
}

So you're iterating through each PART you find to get the mass, and along the way checking to see if that PART has a RESOURCE and whether that resource is "monopropellant", "LiquidFuel", "Oxidizer" or "XenonGas". The total of all the PART mass fields gives you the vessel dry mass and then it's just calculating the wet mass based on the amounts you collected for each resource (multiply the amount by 0.004 for mono, 0.005 for LF/O and 0.0001 for Xenon for mass in t).

Link to comment
Share on other sites

still getting caught up on my flight tracker stuff (putting together orbital progress charts for my Duna mission like NASA is really great) so no FAR testing still but an issue to report:

b9pzDqE.png

The graphic analysis tool is always fine so long as I use values from the script, but entering in my own span of time creates an offset or something. You can download this MA file to recreate. If I were to change my Coast UT to a different time and run that, the graphical analysis would properly display values for that time span down to the decimal.

Link to comment
Share on other sites

I seem to have encountered a pretty serious problem that isn't addressed anywhere else (that I can find). I've been using KSPTOT for a while on my current KSP install, and suddenly my current probe has stopped showing up in the import list when I try to set the initial state. It seems that every other spacecraft is listed except the most recently launched one.

Does anyone know what this might be?

Link to comment
Share on other sites

Hi, i'm new to KSP TOT, i followed the basic tutorial, and then i tried to apply it for my first jool encounter but i faced a problem.

here is the porkchop plot from Kerbin to Jool :

LR8G9yb.png

but manually, i found this, and was hoping ksp tot to find me a better solution

KUCk4LL.png

what did i miss here ? 14km/s seems a bit overkill, and the transfert orbit looks a bit ... well, not quite optimized :)

vrYQdv7.png

please, enlight me !

Link to comment
Share on other sites

14km/s is definitely a warning you're doing it wrong.

I haven't used it much, but it looks to me like you've set the earliest arrival date the same as the earliest departure date. That means the optimum point on the porkchop plot is way off the top of the plot area. Try adding a couple of years to the earliest arrival time, and you should get something like this:

b7q2FOsPTDNXV8D_VZQGAl7ptaJgIFMlOTCQEBela0UeUgZOxj9oQPRv1USRUY8Dq29tjoqBqTA=w1896-h831

Note the in the results box at the bottom, the first results shown there show that I reproduced your same results (more or less) when I entered roughly the same departure and arrival times as you.

Edited by Snoman314
Link to comment
Share on other sites

Hi, i'm new to KSP TOT, i followed the basic tutorial, and then i tried to apply it for my first jool encounter but i faced a problem.

here is the porkchop plot from Kerbin to Jool :

http://i.imgur.com/LR8G9yb.png

but manually, i found this, and was hoping ksp tot to find me a better solution

http://i.imgur.com/KUCk4LL.png

what did i miss here ? 14km/s seems a bit overkill, and the transfert orbit looks a bit ... well, not quite optimized :)

http://i.imgur.com/vrYQdv7.png

please, enlight me !

When I started to mess around with KSPTOT, I ran into the same problem. You most probably must raise the number of synodic periods to plot. Go into the options (Edit/Options) and change the value to 3 or 4. You should get much more sensible results then.

Link to comment
Share on other sites

Thanks you ! that worked. Still, the uploaded maneuver does not seems to be an encounter with Jool, but i'll look into it later.

Great tool !

Use the Porkchop plotter to get the launch window, and then optimize the maneuvers in Mission Architect.

The plotter uses a simplified model that will give "the right direction" but isn't that precise. You will have to optimize the maneuvers with Mission Architect to get accurate results. This post could be of interest to you if you want to learn more about how the porkchop plotter works.

Link to comment
Share on other sites

Hey, Im having quite a problem with your tool. I understand how to use it and so on, but whenever I upload or just manually specify the info for the first DV node, I even tried editing my save file to match the initial state as close as possible, the node is always completely off! It never hits the SoI and worse yet it usually doesnt een hit the target planets orbit :(, what am I doing wrong?

My results look like this: http://gyazo.com/35e76b92678172ced03da4cffb5d9f5d

notice the orbit is nowhere near jool let alone eeloo

Edited by Joshie
Link to comment
Share on other sites

Hey, Im having quite a problem with your tool. I understand how to use it and so on, but whenever I upload or just manually specify the info for the first DV node, I even tried editing my save file to match the initial state as close as possible, the node is always completely off! It never hits the SoI and worse yet it usually doesnt een hit the target planets orbit :(, what am I doing wrong?

My results look like this: http://gyazo.com/35e76b92678172ced03da4cffb5d9f5d

notice the orbit is nowhere near jool let alone eeloo

That doesn't sound like anything I've encountered before. From what you've said there's not really a lot to go on. Can you explain more about what you were doing?

Link to comment
Share on other sites

That doesn't sound like anything I've encountered before. From what you've said there's not really a lot to go on. Can you explain more about what you were doing?

OK, Let me go through all the steps i took.

1st I loaded up KSP TOT

2nd I created and imported bodies.ini from ksp.

3rd I set my earliest depart and arrival date to "Get UT from ksp"

4th I set up 4 periods in options.

5th I calculated a porkchop and departure burn using "Get orbit from ksp" option

6th I set up my initial state in Mission Architect according to the pdf tutorial but using my values

7th I set up the go to true anomaly coast and the delta v manuever

8th I set up a coast to eeloos periapsis.

9th I optimized it till i got an orbit round eeloo

10th I uploaded the maneuver to ksp only to see its nowhere close

I also tried manually specifying it into precise node mod

Link to comment
Share on other sites

OK, Let me go through all the steps i took.

1st I loaded up KSP TOT

2nd I created and imported bodies.ini from ksp.

3rd I set my earliest depart and arrival date to "Get UT from ksp"

4th I set up 4 periods in options.

5th I calculated a porkchop and departure burn using "Get orbit from ksp" option

6th I set up my initial state in Mission Architect according to the pdf tutorial but using my values

7th I set up the go to true anomaly coast and the delta v manuever

8th I set up a coast to eeloos periapsis.

9th I optimized it till i got an orbit round eeloo

10th I uploaded the maneuver to ksp only to see its nowhere close

I also tried manually specifying it into precise node mod

OK, that does sound a bit strange. I note you're loading a bodies.ini file? I've never done that, could it be throwing KSPTOT off? If that's not it, then it sounds like the node isn't getting uploaded correctly, like you said. Did you already have any manoeuvre nodes? I always make sure to upload onto a clean slate.

Link to comment
Share on other sites

I seem to have encountered a pretty serious problem that isn't addressed anywhere else (that I can find). I've been using KSPTOT for a while on my current KSP install, and suddenly my current probe has stopped showing up in the import list when I try to set the initial state. It seems that every other spacecraft is listed except the most recently launched one.

Does anyone know what this might be?

This problem seems to be getting worse. About 1 in 3 new spacecraft appear in the list when I try to import the orbital data into any of the orbit input windows. I still have no idea how to even begin figuring this out. Would uploading some of my game files help? Which ones?

Link to comment
Share on other sites

This problem seems to be getting worse. About 1 in 3 new spacecraft appear in the list when I try to import the orbital data into any of the orbit input windows. I still have no idea how to even begin figuring this out. Would uploading some of my game files help? Which ones?

Never seen this, and I've spent a lot of time recently loading ship data from SFS files. You sure you haven't modified them yourself in any way?

Link to comment
Share on other sites

OK, that does sound a bit strange. I note you're loading a bodies.ini file? I've never done that, could it be throwing KSPTOT off? If that's not it, then it sounds like the node isn't getting uploaded correctly, like you said. Did you already have any manoeuvre nodes? I always make sure to upload onto a clean slate.

bodies ini file makes sure proper planet sizez and what not is used. Its just a "be safe" measure. The problem is, the manuever is exactly the same as the one indide tot, expect the one in tot has an intercept while the one in ksp has not

Link to comment
Share on other sites

Never seen this, and I've spent a lot of time recently loading ship data from SFS files. You sure you haven't modified them yourself in any way?

Do you mean, have I modified the SFS files? Because I haven't. I've just noticed that more and more of the new vessels in my current save aren't showing up on the import list.

Is it possible it's a version incompatibility? I always make sure to check the changelog and make sure to only use the version of mods etc from before they're upgraded past the version I'm using, but KSPTOT makes no reference to KSP versions in it's changelog.

Link to comment
Share on other sites

bodies ini file makes sure proper planet sizez and what not is used. Its just a "be safe" measure. The problem is, the manuever is exactly the same as the one indide tot, expect the one in tot has an intercept while the one in ksp has not

Which is what makes me suspect that the bodies.ini is the problem. If the manoeuvre is exactly the same, but doesn't pan out the same way in KSP than it did in KSPTOT, then it would seem possible that KSPTOT and KSP itself have different solar system configurations. I've never loaded a bodies.ini file, and I've never had a problem like you describe. What happens if you don't load the bodies.ini file?

Link to comment
Share on other sites

This problem seems to be getting worse. About 1 in 3 new spacecraft appear in the list when I try to import the orbital data into any of the orbit input windows. I still have no idea how to even begin figuring this out. Would uploading some of my game files help? Which ones?

You are trying to import orbital states from KSP, right?

Can you provide some more information about what exactly you are doing?

There are two ways of interacting with KSP. You can import from the persitent.sfs or you can download directly from KSP via ksptotconnect. Which one are you using?

Link to comment
Share on other sites

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...