Krafpy / KSP-MGA-Planner

An online tool providing automatic design of trajectories with multiple gravity assists for Kerbal Space Program.
https://krafpy.github.io/KSP-MGA-Planner/
GNU General Public License v3.0
29 stars 32 forks source link

2 issues, Eeloo cannot orbit Sarnus and I don't know how to test my system locally #27

Open snazzyostrich opened 1 year ago

snazzyostrich commented 1 year ago

The converter gives me an error when feeding Eeloo into it since it orbits Sarnus. I'm combining OPM with MPE and JMP. The last part speaks for itself. Sorry this is a dumb question, I'm not experienced with this stuff at all.

Krafpy commented 1 year ago

Hello !

The converter gives me an error when feeding Eeloo into it since it orbits Sarnus.

Can you be more precise about what error does the converter give ? What files are you providing it ?

I don't know how to test my system locally

I don't know what's your experience with git and github, so I'll give the simplest way involving no commandline stuff.

Install VScode if you don't have it already. Then download your forked MGA repository from github. Open the repository (downloaded folder) with VSCode. Install the Live server extension for VSCode. You can install it directly from VSCode (search for "Live server"). It will add a "go live" button on the blue bar at the bottom of the editor. Click it, and it should automatically open your browser with your MGA planner running.

If you modify a file you just need to refresh the page on the browser.

snazzyostrich commented 1 year ago

The error reads "ERROR: Cannot read properties of undefined (reading 'Orbit')". I am now able to test the system, however none of the added objects appear. I replaced OPM's files with those of it combined with MPE and JMP so that you could get to it through the dropdown menu.

Krafpy commented 1 year ago

Can you upload the files that you are giving to the converter ? (you can attach files to your comment).

however none of the added objects appear

This can happen if there is missing or invalid data in the configuration files (bodies.yml, config.yml or systems.yml). I'll try to check this problem this week.

snazzyostrich commented 1 year ago

Github doesn't support kopernicus config files, so I made a google drive instead. https://drive.google.com/drive/folders/1dUs-zRRI9626dzPuMivWXiBfOkKVsifW?usp=share_link

Krafpy commented 1 year ago

I need an authorization to access the file, or you need to make the file publicly accessible for anyone that has the link you provided.

TNQOYxNU commented 1 year ago

When add Eeloo for OPM, I excluded Eeloo's Kopernicus config and enable stock system when doing auto conversion. Then I manually edit Eeloo's orbital parameter.

Krafpy commented 1 year ago

@snazzyostrich Can you add public access with link to the file on google drive please ? I'm not able to download it. Or you can put the Kopernicus file in a zip and attach it to a comment.