Jump to content

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


Recommended Posts

2 hours ago, Epox75 said:

Hello! I'm having a problem since the release of 1.5.2. I use Outer Planets Mod and Transkeptunian Object. When I try to load the bodies file I have created with ksp tot connect the bodies loading freezes and I hear a warning sound but not message and the loading stops at 10/1230.

Here's the Ksptot.log:

  Reveal hidden contents

Error using &
Matrix dimensions must agree.

Error in processINIBodyInfo>findRow (line 87)

Error in processINIBodyInfo>createCurveFitFromRows (line 61)

Error in processINIBodyInfo (line 17)

Error in mainGUI>loadBodiesFromFile_Callback (line 571)

Error in gui_mainfcn (line 95)

Error in mainGUI (line 42)

Error in @(hObject,eventdata)mainGUI('loadBodiesFromFile_Callback',hObject,eventdata,guidata(hObject))


Error while evaluating Menu Callback

Error writing to output stream.

 The version 1.5.1 doesn't give me this problem. 

Thanks for making such a great tool!

Regards,

Epox

Just came to report the same issue.

Link to comment
Share on other sites

15 hours ago, KocLobster said:

@Arrowstar

Any chance you could include a changelog in the main KSPTOT download? Or at the very least, an identification of what version has been downloaded? As far as I can tell, there is no currently easy way to tell what version I've downloaded, or that the OP pointed to the right file, or that I did actually receive the file I intended to get. I always like to be able to double check that what I have downloaded is what I actually meant to download.

The KSPTOT version is in the textbox on the main UI window (with the porkchop plot).  Look at the text near the bottom under the plot. :)  The changelog is in the first post of this thread, as well. :)

7 hours ago, blu3wolf said:

1.5.2 doesnt have the cool icon that 1.5.1 and 1.5.0 did though :/

Actually, what is really weird is that the icon displayed next to the file itself is different (something very generic), but the preview image displayed next to the title in the W7 info bar at the bottom of the explorer window is actually correct. The icon displayed at the left of the TOT window itself, is still the 3D graph icon, too.

Yeah, something happened when I compiled this release and I couldn't get the icon to come with.  I'll try to fix it for next time but I didn't want it to hold things up.

4 hours ago, dlrk said:

Arrowstar,

This might be more of a general question than a KSPTOT question, but is there a way to (using the optimizer or otherwise) calculate a maneveur to an orbit, that will at some point overfly a lat/lon? I unserstand using the optimizer to put an apsis over a point, but what about creating an orbit that simply overflies a point at some point?

You can set latitude and longitude constraints in the mission optimizer.  Just be aware that getting an orbit to overfly a particular latitude and longitude pair is pretty unlikely, so be sure to leave some tolerances in your constraints.

3 hours ago, sentania said:

I am trying to pull the bodies from my game, and I'm getting an error message that it was not able to pull the bodies and to make sure I am in the flight screen (which I am)

 

It appears that the DLL + Program are talking about something is goign wrong.

KSPTOT Log:

  Reveal hidden contents

Read doubles from KSPTOT Connect failed: SIZE must be greater than 0.
    file: 'C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\mcr\toolbox...'
    name: 'fread'
    line: 163

    file: 'C:\Users\scott\AppData\Local\Temp\scott\mcrCache8.4\KSPTra0\hel...'
    name: 'readDoublesFromKSPTOTConnect'
    line: 53

    file: 'C:\Users\scott\AppData\Local\Temp\scott\mcrCache8.4\KSPTra0\hel...'
    name: 'getBodiesINIFileFromKSP'
    line: 8

    file: 'C:\Users\scott\AppData\Local\Temp\scott\mcrCache8.4\KSPTra0\KSP...'
    name: 'createNewBodiesFileFromKSP_Callback'
    line: 698

    file: 'C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\mcr\toolbox...'
    name: 'gui_mainfcn'
    line: 95

    file: 'C:\Users\scott\AppData\Local\Temp\scott\mcrCache8.4\KSPTra0\KSP...'
    name: 'mainGUI'
    line: 42

    file: ''
    name: '@(hObject,eventdata)mainGUI('createNewBodiesFileFromKSP_Callbac...'
    line: 0

Warning: Objects of 'tcpip' class exist.  Cannot clear this class or any of its superclasses.
Warning: Objects of 'tcpip' class exist.  Cannot clear this class or any of its superclasses.
 

Except from KSP.log body pull

 

  Reveal hidden contents

LOG 12:22:48.905] [KSPTOT Connect] accepted connection [0] from IP: 127.0.0.1:12858
[LOG 12:22:48.906] [KSPTOT Connect] new connection
[LOG 12:22:48.963] [KSPTOT Connect] [CONNECTION][0][READING] received complete message head
[LOG 12:22:48.964] [KSPTOT Connect] [CONNECTION][0][READING] data Size: 0
[LOG 12:22:48.965] [KSPTOT Connect] message from [0]: GetCelestialBodyData n 0
[LOG 12:22:48.967] [KSPTOT Connect] about to handle msg
[LOG 12:22:48.994] [KSPTOT Connect] Start Body: Sun
[LOG 12:22:48.998] [KSPTOT Connect] Sun: 9
[LOG 12:22:48.999] [KSPTOT Connect] End Body: Sun
[LOG 12:22:48.999] [KSPTOT Connect] Start Body: Kerbin
[LOG 12:22:49.000] [KSPTOT Connect] Kerbin: 21
[LOG 12:22:49.001] [KSPTOT Connect] End Body: Kerbin
[LOG 12:22:49.002] [KSPTOT Connect] Start Body: Mun
[LOG 12:22:49.002] [KSPTOT Connect] Mun: 0
[LOG 12:22:49.003] [KSPTOT Connect] End Body: Mun
[LOG 12:22:49.003] [KSPTOT Connect] Start Body: Ablate
[LOG 12:22:49.004] [KSPTOT Connect] Ablate: 0
[LOG 12:22:49.005] [KSPTOT Connect] End Body: Ablate
[LOG 12:22:49.005] [KSPTOT Connect] Start Body: Moho
[LOG 12:22:49.006] [KSPTOT Connect] Moho: 0
[LOG 12:22:49.006] [KSPTOT Connect] End Body: Moho
[LOG 12:22:49.007] [KSPTOT Connect] Start Body: Eve
[LOG 12:22:49.008] [KSPTOT Connect] Eve: 7
[LOG 12:22:49.009] [KSPTOT Connect] End Body: Eve
[LOG 12:22:49.009] [KSPTOT Connect] Start Body: Duna
[LOG 12:22:49.010] [KSPTOT Connect] Duna: 5
[LOG 12:22:49.010] [KSPTOT Connect] End Body: Duna
[LOG 12:22:49.011] [KSPTOT Connect] Start Body: Ike
[LOG 12:22:49.012] [KSPTOT Connect] Ike: 0
[LOG 12:22:49.012] [KSPTOT Connect] End Body: Ike
[LOG 12:22:49.013] [KSPTOT Connect] Start Body: Jool
[LOG 12:22:49.013] [KSPTOT Connect] Jool: 6
[LOG 12:22:49.014] [KSPTOT Connect] End Body: Jool
[LOG 12:22:49.014] [KSPTOT Connect] Start Body: Arkas
[LOG 12:22:49.015] [KSPTOT Connect] Arkas: 21
[LOG 12:22:49.016] [KSPTOT Connect] End Body: Arkas
[LOG 12:22:49.016] [KSPTOT Connect] Start Body: Vall
[LOG 12:22:49.017] [KSPTOT Connect] Vall: 0
[LOG 12:22:49.018] [KSPTOT Connect] End Body: Vall
[LOG 12:22:49.019] [KSPTOT Connect] Start Body: Serc
[LOG 12:22:49.020] [KSPTOT Connect] Serc: 0
[LOG 12:22:49.020] [KSPTOT Connect] End Body: Serc
[LOG 12:22:49.021] [KSPTOT Connect] Start Body: Tylo
[LOG 12:22:49.021] [KSPTOT Connect] Tylo: 0
[LOG 12:22:49.022] [KSPTOT Connect] End Body: Tylo
[LOG 12:22:49.022] [KSPTOT Connect] Start Body: Neith
[LOG 12:22:49.023] [KSPTOT Connect] Neith: 0
[LOG 12:22:49.024] [KSPTOT Connect] End Body: Neith
[LOG 12:22:49.024] [KSPTOT Connect] Start Body: Pol
[LOG 12:22:49.025] [KSPTOT Connect] Pol: 0
[LOG 12:22:49.025] [KSPTOT Connect] End Body: Pol
[LOG 12:22:49.026] [KSPTOT Connect] Start Body: Aden
[LOG 12:22:49.027] [KSPTOT Connect] Aden: 0
[LOG 12:22:49.027] [KSPTOT Connect] End Body: Aden
[LOG 12:22:49.027] [KSPTOT Connect] Start Body: Eeloo
[LOG 12:22:49.028] [KSPTOT Connect] Eeloo: 7
[LOG 12:22:49.029] [KSPTOT Connect] End Body: Eeloo
[LOG 12:22:49.030] [KSPTOT Connect] Start Body: Faz
[LOG 12:22:49.031] [KSPTOT Connect] Faz: 0
[LOG 12:22:49.032] [KSPTOT Connect] End Body: Faz
[LOG 12:22:49.034] [KSPTOT Connect] Start Body: Harvest
[LOG 12:22:49.034] [KSPTOT Connect] Harvest: 0
[LOG 12:22:49.035] [KSPTOT Connect] End Body: Harvest
[LOG 12:22:49.036] [KSPTOT Connect] Start Body: Rega
[LOG 12:22:49.037] [KSPTOT Connect] Rega: 0
[LOG 12:22:49.037] [KSPTOT Connect] End Body: Rega
[LOG 12:22:49.038] [KSPTOT Connect] Start Body: Corolet
[LOG 12:22:49.038] [KSPTOT Connect] Corolet: 0
[LOG 12:22:49.039] [KSPTOT Connect] End Body: Corolet
[LOG 12:22:49.039] [KSPTOT Connect] Start Body: Potatus
[LOG 12:22:49.040] [KSPTOT Connect] Potatus: 0
[LOG 12:22:49.040] [KSPTOT Connect] End Body: Potatus
[LOG 12:22:49.041] [KSPTOT Connect] Start Body: Fonso
[LOG 12:22:49.041] [KSPTOT Connect] Fonso: 21
[LOG 12:22:49.042] [KSPTOT Connect] End Body: Fonso
[LOG 12:22:49.042] [KSPTOT Connect] Start Body: Sarnus
[LOG 12:22:49.043] [KSPTOT Connect] Sarnus: 17
[LOG 12:22:49.044] [KSPTOT Connect] End Body: Sarnus
[LOG 12:22:49.045] [KSPTOT Connect] Start Body: Urlum
[LOG 12:22:49.046] [KSPTOT Connect] Urlum: 15
[LOG 12:22:49.046] [KSPTOT Connect] End Body: Urlum
[LOG 12:22:49.047] [KSPTOT Connect] Start Body: Neidon
[LOG 12:22:49.048] [KSPTOT Connect] Neidon: 13
[LOG 12:22:49.049] [KSPTOT Connect] End Body: Neidon
[LOG 12:22:49.050] [KSPTOT Connect] Start Body: Hale
[LOG 12:22:49.051] [KSPTOT Connect] Hale: 0
[LOG 12:22:49.051] [KSPTOT Connect] End Body: Hale
[LOG 12:22:49.052] [KSPTOT Connect] Start Body: Ovok
[LOG 12:22:49.052] [KSPTOT Connect] Ovok: 0
[LOG 12:22:49.053] [KSPTOT Connect] End Body: Ovok
[LOG 12:22:49.054] [KSPTOT Connect] Start Body: Slate
[LOG 12:22:49.055] [KSPTOT Connect] Slate: 0
[LOG 12:22:49.055] [KSPTOT Connect] End Body: Slate
[LOG 12:22:49.056] [KSPTOT Connect] Start Body: Plock
[LOG 12:22:49.056] [KSPTOT Connect] Plock: 0
[LOG 12:22:49.057] [KSPTOT Connect] End Body: Plock
[LOG 12:22:49.057] [KSPTOT Connect] Start Body: Tekto
[LOG 12:22:49.058] [KSPTOT Connect] Tekto: 18
[LOG 12:22:49.059] [KSPTOT Connect] End Body: Tekto
[LOG 12:22:49.060] [KSPTOT Connect] Start Body: Polta
[LOG 12:22:49.061] [KSPTOT Connect] Polta: 0
[LOG 12:22:49.062] [KSPTOT Connect] End Body: Polta
[LOG 12:22:49.062] [KSPTOT Connect] Start Body: Priax
[LOG 12:22:49.063] [KSPTOT Connect] Priax: 0
[LOG 12:22:49.064] [KSPTOT Connect] End Body: Priax
[LOG 12:22:49.065] [KSPTOT Connect] Start Body: Wal
[LOG 12:22:49.066] [KSPTOT Connect] Wal: 0
[LOG 12:22:49.067] [KSPTOT Connect] End Body: Wal
[LOG 12:22:49.067] [KSPTOT Connect] Start Body: Tal
[LOG 12:22:49.068] [KSPTOT Connect] Tal: 0
[LOG 12:22:49.068] [KSPTOT Connect] End Body: Tal
[LOG 12:22:49.069] [KSPTOT Connect] Start Body: Thatmo
[LOG 12:22:49.069] [KSPTOT Connect] Thatmo: 11
[LOG 12:22:49.070] [KSPTOT Connect] End Body: Thatmo
[LOG 12:22:49.070] [KSPTOT Connect] Start Body: Nissee
[LOG 12:22:49.071] [KSPTOT Connect] Nissee: 0
[LOG 12:22:49.071] [KSPTOT Connect] End Body: Nissee
[LOG 12:22:49.072] [KSPTOT Connect] Start Body: Pluron
[LOG 12:22:49.072] [KSPTOT Connect] Pluron: 0
[LOG 12:22:49.073] [KSPTOT Connect] End Body: Pluron
[LOG 12:22:49.074] [KSPTOT Connect] Start Body: Khato
[LOG 12:22:49.074] [KSPTOT Connect] Khato: 0
[LOG 12:22:49.075] [KSPTOT Connect] End Body: Khato
[LOG 12:22:49.075] [KSPTOT Connect] Start Body: Oorma
[LOG 12:22:49.076] [KSPTOT Connect] Oorma: 0
[LOG 12:22:49.076] [KSPTOT Connect] End Body: Oorma
[LOG 12:22:49.077] [KSPTOT Connect] Start Body: Es
[LOG 12:22:49.078] [KSPTOT Connect] Es: 0
[LOG 12:22:49.079] [KSPTOT Connect] End Body: Es
[LOG 12:22:49.079] [KSPTOT Connect] Start Body: Arane
[LOG 12:22:49.080] [KSPTOT Connect] Arane: 0
[LOG 12:22:49.081] [KSPTOT Connect] End Body: Arane
[LOG 12:22:49.082] [KSPTOT Connect] Start Body: Phoe
[LOG 12:22:49.084] [KSPTOT Connect] Phoe: 0
[LOG 12:22:49.084] [KSPTOT Connect] End Body: Phoe
[LOG 12:22:49.085] [KSPTOT Connect] Start Body: Rheis
[LOG 12:22:49.086] [KSPTOT Connect] Rheis: 0
[LOG 12:22:49.086] [KSPTOT Connect] End Body: Rheis
[LOG 12:22:49.087] [KSPTOT Connect] Start Body: Dhar
[LOG 12:22:49.087] [KSPTOT Connect] Dhar: 0
[LOG 12:22:49.088] [KSPTOT Connect] End Body: Dhar
[LOG 12:22:49.088] [KSPTOT Connect] Start Body: Flo
[LOG 12:22:49.089] [KSPTOT Connect] Flo: 0
[LOG 12:22:49.090] [KSPTOT Connect] End Body: Flo
[LOG 12:22:49.091] [KSPTOT Connect] Start Body: Nuu
[LOG 12:22:49.092] [KSPTOT Connect] Nuu: 0
[LOG 12:22:49.092] [KSPTOT Connect] End Body: Nuu
[LOG 12:22:49.093] [KSPTOT Connect] Start Body: Putto
[LOG 12:22:49.094] [KSPTOT Connect] Putto: 0
[LOG 12:22:49.094] [KSPTOT Connect] End Body: Putto
[LOG 12:22:49.095] [KSPTOT Connect] Start Body: Selphar
[LOG 12:22:49.096] [KSPTOT Connect] Selphar: 0
[LOG 12:22:49.096] [KSPTOT Connect] End Body: Selphar
[LOG 12:22:49.097] [KSPTOT Connect] Start Body: Yarku
[LOG 12:22:49.097] [KSPTOT Connect] Yarku: 0
[LOG 12:22:49.098] [KSPTOT Connect] End Body: Yarku
[LOG 12:22:49.099] [KSPTOT Connect] Start Body: Shool
[LOG 12:22:49.100] [KSPTOT Connect] Shool: 0
[LOG 12:22:49.101] [KSPTOT Connect] End Body: Shool
[LOG 12:22:49.101] [KSPTOT Connect] Start Body: Niko
[LOG 12:22:49.102] [KSPTOT Connect] Niko: 0
[LOG 12:22:49.103] [KSPTOT Connect] End Body: Niko
[LOG 12:22:49.103] [KSPTOT Connect] Start Body: Keelon
[LOG 12:22:49.104] [KSPTOT Connect] Keelon: 21
[LOG 12:22:49.105] [KSPTOT Connect] End Body: Keelon
[LOG 12:22:49.105] [KSPTOT Connect] Start Body: Troni
[LOG 12:22:49.106] [KSPTOT Connect] Troni: 0
[LOG 12:22:49.106] [KSPTOT Connect] End Body: Troni
[LOG 12:22:49.107] [KSPTOT Connect] Start Body: Dulcinea
[LOG 12:22:49.107] [KSPTOT Connect] Dulcinea: 45
[LOG 12:22:49.108] [KSPTOT Connect] End Body: Dulcinea
[LOG 12:22:49.108] [KSPTOT Connect] Start Body: Vassa
[LOG 12:22:49.109] [KSPTOT Connect] Vassa: 21
[LOG 12:22:49.109] [KSPTOT Connect] End Body: Vassa
[LOG 12:22:49.110] [KSPTOT Connect] Start Body: Pequar
[LOG 12:22:49.111] [KSPTOT Connect] Pequar: 21
[LOG 12:22:49.111] [KSPTOT Connect] End Body: Pequar
[LOG 12:22:49.112] [KSPTOT Connect] Start Body: Nienna
[LOG 12:22:49.112] [KSPTOT Connect] Nienna: 21
[LOG 12:22:49.113] [KSPTOT Connect] End Body: Nienna
[LOG 12:22:49.114] [KSPTOT Connect] Start Body: Prima
[LOG 12:22:49.115] [KSPTOT Connect] Prima: 0
[LOG 12:22:49.115] [KSPTOT Connect] End Body: Prima
[LOG 12:22:49.116] [KSPTOT Connect] Start Body: Disole
[LOG 12:22:49.117] [KSPTOT Connect] Disole: 21
[LOG 12:22:49.118] [KSPTOT Connect] End Body: Disole
[LOG 12:22:49.119] [KSPTOT Connect] Start Body: Crons
[LOG 12:22:49.119] [KSPTOT Connect] Crons: 0
[LOG 12:22:49.120] [KSPTOT Connect] End Body: Crons
[LOG 12:22:49.121] [KSPTOT Connect] Start Body: Kevari
[LOG 12:22:49.122] [KSPTOT Connect] Kevari: 21
[LOG 12:22:49.122] [KSPTOT Connect] End Body: Kevari
[LOG 12:22:49.123] [KSPTOT Connect] Start Body: Morena
[LOG 12:22:49.124] [KSPTOT Connect] Morena: 0
[LOG 12:22:49.125] [KSPTOT Connect] End Body: Morena
[LOG 12:22:49.125] [KSPTOT Connect] Start Body: Secunda
[LOG 12:22:49.126] [KSPTOT Connect] Secunda: 0
[LOG 12:22:49.126] [KSPTOT Connect] End Body: Secunda
[LOG 12:22:49.127] [KSPTOT Connect] Start Body: C2-1
[LOG 12:22:49.127] [KSPTOT Connect] C2-1: 0
[LOG 12:22:49.128] [KSPTOT Connect] End Body: C2-1
[LOG 12:22:49.128] [KSPTOT Connect] Start Body: C3-1
[LOG 12:22:49.129] [KSPTOT Connect] C3-1: 0
[LOG 12:22:49.129] [KSPTOT Connect] End Body: C3-1
[LOG 12:22:49.130] [KSPTOT Connect] Start Body: Elastro
[LOG 12:22:49.130] [KSPTOT Connect] Elastro: 21
[LOG 12:22:49.131] [KSPTOT Connect] End Body: Elastro
[LOG 12:22:49.132] [KSPTOT Connect] Start Body: Elicio
[LOG 12:22:49.132] [KSPTOT Connect] Elicio: 0
[LOG 12:22:49.133] [KSPTOT Connect] End Body: Elicio
[LOG 12:22:49.134] [KSPTOT Connect] Start Body: Darani
[LOG 12:22:49.134] [KSPTOT Connect] Darani: 0
[LOG 12:22:49.135] [KSPTOT Connect] End Body: Darani
[LOG 12:22:49.135] [KSPTOT Connect] Start Body: Manai
[LOG 12:22:49.136] [KSPTOT Connect] Manai: 21
[LOG 12:22:49.136] [KSPTOT Connect] End Body: Manai
[LOG 12:22:49.137] [KSPTOT Connect] Start Body: Revus
[LOG 12:22:49.137] [KSPTOT Connect] Revus: 0
[LOG 12:22:49.138] [KSPTOT Connect] End Body: Revus
[LOG 12:22:49.138] [KSPTOT Connect] Start Body: Phocys
[LOG 12:22:49.139] [KSPTOT Connect] Phocys: 24
[LOG 12:22:49.139] [KSPTOT Connect] End Body: Phocys
[LOG 12:22:49.140] [KSPTOT Connect] Start Body: Brigid
[LOG 12:22:49.140] [KSPTOT Connect] Brigid: 25
[LOG 12:22:49.141] [KSPTOT Connect] End Body: Brigid
[LOG 12:22:49.141] [KSPTOT Connect] Start Body: Cercani
[LOG 12:22:49.142] [KSPTOT Connect] Cercani: 9
[LOG 12:22:49.142] [KSPTOT Connect] End Body: Cercani
[LOG 12:22:49.143] [KSPTOT Connect] Start Body: K2-3
[LOG 12:22:49.144] [KSPTOT Connect] K2-3: 9
[LOG 12:22:49.145] [KSPTOT Connect] End Body: K2-3
[LOG 12:22:49.146] [KSPTOT Connect] Start Body: Niobe
[LOG 12:22:49.147] [KSPTOT Connect] Niobe: 9
[LOG 12:22:49.147] [KSPTOT Connect] End Body: Niobe
[LOG 12:22:49.148] [KSPTOT Connect] Start Body: TRAPPIST-1
[LOG 12:22:49.149] [KSPTOT Connect] TRAPPIST-1: 9
[LOG 12:22:49.150] [KSPTOT Connect] End Body: TRAPPIST-1
[LOG 12:22:49.151] [KSPTOT Connect] Start Body: Amphion
[LOG 12:22:49.152] [KSPTOT Connect] Amphion: 9
[LOG 12:22:49.153] [KSPTOT Connect] End Body: Amphion
[LOG 12:22:49.153] [KSPTOT Connect] Start Body: Kepler-296A
[LOG 12:22:49.154] [KSPTOT Connect] Kepler-296A: 9
[LOG 12:22:49.155] [KSPTOT Connect] End Body: Kepler-296A
[LOG 12:22:49.155] [KSPTOT Connect] Start Body: Kepler-296B
[LOG 12:22:49.156] [KSPTOT Connect] Kepler-296B: 9
[LOG 12:22:49.156] [KSPTOT Connect] End Body: Kepler-296B
[LOG 12:22:49.157] [KSPTOT Connect] Start Body: Gilly
[LOG 12:22:49.158] [KSPTOT Connect] Gilly: 0
[LOG 12:22:49.159] [KSPTOT Connect] End Body: Gilly
[LOG 12:22:49.159] [KSPTOT Connect] Start Body: Minmus
[LOG 12:22:49.160] [KSPTOT Connect] Minmus: 0
[LOG 12:22:49.161] [KSPTOT Connect] End Body: Minmus
[LOG 12:22:49.161] [KSPTOT Connect] Start Body: Sentinel
[LOG 12:22:49.162] [KSPTOT Connect] Sentinel: 3
[LOG 12:22:49.162] [KSPTOT Connect] End Body: Sentinel
[LOG 12:22:49.163] [KSPTOT Connect] Start Body: Nyke
[LOG 12:22:49.164] [KSPTOT Connect] Nyke: 0
[LOG 12:22:49.164] [KSPTOT Connect] End Body: Nyke
[LOG 12:22:49.165] [KSPTOT Connect] Start Body: Mios
[LOG 12:22:49.165] [KSPTOT Connect] Mios: 21
[LOG 12:22:49.166] [KSPTOT Connect] End Body: Mios
[LOG 12:22:49.166] [KSPTOT Connect] Start Body: Glac
[LOG 12:22:49.167] [KSPTOT Connect] Glac: 0
[LOG 12:22:49.167] [KSPTOT Connect] End Body: Glac
[LOG 12:22:49.168] [KSPTOT Connect] Start Body: Dres
[LOG 12:22:49.168] [KSPTOT Connect] Dres: 0
[LOG 12:22:49.169] [KSPTOT Connect] End Body: Dres
[LOG 12:22:49.169] [KSPTOT Connect] Start Body: Richell
[LOG 12:22:49.170] [KSPTOT Connect] Richell: 8
[LOG 12:22:49.170] [KSPTOT Connect] End Body: Richell
[LOG 12:22:49.171] [KSPTOT Connect] Start Body: Iber
[LOG 12:22:49.171] [KSPTOT Connect] Iber: 0
[LOG 12:22:49.172] [KSPTOT Connect] End Body: Iber
[LOG 12:22:49.172] [KSPTOT Connect] Start Body: Laythe
[LOG 12:22:49.173] [KSPTOT Connect] Laythe: 8
[LOG 12:22:49.174] [KSPTOT Connect] End Body: Laythe
[LOG 12:22:49.175] [KSPTOT Connect] Start Body: Bop
[LOG 12:22:49.176] [KSPTOT Connect] Bop: 0
[LOG 12:22:49.177] [KSPTOT Connect] End Body: Bop
[LOG 12:22:49.177] [KSPTOT Connect] Start Body: Inaccessable
[LOG 12:22:49.178] [KSPTOT Connect] Inaccessable: 0
[LOG 12:22:49.179] [KSPTOT Connect] End Body: Inaccessable
[LOG 12:22:49.179] [KSPTOT Connect] Start Body: Beros
[LOG 12:22:49.180] [KSPTOT Connect] Beros: 0
[LOG 12:22:49.181] [KSPTOT Connect] End Body: Beros
[LOG 12:22:49.182] [KSPTOT Connect] Start Body: Kyx
[LOG 12:22:49.183] [KSPTOT Connect] Kyx: 0
[LOG 12:22:49.184] [KSPTOT Connect] End Body: Kyx
[LOG 12:22:49.184] [KSPTOT Connect] Start Body: Sentar
[LOG 12:22:49.185] [KSPTOT Connect] Sentar: 6
[LOG 12:22:49.185] [KSPTOT Connect] End Body: Sentar
[LOG 12:22:49.186] [KSPTOT Connect] Start Body: Skelton
[LOG 12:22:49.186] [KSPTOT Connect] Skelton: 5
[LOG 12:22:49.187] [KSPTOT Connect] End Body: Skelton
[LOG 12:22:49.187] [KSPTOT Connect] Start Body: Erin
[LOG 12:22:49.188] [KSPTOT Connect] Erin: 8
[LOG 12:22:49.188] [KSPTOT Connect] End Body: Erin
[LOG 12:22:49.189] [KSPTOT Connect] Start Body: Pock
[LOG 12:22:49.189] [KSPTOT Connect] Pock: 0
[LOG 12:22:49.190] [KSPTOT Connect] End Body: Pock
[LOG 12:22:49.191] [KSPTOT Connect] Start Body: Ringle
[LOG 12:22:49.191] [KSPTOT Connect] Ringle: 0
[LOG 12:22:49.192] [KSPTOT Connect] End Body: Ringle
[LOG 12:22:49.193] [KSPTOT Connect] Start Body: Thud
[LOG 12:22:49.193] [KSPTOT Connect] Thud: 0
[LOG 12:22:49.194] [KSPTOT Connect] End Body: Thud
[LOG 12:22:49.195] [KSPTOT Connect] Start Body: Sarvin
[LOG 12:22:49.196] [KSPTOT Connect] Sarvin: 21
[LOG 12:22:49.197] [KSPTOT Connect] End Body: Sarvin
[LOG 12:22:49.197] [KSPTOT Connect] Start Body: Daphy
[LOG 12:22:49.198] [KSPTOT Connect] Daphy: 21
[LOG 12:22:49.199] [KSPTOT Connect] End Body: Daphy
[LOG 12:22:49.199] [KSPTOT Connect] Start Body: Shayle
[LOG 12:22:49.200] [KSPTOT Connect] Shayle: 0
[LOG 12:22:49.200] [KSPTOT Connect] End Body: Shayle
[LOG 12:22:49.201] [KSPTOT Connect] Start Body: Ascension
[LOG 12:22:49.201] [KSPTOT Connect] Ascension: 0
[LOG 12:22:49.202] [KSPTOT Connect] End Body: Ascension
[LOG 12:22:49.202] [KSPTOT Connect] Start Body: Barney
[LOG 12:22:49.203] [KSPTOT Connect] Barney: 0
[LOG 12:22:49.204] [KSPTOT Connect] End Body: Barney
[LOG 12:22:49.204] [KSPTOT Connect] Start Body: Slade
[LOG 12:22:49.205] [KSPTOT Connect] Slade: 0
[LOG 12:22:49.205] [KSPTOT Connect] End Body: Slade
[LOG 12:22:49.206] [KSPTOT Connect] Start Body: Joker
[LOG 12:22:49.207] [KSPTOT Connect] Joker: 0
[LOG 12:22:49.207] [KSPTOT Connect] End Body: Joker
[LOG 12:22:49.208] [KSPTOT Connect] Start Body: Karen
[LOG 12:22:49.208] [KSPTOT Connect] Karen: 0
[LOG 12:22:49.209] [KSPTOT Connect] End Body: Karen
[LOG 12:22:49.209] [KSPTOT Connect] Start Body: Cervantes
[LOG 12:22:49.210] [KSPTOT Connect] Cervantes: 9
[LOG 12:22:49.211] [KSPTOT Connect] End Body: Cervantes
[LOG 12:22:49.212] [KSPTOT Connect] Start Body: Aldonza
[LOG 12:22:49.213] [KSPTOT Connect] Aldonza: 0
[LOG 12:22:49.213] [KSPTOT Connect] End Body: Aldonza
[LOG 12:22:49.214] [KSPTOT Connect] Start Body: Rocinante
[LOG 12:22:49.214] [KSPTOT Connect] Rocinante: 30
[LOG 12:22:49.215] [KSPTOT Connect] End Body: Rocinante
[LOG 12:22:49.216] [KSPTOT Connect] Start Body: Quijote
[LOG 12:22:49.216] [KSPTOT Connect] Quijote: 32
[LOG 12:22:49.217] [KSPTOT Connect] End Body: Quijote
[LOG 12:22:49.217] [KSPTOT Connect] Start Body: Lamancha
[LOG 12:22:49.218] [KSPTOT Connect] Lamancha: 34
[LOG 12:22:49.218] [KSPTOT Connect] End Body: Lamancha
[LOG 12:22:49.219] [KSPTOT Connect] Start Body: Barcelon
[LOG 12:22:49.219] [KSPTOT Connect] Barcelon: 22
[LOG 12:22:49.220] [KSPTOT Connect] End Body: Barcelon
[LOG 12:22:49.220] [KSPTOT Connect] Start Body: Persiles
[LOG 12:22:49.221] [KSPTOT Connect] Persiles: 29
[LOG 12:22:49.222] [KSPTOT Connect] End Body: Persiles
[LOG 12:22:49.222] [KSPTOT Connect] Start Body: Sigismunda
[LOG 12:22:49.223] [KSPTOT Connect] Sigismunda: 0
[LOG 12:22:49.223] [KSPTOT Connect] End Body: Sigismunda
[LOG 12:22:49.224] [KSPTOT Connect] Start Body: Sancho
[LOG 12:22:49.224] [KSPTOT Connect] Sancho: 36
[LOG 12:22:49.225] [KSPTOT Connect] End Body: Sancho
[LOG 12:22:49.225] [KSPTOT Connect] Start Body: Galatea
[LOG 12:22:49.226] [KSPTOT Connect] Galatea: 21
[LOG 12:22:49.227] [KSPTOT Connect] End Body: Galatea
[LOG 12:22:49.227] [KSPTOT Connect] Start Body: Kalley
[LOG 12:22:49.228] [KSPTOT Connect] Kalley: 0
[LOG 12:22:49.228] [KSPTOT Connect] End Body: Kalley
[LOG 12:22:49.229] [KSPTOT Connect] Start Body: Larinax
[LOG 12:22:49.230] [KSPTOT Connect] Larinax: 9
[LOG 12:22:49.231] [KSPTOT Connect] End Body: Larinax
[LOG 12:22:49.232] [KSPTOT Connect] Start Body: Laephus
[LOG 12:22:49.232] [KSPTOT Connect] Laephus: 21
[LOG 12:22:49.233] [KSPTOT Connect] End Body: Laephus
[LOG 12:22:49.234] [KSPTOT Connect] Start Body: Laemya
[LOG 12:22:49.234] [KSPTOT Connect] Laemya: 21
[LOG 12:22:49.235] [KSPTOT Connect] End Body: Laemya
[LOG 12:22:49.235] [KSPTOT Connect] Start Body: Xaniral
[LOG 12:22:49.236] [KSPTOT Connect] Xaniral: 21
[LOG 12:22:49.237] [KSPTOT Connect] End Body: Xaniral
[LOG 12:22:49.237] [KSPTOT Connect] Start Body: Kepler-296
[LOG 12:22:49.238] [KSPTOT Connect] Kepler-296: 0
[LOG 12:22:49.238] [KSPTOT Connect] End Body: Kepler-296
[LOG 12:22:49.239] [KSPTOT Connect] Start Body: Valentine
[LOG 12:22:49.239] [KSPTOT Connect] Valentine: 9
[LOG 12:22:49.240] [KSPTOT Connect] End Body: Valentine
[LOG 12:22:49.240] [KSPTOT Connect] Start Body: Heba
[LOG 12:22:49.241] [KSPTOT Connect] Heba: 21
[LOG 12:22:49.242] [KSPTOT Connect] End Body: Heba
[LOG 12:22:49.243] [KSPTOT Connect] Start Body: Serex
[LOG 12:22:49.244] [KSPTOT Connect] Serex: 0
[LOG 12:22:49.244] [KSPTOT Connect] End Body: Serex
[LOG 12:22:49.245] [KSPTOT Connect] Start Body: Vedre
[LOG 12:22:49.245] [KSPTOT Connect] Vedre: 21
[LOG 12:22:49.246] [KSPTOT Connect] End Body: Vedre
[LOG 12:22:49.246] [KSPTOT Connect] Start Body: Solyth
[LOG 12:22:49.247] [KSPTOT Connect] Solyth: 21
[LOG 12:22:49.248] [KSPTOT Connect] End Body: Solyth
[LOG 12:22:49.248] [KSPTOT Connect] Start Body: Hauna
[LOG 12:22:49.249] [KSPTOT Connect] Hauna: 0
[LOG 12:22:49.249] [KSPTOT Connect] End Body: Hauna
[LOG 12:22:49.250] [KSPTOT Connect] Start Body: Semth
[LOG 12:22:49.250] [KSPTOT Connect] Semth: 20
[LOG 12:22:49.251] [KSPTOT Connect] End Body: Semth
[LOG 12:22:49.251] [KSPTOT Connect] Start Body: Fust
[LOG 12:22:49.252] [KSPTOT Connect] Fust: 21
[LOG 12:22:49.252] [KSPTOT Connect] End Body: Fust
[LOG 12:22:49.253] [KSPTOT Connect] Start Body: Mir
[LOG 12:22:49.253] [KSPTOT Connect] Mir: 21
[LOG 12:22:49.254] [KSPTOT Connect] End Body: Mir
[LOG 12:22:49.254] [KSPTOT Connect] Start Body: Lomina
[LOG 12:22:49.255] [KSPTOT Connect] Lomina: 21
[LOG 12:22:49.256] [KSPTOT Connect] End Body: Lomina
[LOG 12:22:49.256] [KSPTOT Connect] Start Body: Maol
[LOG 12:22:49.257] [KSPTOT Connect] Maol: 0
[LOG 12:22:49.257] [KSPTOT Connect] End Body: Maol
[LOG 12:22:49.258] [KSPTOT Connect] Start Body: Javine
[LOG 12:22:49.258] [KSPTOT Connect] Javine: 21
[LOG 12:22:49.259] [KSPTOT Connect] End Body: Javine
[LOG 12:22:49.259] [KSPTOT Connect] Start Body: Deemo
[LOG 12:22:49.260] [KSPTOT Connect] Deemo: 21
[LOG 12:22:49.260] [KSPTOT Connect] End Body: Deemo
[LOG 12:22:49.261] [KSPTOT Connect] Start Body: Ucella
[LOG 12:22:49.261] [KSPTOT Connect] Ucella: 21
[LOG 12:22:49.262] [KSPTOT Connect] End Body: Ucella
[LOG 12:22:49.263] [KSPTOT Connect] Transmitting Data Of Length: 25868
[LOG 12:22:53.266] [KSPTOT Connect] Transmitting Data Of Byte Length: 206944
[LOG 12:22:53.268] [KSPTOT Connect] about to close stream
[LOG 12:22:53.269] [KSPTOT Connect] about to close connection 0
[LOG 12:22:53.271] [KSPTOT Connect] Shutting down message receiving
[LOG 12:22:53.273] [KSPTOT Connect] waiting for writing thread to terminate
[LOG 12:22:53.275] [KSPTOT Connect] Shutting down message sending
[LOG 12:22:53.276] [KSPTOT Connect] Closing socket
[LOG 12:22:53.277] [KSPTOT Connect] Removing disconnected connection 0
[LOG 12:22:53.278] [KSPTOT Connect] [CONNECTION][0][READING] SOCKET ERROR 10004 A blocking operation was interrupted by a call to WSACancelBlockingCall.

[LOG 12:22:53.279] [KSPTOT Connect] [CONNECTION][0][READING] thread terminated
[LOG 12:22:53.280] [KSPTOT Connect] [CONNECTION][0][WRITING] thread terminated.

 

This is a weird one.  Let me look into it.

2 hours ago, Epox75 said:

Hello! I'm having a problem since the release of 1.5.2. I use Outer Planets Mod and Transkeptunian Object. When I try to load the bodies file I have created with ksp tot connect the bodies loading freezes and I hear a warning sound but not message and the loading stops at 10/1230.

Here's the Ksptot.log:

  Reveal hidden contents

Error using &
Matrix dimensions must agree.

Error in processINIBodyInfo>findRow (line 87)

Error in processINIBodyInfo>createCurveFitFromRows (line 61)

Error in processINIBodyInfo (line 17)

Error in mainGUI>loadBodiesFromFile_Callback (line 571)

Error in gui_mainfcn (line 95)

Error in mainGUI (line 42)

Error in @(hObject,eventdata)mainGUI('loadBodiesFromFile_Callback',hObject,eventdata,guidata(hObject))


Error while evaluating Menu Callback

Error writing to output stream.

 The version 1.5.1 doesn't give me this problem. 

Thanks for making such a great tool!

Regards,

Epox

Can I get the bodies.ini file?  I did make some pretty big updates to the code that ingests that file, so maybe something is going on there.

1 hour ago, SpacedInvader said:

Just came to report the same issue.

As I asked above, can I see the bodies.ini file you're using that isn't working? :)

Link to comment
Share on other sites

4 minutes ago, Arrowstar said:

The KSPTOT version is in the textbox on the main UI window (with the porkchop plot).  Look at the text near the bottom under the plot. :)  The changelog is in the first post of this thread, as well. :)

Yeah, something happened when I compiled this release and I couldn't get the icon to come with.  I'll try to fix it for next time but I didn't want it to hold things up.

You can set latitude and longitude constraints in the mission optimizer.  Just be aware that getting an orbit to overfly a particular latitude and longitude pair is pretty unlikely, so be sure to leave some tolerances in your constraints.

This is a weird one.  Let me look into it.

Can I get the bodies.ini file?  I did make some pretty big updates to the code that ingests that file, so maybe something is going on there.

As I asked above, can I see the bodies.ini file you're using that isn't working? :)

Will upload it in a few mins. Also, I noticed that KSPTOT also doesn't seem to like the way Sigma Binary names its objects, as in trying to revert to 1.5.1 pre-9, I get an error saying Plock-Karen is an invalid name.

 

Invalid field name: 'plock-karen'.

Error in processINIBodyInfo (line 10)

Error in mainGUI>loadBodiesFromFile_Callback (line 571)

Error in gui_mainfcn (line 95)

Error in mainGUI (line 42)

Error in @(hObject,eventdata)mainGUI('loadBodiesFromFile_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating Menu Callback

 

Edited by SpacedInvader
Link to comment
Share on other sites

Just now, SpacedInvader said:

Will upload it in a few mins. Also, I noticed that KSPTOT also doesn't seem to like the way Sigma Binary names its objects, as in trying to revert to 1.5.1 pre-9, I get an error saying Plock-Karen is an invalid name.

Thanks.  Yeah, if the body name had a space or special character it failed before.  I was hoping that by 1.5.2 the issue would be resolved but apparently I still have work to do. :)

Link to comment
Share on other sites

12 minutes ago, Arrowstar said:

Thanks.  Yeah, if the body name had a space or special character it failed before.  I was hoping that by 1.5.2 the issue would be resolved but apparently I still have work to do. :)

Ok, here's the bodies.ini and ksptot.log

EDIT: Do you think removing sigma-binary would bring TOT into line?

Edited by SpacedInvader
Link to comment
Share on other sites

Hi everyone,

I'm happy to announce the release of KSP Trajectory Optimization Tool v1.5.3. This release is a bug fix release which resolves the issue with loading in bodies.ini files from Outer Planets (and possibly other KSP mods as well).  See the first post in this thread for the download, as usual.

Please let me know if you have any questions or something else manages to break. :wink:

Link to comment
Share on other sites

20 minutes ago, Arrowstar said:

Hi everyone,

I'm happy to announce the release of KSP Trajectory Optimization Tool v1.5.3. This release is a bug fix release which resolves the issue with loading in bodies.ini files from Outer Planets (and possibly other KSP mods as well).  See the first post in this thread for the download, as usual.

Please let me know if you have any questions or something else manages to break. :wink:

Creating / loading the file seems to work perfectly, will report if any issues crop up with use. Thanks for the quick fix... I didn't want to say anything to add pressure, but this was a big one for me since there are no other functional transfer planners for OPM currently.

Link to comment
Share on other sites

57 minutes ago, Arrowstar said:

The KSPTOT version is in the textbox on the main UI window (with the porkchop plot).  Look at the text near the bottom under the plot. :)  The changelog is in the first post of this thread, as well. :)

Much thanks; I hadn't opened TOT yet so I missed that. The change log on the first page is useful, but it doesn't actually help confirm that what I've downloaded was the right version. But the UI will apparently solve that, I just didn't look hard enough. Thanks. :)

Link to comment
Share on other sites

2 hours ago, SpacedInvader said:

I didn't want to say anything to add pressure, but this was a big one for me since there are no other functional transfer planners for OPM currently.

No problem!  Feel free to say something in the future if it's critical functionality that's broken. :)

Link to comment
Share on other sites

5 minutes ago, Arrowstar said:

No problem!  Feel free to say something in the future if it's critical functionality that's broken. :)

I meant about it being important to me.. I knew you were aware of the issue, but no mod developer needs people telling them to hurry because they can't progress without it :wink:

Edited by SpacedInvader
Link to comment
Share on other sites

8 hours ago, Deimos Rast said:

this looks glorious - but is there a way to do this on Linux, without Wine? Searching through the thread mainly turned up a bunch of Linux users having issues getting it to work.

Sadly, I can only build on Windows because that is the only MATLAB platform I have.  Because of this, the choices for running on Linux are to either run the source code directly or to use WINE.

Someone did have some luck getting it to work on WINE, though.  Check out these instructions from the OP.  Do let me know if they work (or not) for you. :)

On 5/3/2016 at 0:39 PM, salajander said:
  1. Install WINE (I installed the latest staging build from https://www.winehq.org/download/)
  2. Install cabextract and ensure it's in your PATH
    1. On OS X, use homebrew or macports; e.g., 'brew install cabextract'
    2. On Linux, use your distro's package manager (apt, yum, etc.)
  3. Install winetricks: https://wiki.winehq.org/Winetricks
  4. Install the native VC++ runtime: 'winetricks vcrun2012'
  5. Install the (Windows!) MCR: 'wine MCR_R2014b_win64_installer.exe'
  6. Launch KSPTOT! : 'wine KSPTrajectoryOptimizationTool.exe'

Link to comment
Share on other sites

10 hours ago, Shurikeeen said:

The porkchop plan looks pretty broken for me. What am I doing wrong?

EDIT: Nvm, fixed it by dropping the Number of Synodic Perioids and by zooming in.

 

 

 

 

Beat me to it.  Yes, that was going to be what I was going to suggest. :)

Link to comment
Share on other sites

@Arrowstar, would it be possible at some point to shift the settings into a separate file, or at least make them persistent from launch to launch? I'd really like to be able to set kerbin / earth time and number of synodic periods once and then adjust when needed rather than having to edit them every time.

EDIT: Also might be nice to have the bodies.ini load automatically based on selection, though that can be circumvented by simply replacing the original.

Edited by SpacedInvader
Link to comment
Share on other sites

16 hours ago, Arrowstar said:

Sadly, I can only build on Windows because that is the only MATLAB platform I have.  Because of this, the choices for running on Linux are to either run the source code directly or to use WINE.

Someone did have some luck getting it to work on WINE, though.  Check out these instructions from the OP.  Do let me know if they work (or not) for you. :)

 

Thanks for taking the time to respond; the issue is (last I checked) WINE was incompatible with my NVIDIA drivers and installing the former removes the latter. It's a rabbit hole I'd rather not go down:D

However, I do have a windows laptop, but it can't run KSP, thus kind of defeating the purpose of the endeavor.

Ah well.

Link to comment
Share on other sites

21 hours ago, Deimos Rast said:

Thanks for taking the time to respond; the issue is (last I checked) WINE was incompatible with my NVIDIA drivers and installing the former removes the latter. It's a rabbit hole I'd rather not go down:D

However, I do have a windows laptop, but it can't run KSP, thus kind of defeating the purpose of the endeavor.

Ah well.

Oh, but that's not true!  The KSPTOTConnect plugin can connect to remote machines, and you can both push and pull data from KSP remotely like that.  There's absolutely no reason that you can't use the Windows laptop with KSPTOT.  I'd be happy to help you get it set up if you want. :)

---------------------------------------------------------------------------------------------------------

Hi everyone,

I'm testing out a new version of MATLAB for the next release of KSPTOT, currently numbered v1.5.4 unless something else breaks in v1.5.3 and needs a fix. :wink:

This pre-release of KSPTOT is based upon MATLAB R2015b.  The reason for this move is to take advantage of the improved MATLAB execution engine.  I'm seeing an execution speed improvement of ~60% under this release of MATLAB.  This means, for example, that a Mission Architect mission plan that would normally take 0.8 seconds to run should only take 0.3 seconds now.

I would love to get feedback from everyone to hear about how it works.  To install it, please do the following:

1) Download and install the MATLAB R2015b MATLAB Compiler Runtime (MCR). 

2) Download the KSPTOT v1.5.4 pre-release 1 zip file.

3) Extract the ZIP file and run the executable.

4) Report back here with how it runs. :)

Thanks, all!  I look forward to hearing from you all. :)

 

Edited by Arrowstar
Link to comment
Share on other sites

Hello everyone,

I'm currently planning a simple Earth-Earth-Venus mission in the Mission Architect for learning purposes and I'm having some issues in finding a solution with the optimizer. I think that the main problem are my constraints and my initial condition, so perhaps you guys could help me with those.

At the moment the mission architect looks like this:

My initial state is set to a SMA of 6574 and the rest of the parameters as zero. I have no idea to which value set the Epoch and I think that's what's causing the main issue. The bounds on the dV maneuvers are set to +/- 2km/s prograde, normal and +/- 50 m/s radial.

Thanks in advance!

Edited by Firestarter
Link to comment
Share on other sites

3 hours ago, Firestarter said:

Hello everyone,

I'm currently planning a simple Earth-Earth-Venus mission in the Mission Architect for learning purposes and I'm having some issues in finding a solution with the optimizer. I think that the main problem are my constraints and my initial condition, so perhaps you guys could help me with those.

At the moment the mission architect looks like this:

My initial state is set to a SMA of 6574 and the rest of the parameters as zero. I have no idea to which value set the Epoch and I think that's what's causing the main issue. The bounds on the dV maneuvers are set to +/- 2km/s prograde, normal and +/- 50 m/s radial.

Thanks in advance!

I'm going to need to see the mission plan MAT file, I think.  Can you link to it here? :)

Link to comment
Share on other sites

2 minutes ago, Firestarter said:

Some thoughts right off the bat:

1) Delete the Venus targeting code for now.  Only worry about targeting one body at a time, in this case, your first Earth encounter.

2) Swap out the current TEA burn (Event 3) with a burn that uses Orbital Spherical coordinates.  Then, set a lower bound on the "DV Mag." variable of that burn so that you must leave.  (Basically, set the lower bound of the TEA burn DV magnitude to something greater than what should propel you out of Earth).  You can also set an eccentricity constraint eccentricity > 1.0 after Event 3 to accomplish the same thing.  But right now it looks like you're not leaving Earth and you need to force the optimizer to get you around the Sun.

3) Only add central body constraints after you've successfully managed to get to the body in question.  They're better for keeping you at a body and don't actually work particularly well for getting you to a body, which you should accomplish with the Objective Function of the optimizer.
 

I'll keep playing with it.  In the mean time, try those three suggestions on for size and let me know how it goes. :)

Link to comment
Share on other sites

Quick question regarding the finite time burns:

I'm guessing that because the length of time is taken into account already, that the burn in-game should begin at t=0 for the maneuver.  That is, one shouldn't split the burn before and after the node?  Is that correct?

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