dlrk Posted June 29, 2014 Share Posted June 29, 2014 I just saw you added the ability to generate a bodies from KSP. For someone like me who uses a weird modded Kerbol system, that's great! Thanks!!! Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted June 29, 2014 Author Share Posted June 29, 2014 Great, let me know how it works! Actually, if you wouldn't mind, could you post the contents of bodies.ini file you create here along with the name or names of the mods(s) you use in KSP that change the Kerbol system? I'd like to see how it performs on something other than stock KSP and RSS. Quote Link to comment Share on other sites More sharing options...
dlrk Posted June 29, 2014 Share Posted June 29, 2014 (edited) [Sun]epoch = 0.000000sma = 0.000000ecc = 0.000000inc = 0.000000raan = 0.000000arg = 0.000000mean = 0.000000gm = 84958194620.955994radius = 584227.280000atmoHgt = 700000.000000rotperiod = 262906.828000rotini = 0.000000bodycolor = graycanBeCentral = 1canBeArriveDepart = 0parent = parentID = -1name = Sunid = 0[Kerbin]epoch = 0.000000sma = 87038977.638400ecc = 0.000000inc = 0.000000raan = 0.000000arg = 0.000000mean = 179.908754gm = 144742.211207radius = 3840.000000atmoHgt = 91.182367rotperiod = 86400.000000rotini = 90.000000bodycolor = graycanBeCentral = 1canBeArriveDepart = 1parent = SunparentID = 0name = Kerbinid = 1[Mun]epoch = 0.000000sma = 76800.000000ecc = 0.000000inc = 0.000000raan = 0.000000arg = 0.000000mean = 97.402828gm = 2672.262033radius = 1280.000000atmoHgt = 0.000000rotperiod = 348298.525539rotini = 230.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = KerbinparentID = 1name = Munid = 2[Minmus]epoch = 0.000000sma = 300800.000000ecc = 0.000000inc = 6.000000raan = 78.000000arg = 38.000000mean = 51.566200gm = 72.445504radius = 384.000000atmoHgt = 0.000000rotperiod = 80399.005000rotini = 230.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = KerbinparentID = 1name = Minmusid = 3[Moho]epoch = 0.000000sma = 33684085.145600ecc = 0.200000inc = 7.000000raan = 70.000000arg = 15.000000mean = 179.908754gm = 6916.266164radius = 1600.000000atmoHgt = 14.000000rotperiod = 440000.000000rotini = 190.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = SunparentID = 0name = Mohoid = 4[Eve]epoch = 0.000000sma = 62929181.081600ecc = 0.010000inc = 2.100000raan = 15.000000arg = 0.000000mean = 179.908754gm = 335386.876645radius = 4480.000000atmoHgt = 127.655320rotperiod = 113490.088000rotini = 0.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = SunparentID = 0name = Eveid = 5[Duna]epoch = 0.000000sma = 132647393.689600ecc = 0.051000inc = 0.060000raan = 135.500000arg = 0.000000mean = 179.908754gm = 12338.878090radius = 2048.000000atmoHgt = 54.709422rotperiod = 102385.826000rotini = 90.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = SunparentID = 0name = Dunaid = 6[Ike]epoch = 0.000000sma = 20480.000000ecc = 0.030000inc = 0.200000raan = 0.000000arg = 0.000000mean = 97.402828gm = 762.368202radius = 832.000000atmoHgt = 0.000000rotperiod = 160886.087811rotini = 0.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 0parent = DunaparentID = 6name = Ikeid = 7[Jool]epoch = 0.000000sma = 440150786.048000ecc = 0.050000inc = 1.304000raan = 52.000000arg = 0.000000mean = 5.729578gm = 21053297.415325radius = 38400.000000atmoHgt = 182.364750rotperiod = 75894.664000rotini = 0.000000bodycolor = graycanBeCentral = 1canBeArriveDepart = 1parent = SunparentID = 0name = Joolid = 8[Laythe]epoch = 0.000000sma = 173977.600000ecc = 0.000000inc = 0.000000raan = 0.000000arg = 0.000000mean = 179.908754gm = 80432.969269radius = 3200.000000atmoHgt = 72.945898rotperiod = 99181.755357rotini = 90.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = JoolparentID = 8name = Laytheid = 9[Vall]epoch = 0.000000sma = 276172.800000ecc = 0.000000inc = 0.000000raan = 0.000000arg = 0.000000mean = 51.566200gm = 8521.045112radius = 1920.000000atmoHgt = 0.000000rotperiod = 198702.481320rotini = 0.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = JoolparentID = 8name = Vallid = 10[Bop]epoch = 0.000000sma = 822400.000000ecc = 0.235000inc = 15.000000raan = 10.000000arg = 25.000000mean = 51.566200gm = 101.991904radius = 416.000000atmoHgt = 0.000000rotperiod = 1021276.658277rotini = 230.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = JoolparentID = 8name = Bopid = 11[Tylo]epoch = 0.000000sma = 438400.000000ecc = 0.000000inc = 0.025000raan = 0.000000arg = 0.000000mean = 179.908754gm = 115823.211921radius = 3840.000000atmoHgt = 0.000000rotperiod = 396400.576796rotini = 0.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = JoolparentID = 8name = Tyloid = 12[Gilly]epoch = 0.000000sma = 201600.000000ecc = 0.550000inc = 12.000000raan = 80.000000arg = 10.000000mean = 51.566200gm = 0.339403radius = 83.200000atmoHgt = 0.000000rotperiod = 67236.895000rotini = 5.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 0parent = EveparentID = 5name = Gillyid = 13[Pol]epoch = 0.000000sma = 1151296.000000ecc = 0.170850inc = 4.250000raan = 2.000000arg = 15.000000mean = 51.566200gm = 29.596661radius = 281.600000atmoHgt = 0.000000rotperiod = 1691609.026567rotini = 25.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = JoolparentID = 8name = Polid = 14[Dres]epoch = 0.000000sma = 261371828.499200ecc = 0.145000inc = 5.000000raan = 280.000000arg = 90.000000mean = 179.908754gm = 882.022247radius = 883.200000atmoHgt = 14.000000rotperiod = 74619.032000rotini = 25.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = SunparentID = 0name = Dresid = 15[Eeloo]epoch = 0.000000sma = 576760448.000000ecc = 0.260000inc = 6.150000raan = 50.000000arg = 260.000000mean = 179.908754gm = 3054.588295radius = 1344.000000atmoHgt = 60.000000rotperiod = 55799.642000rotini = 25.000000bodycolor = graycanBeCentral = 0canBeArriveDepart = 1parent = SunparentID = 0name = Eelooid = 16There ya go! I'm using Regex's 6.4X RSS.Also, if you don't mind me asking, what's the recommended method for planning missions to satellites(moons, stations) with KSPTOT? I'm looking to get DV and travel time.Thanks for the info! Edited June 30, 2014 by dlrk Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted June 30, 2014 Author Share Posted June 30, 2014 Thanks! Could you edit your post and put the bodies file contents in CODE tags? That will save some vertical screen space. The recommended procedure for going to satellites/moons is as I described above:Your best bet for finding a good initial guess for burns is to use the Rendezvous Maneuver Sequencer. It's in the Tools -> Maneuver Planning menu. Basically, treat the Kerbin Orbit -> Minmus mission as a rendezvous between two spacecraft and not a transfer from one planet to another. It works, promise! Let me know if you need any help using it. Let me know if that helps or you'd like some more clarification. Quote Link to comment Share on other sites More sharing options...
Awaras Posted June 30, 2014 Share Posted June 30, 2014 I am just starting to read this whole thread, so I apologize if this has been mentioned before (or if there is already a convention I am not aware of), but would it be possible to add some kind of indication to the departure orbit/flyby orbit graphs that let us see at a glance where the maneuver should be executed. A vector pointing towards the central body or a shading of the planet drawn on the graph so the day/night sides are obvious would be nice... Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted June 30, 2014 Author Share Posted June 30, 2014 Believe it or not, the information you need is already in there. Everywhere that I specify maneuver delta-v vectors, I also specify the maneuver true anomaly. The true anomaly is the angle from periapse to the spacecraft position in orbit. True anomaly of zero means burn at periapse, true anomaly of 90 degrees means burn half way between periapse and apoapsis (ascending), true anomaly of 180 degrees means burn at apoapsis, etc.I think most applications also show maneuvers with a red line along the burn vector at the point in the orbit where the burn takes place. Maybe look for that too. Does that help? Quote Link to comment Share on other sites More sharing options...
strgzr Posted June 30, 2014 Share Posted June 30, 2014 As a newbie that has to dust off my orbital mechanics math-sense, this is a great toolthat I will use a lot! Many thanks,strgzr Quote Link to comment Share on other sites More sharing options...
Drew Kerman Posted June 30, 2014 Share Posted June 30, 2014 I think most applications also show maneuvers with a red line along the burn vector at the point in the orbit where the burn takes place. Maybe look for that too.It sometimes appears on the far side of the planet and people may not know how to rotate the view to see it? Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted July 1, 2014 Author Share Posted July 1, 2014 I agree the rotate button is kinda far away under the menus. However, that's where matlab puts it sadly. Once you learn though it's not too bad. It is, however, just a matter of getting to that point. And that's why I need to write documentation! Quote Link to comment Share on other sites More sharing options...
mythic_fci Posted July 2, 2014 Share Posted July 2, 2014 Welp, time to launch a new probe and get my friends to roleplay Mission Control... Quote Link to comment Share on other sites More sharing options...
Drew Kerman Posted July 2, 2014 Share Posted July 2, 2014 Alright I played around with the Rendezvous Maneuver Sequencer and I'm not sure if what I'm doing is correct. First, I left the initial orbit state values mostly alone, as a 100km parking orbit is good. I took notice of the warning about 0 inc/ecc so I made them 0.01 as I know I can get those values in the game. Now, I'm sending a SCANSat probe so for best results on the instruments I initially need an orbit 273.963km above Minmus with 44.41 degrees inclination. I used the drop-down to get Minmus details in the final orbit box and added the desired altitude to the 47,000km orbital altitude of Minmus as well as the radius, so 47,000 + 60 + 273.963 = 47333.963km. I made the ecc of the final orbit 0.01 and then placed the UT from my save file into the Initial Epoch (didn't change any of the Epoch values in the orbital boxes).---------------------------------------------Semi-major Axis = 57009.812 kmEccentricity = 0.98796Inclination = 2.282 degRight Ascension of AN = 233.353 degArgument of Periapse = 193.240 deg---------------------Departure True Anomaly = 346.559 degArrival True Anomaly = 190.486 degTransfer Orbit Injection Burn (Relative to initial orbit)---------------------------------------------Total Delta-V = 0.98123 km/sPrograde Delta-V = 889.54579 m/sOrbit Normal Delta-V = -125.93240 m/sRadial Delta-V = -394.54381 m/s---------------------Burn True Anomaly = 53.15262 degBurn Time Past Peri. = 284.14476 secBurn Time Before Peri. = 1673.98368 secInitial Orbit Period = 1958.12844 secBurn UT = 21794253.63778 secFinal Orbit Injection Burn (Relative to transfer orbit)---------------------------------------------Total Delta-V = 0.37665 km/sPrograde Delta-V = -263.78724 m/sOrbit Normal Delta-V = -196.13650 m/sRadial Delta-V = 183.89011 m/s---------------------Burn True Anomaly = 165.95529 degBurn Time Past Peri. = 53749.14637 secBurn Time Before Peri. = 1385442.14342 secInitial Orbit Period = 1439191.28979 secBurn UT = 23134547.39139 secTransfer Orbit about KerbinI looked up the other values like RAAN and Mean Anom, Arg Peri, etc - but I don't really understand how to apply any changes to them to maybe allow for the sequencer to generate a better result. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted July 2, 2014 Author Share Posted July 2, 2014 Welp, time to launch a new probe and get my friends to roleplay Mission Control...Hey, sounds good! Please feel free to post some screenshots of your mission, both from the pilot's chair and from the mission control folks. And if you run into any issues, do let me know. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted July 2, 2014 Author Share Posted July 2, 2014 Alright I played around with the Rendezvous Maneuver Sequencer and I'm not sure if what I'm doing is correct. First, I left the initial orbit state values mostly alone, as a 100km parking orbit is good. I took notice of the warning about 0 inc/ecc so I made them 0.01 as I know I can get those values in the game. Now, I'm sending a SCANSat probe so for best results on the instruments I initially need an orbit 273.963km above Minmus with 44.41 degrees inclination. I used the drop-down to get Minmus details in the final orbit box and added the desired altitude to the 47,000km orbital altitude of Minmus as well as the radius, so 47,000 + 60 + 273.963 = 47333.963km. I made the ecc of the final orbit 0.01 and then placed the UT from my save file into the Initial Epoch (didn't change any of the Epoch values in the orbital boxes).---------------------------------------------Semi-major Axis = 57009.812 kmEccentricity = 0.98796Inclination = 2.282 degRight Ascension of AN = 233.353 degArgument of Periapse = 193.240 deg---------------------Departure True Anomaly = 346.559 degArrival True Anomaly = 190.486 degTransfer Orbit Injection Burn (Relative to initial orbit)---------------------------------------------Total Delta-V = 0.98123 km/sPrograde Delta-V = 889.54579 m/sOrbit Normal Delta-V = -125.93240 m/sRadial Delta-V = -394.54381 m/s---------------------Burn True Anomaly = 53.15262 degBurn Time Past Peri. = 284.14476 secBurn Time Before Peri. = 1673.98368 secInitial Orbit Period = 1958.12844 secBurn UT = 21794253.63778 secFinal Orbit Injection Burn (Relative to transfer orbit)---------------------------------------------Total Delta-V = 0.37665 km/sPrograde Delta-V = -263.78724 m/sOrbit Normal Delta-V = -196.13650 m/sRadial Delta-V = 183.89011 m/s---------------------Burn True Anomaly = 165.95529 degBurn Time Past Peri. = 53749.14637 secBurn Time Before Peri. = 1385442.14342 secInitial Orbit Period = 1439191.28979 secBurn UT = 23134547.39139 secTransfer Orbit about KerbinI looked up the other values like RAAN and Mean Anom, Arg Peri, etc - but I don't really understand how to apply any changes to them to maybe allow for the sequencer to generate a better result.Ah, okay, sorry for the lack of clarify on my part. Don't edit the Minmus orbit. What you're going to do is use RMS to get the burn sequence to go to Minmus as if Minmus was a small spacecraft to rendezvous with. You'll get two burns out of RMS as you did above. Take the UT of the first burn along with it's prograde/normal/radial components and throw it into Mission Architect. Do the same with the second burn, but make the coast a coast to Minmus periapsis. Your MA mission script should look like this:Initial State - Same initial orbit as used in RMSCoast to UT of Burn 1Burn 1Coast to Minmus periapsisBurn 2Coast to periapsisOkay, now, your burn plan you got out of RMS should get your really close to Minmus. You then optimize the Burn delta-v vectors (don't optimize the coast UTs) to achieve the desired orbit around Minmus. Add in some constraints for SMA, eccentricity, inclination, and the like, and use the "minimize eccentricity" objective function to start (switch to others if it doesn't work well).I'll see if I can't provide an example in a few minutes that you can follow along with. Quote Link to comment Share on other sites More sharing options...
Drew Kerman Posted July 2, 2014 Share Posted July 2, 2014 Yea, an example would be best - IMO this would also save you from otherwise having to write excessive amounts of documentation Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted July 2, 2014 Author Share Posted July 2, 2014 Right, okay, take a look at my MA mission plan here:Kerbin to MinmusFrankly, going to Minmus is pretty easy for MA to figure out, so if you even just give it a somewhat close guess for the first burn, it'll figure out the encounter on its own.Let me know if you have any questions! (And give that link some time to upload if it doesn't work immediately, it's on my dropbox...) Quote Link to comment Share on other sites More sharing options...
Drew Kerman Posted July 2, 2014 Share Posted July 2, 2014 Ok I have a better idea of things now. I have a flight in a few hours and will have to play more with this when I get back this weekend. Quote Link to comment Share on other sites More sharing options...
diomedea Posted July 2, 2014 Share Posted July 2, 2014 I may have detected a minor issue. KSPTOT MCC RealTime System should let the user choose any vessel, from the selection dropdown where all vessels in KSP are listed (and, BTW, really everything orbiting in game is listed, including debris and asteroids). But, after a vessel is selected and data is fetched (from KSPTOT Connect), it shows that data is actually about the loaded vessel that KSP is flying. So, the selection dropdown in the MCC has no effect. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted July 3, 2014 Author Share Posted July 3, 2014 Thanks for the report! I will investigate this weekend. Btw, were you doing anything unusual with KSP TOT when you noticed it? Quote Link to comment Share on other sites More sharing options...
diomedea Posted July 3, 2014 Share Posted July 3, 2014 Thanks for the report! I will investigate this weekend. Btw, were you doing anything unusual with KSP TOT when you noticed it?Probably something unusual, yes. Apart from using my so-heavily modded game install (so any kind of conflicts may emerge due to other mods), I had an asteroid orbiting Kerbin under control in the flight window while I opened the MCC and tried to retrieve orbital data for a probe I wanted to send to Moho (had the solution with a direct transfer, the intention was to use the orbital data for the inital orbit while computing the departure burn). Probably we should not be able to "fly" asteroids. In case the above is not clear, that asteroid was a captured one (was detached after being redirected); normal asteroids aren't "flyable".Tried the MCC feature with a normal ship, even not the one I want to retrieve data about, and all data is retrieved as it should. So, probably just a warning "don't fly asteroids" would be enough .Anyway, while trying to isolate this issue, I found something else. This time with an almost clean KSP install, so quite difficult mods have any influence.1) Again using orbital data in MCC from one ship while flying another in KSP. Orbital data is retrieved fine, but then when I want to upload the maneuver found by KSPTOT back to KSP, it is uploaded with the vessel being flown, not the one the data retrieved was about (of course I notice there is no way to select a specific vessel while uploading a maneuver to KSP, so probably this is just another thing to warn the users about, and nothing more).2) A word from you about how to set-up the upload maneuver correctly may be a blessing. The "Upload Maneuver to KSP" window has the option to select the Time Type (UT or Time past Periapsis). It defaults to UT. I found the uploaded maneuvers being wildly wrong in KSP if that option is "UT", but closer if "Time past Periapsis" (afterwards, noticed the DV Maneuver Information panel in the Departure Burn window actually uses "Time past Periapsis"). Still, the uploaded maneuver in KSP is not exactly right (KSP does not show a rendezvous), so I may be missing something else. Quote Link to comment Share on other sites More sharing options...
Kobymaru Posted July 3, 2014 Share Posted July 3, 2014 Hi! I found a rather severe Bug in KSPTOTConnect, probably with the maneuver node uploader tool.I used KSPTOT to calculate a departure burn, and uploaded it as a maneuver node using the KSPTot plugin. I then left the ship to do other things. When I came back to it, it "changed".This is how my ship looked before the upload: This is how my ship looks now: As you can see, "things" are missing.This happend with another ship as well, where I uploaded a maneuver.In case you need the persistent.sfs files:-before: https://dl.dropboxusercontent.com/u/1414175/persistent-before.sfs-after: https://dl.dropboxusercontent.com/u/1414175/persistent-after.sfsThe ships in question are called- "Moho Science Vessel"- "IF 2 (Eve) Ship" Quote Link to comment Share on other sites More sharing options...
diomedea Posted July 4, 2014 Share Posted July 4, 2014 Hi! I found a rather severe Bug in KSPTOTConnect, probably with the maneuver node uploader tool.I used KSPTOT to calculate a departure burn, and uploaded it as a maneuver node using the KSPTot plugin. I then left the ship to do other things. When I came back to it, it "changed"....As you can see, "things" are missing.Arrowstar, unfortunately I have to confirm the above. I also found ships that had a maneuver uploaded from KSPTOT horribly broken (would say, "krakenized"). Was still investigating if this other issue may have been tied to other things, but till now the only commonality found is to have had the uploaded maneuver. Quote Link to comment Share on other sites More sharing options...
mythic_fci Posted July 4, 2014 Share Posted July 4, 2014 Arrowstar, unfortunately I have to confirm the above. I also found ships that had a maneuver uploaded from KSPTOT horribly broken (would say, "krakenized"). Was still investigating if this other issue may have been tied to other things, but till now the only commonality found is to have had the uploaded maneuver.Same with me. I find upload maneuver nodes annoying as heck. Only MechJeb has been able to run one anywhere close to the numbers from KSPTOT. It screws around with ships and nodes. Quote Link to comment Share on other sites More sharing options...
Kobymaru Posted July 4, 2014 Share Posted July 4, 2014 Arrowstar, unfortunately I have to confirm the above. I also found ships that had a maneuver uploaded from KSPTOT horribly broken (would say, "krakenized"). Was still investigating if this other issue may have been tied to other things, but till now the only commonality found is to have had the uploaded maneuver.By the way, were you able to recover your ship? I found the first in a recent backup, but the second one was not launched yet. Any Idea how I could bring it back? Quote Link to comment Share on other sites More sharing options...
diomedea Posted July 4, 2014 Share Posted July 4, 2014 By the way, were you able to recover your ship? I found the first in a recent backup, but the second one was not launched yet. Any Idea how I could bring it back?After the ship is "broken" ? First time I had that issue (still unknown the cause), was with my main game. Had to reload from a quicksave done before uploading the maneuver. Then I used KSPTOT Connect with a test game, so nothing really troubling if I was losing a ship (apart having to launch another to keep testing). So far, no way I know to recover a savegame, but I have yet to find what is actually wrong with the uploaded data. I guess could be something simple enough that could be corrected by manually editing the savegame. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted July 4, 2014 Author Share Posted July 4, 2014 Got it, thanks for bringing it to my attention. I'll investigate.Are you both using stock KSP + KSPTOTConnect only? Does it only happen after creating a maneuver node? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.