Jump to content

Whateverest

Members
  • Posts

    10
  • Joined

  • Last visited

Reputation

2 Neutral

Profile Information

  • About me
    Devil's left Engine
  • Location
    Germany

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. And how about that: I wrote a little test script. Setting the navball to "orbit", then turn on the sas, then reset navball to "surface" and then you can set the sasmode to "Prograde" - and you get srfprograde. I don`t know why, but this workaround seems to do the job... LOCK THROTTLE TO 1. // ... LOCK STEERING TO UP. // ... STAGE. // Main engine start WAIT 3. // Main engine run up STAGE. // actual lift off. WAIT 5. // gain speed SET NAVMODE TO "Orbit". UNLOCK STEERING. WAIT 0.5. // so sas has time to recognize navball change SAS on. SET NAVMODE TO "Surface". WAIT 1. // so sas has time to recognize navball change SET SASMODE TO "Prograde".
  2. Thanks for your answers! I tried to change it to: SET SASMODE TO "PROGRADE". kOS complains about the "unexpected quotation marks". When I change the script to SET SASMODE TO PROGRADE. and leave them away, then it is accepted. But when the script runs it does not change the sasmode... When I enter the command during flight with the quotation marks it works. Maybe the problem could be, that upon launch -when checking the script- there is no prograde selection available when you turn on the sas. srfprograde becomes of course only available when the ship moves. And just below the link you sent, there is a way to change the navball setting by using SET NAVMODE TO value. So thanks for pointing me at that. I changed that. You´re right, I missed a value as a reference (hope this makes sense to you, I´m German). Here is the new passage, changes in red: UNLOCK STEERING. WAIT 0.01. SAS ON. WAIT 1. SET SASMODE TO prograde. UNTIL SHIP:ALTITUDE > (SHIP:APOAPSIS - 1000) { IF SHIP:MAXTHRUST < 0.2 // An altitude close to Apoapsis { STAGE. SET SASMODE TO PROGRADE. } ELSE { WAIT 1. }. }
  3. Hey everybody, I could use some help with my kOS script, because I can not find my error. I play 1.2.2 with RO (no remote tech and remote tech.cfg removed from RO) and kOS 1.1.5.1. My script describes a gravity turn. Steering up until a certain speed, pitching down by 10 degrees and waiting until pitch is aligned with srfprograde pitch. Then trouble begins: I unlock the steering to avoid the use of SAS with LOCK. I turn on SAS. I wait 0.01. And Im trying to SET SASMODE TO "SRFPROGRADE". But nothing changes. I´m unable to change the SASMODE. Also I use a function to automatically stage each time the SHIP:MAXTHRUST is less than 0.2. But upon flameout it won`t stage. Could someone please check, if my following script is the problem? The part, where I think the trouble is located is marked by red letters. Thanks very much! SET FlexPitch TO 0. // for Periapsis function LOCK THROTTLE TO 1. SAS OFF. RCS OFF. LOCK STEERING TO UP. STAGE. // Main Engine ignition WAIT 3. // Main Engine run up time STAGE. // Booster ignition + launch clamps WAIT UNTIL SHIP:VELOCITY:SURFACE:MAG > 40. // vertical speed for gravity turn LOCK STEERING TO HEADING (90,80). // Gravity turn pitching down 10 degrees WAIT UNTIL (90 - VANG(ship:up:vector, ship:srfprograde:vector)) < 80. // wait until sfrprograde pitch is less then 80 degrees. UNLOCK STEERING. // to prevent use of SAS with LOCK SAS ON. // SAS stability assist mode WAIT 0.01. // thought this would help with the next line SET SASMODE TO srfPROGRADE. // supposed to set sas to srfprograde but does not work UNTIL APOAPSIS { IF SHIP:MAXTHRUST < 0.2 // if the thrust decreases the stage is burnt out { STAGE. // decouples empty stage, activates retros, activates next engine SET SASMODE TO PROGRADE. // switching from surface to orbital prograde } ELSE { WAIT 1. }. // to avoid kOS doing too many calculations SAS off. // because I will use LOCK from now on until circularized LOCK STEERING TO HEADING(90, FlexPitch). // FlexPitch is 0 for now UNTIL SHIP:PERIAPSIS > 140000 { // Function pitches up or down, depending on vert speed IF SHIP:PERIAPSIS > 132000 SET FlexPitch to 0. // to keep vessel at around apoapsis altitude ELSE IF SHIP:VELOCITY:ORBIT:MAG < -50 SET FlexPitch TO 15. ELSE IF SHIP:VELOCITY:ORBIT:MAG > -50 SET FlexPitch TO (SHIP:VELOCITY:ORBIT:MAG / (-4)). }. } // no idea why this curly bracket has to be here, but it works only with it LOCK THROTTLE TO 0. // throttle idle UNLOCK STEERING. // unlocks the steering
  4. Well, how about that...thanks so much, you made my day! All questions answered. Cheers
  5. Hey everyone, I am using kOS autopilot in RO and have three little questions, as I have no experience in programming. 1.: Upon Launch I lock my steering to UP. When passing a certain vertical speed, I lock my steering to heading (90:80) - pitching down by 10 degrees. Now I want to wait until the SAS-prograde-pitch is less than 80° and lock my steering to SAS-prograde. How do I express the "SAS prograde pitch" and "SAS prograde yaw"? Something like: LOCK STEERING TO HEADING (90:80). WHEN "SASprogradepitch" is < 80 THEN SAS ON. SET SASMODE TO PROGRADE. LOCK STEERING TO SAS. is what I am looking for. 2.: Which command toggles the button above the navball - changing the navball reference to surface,orbit or target? 3. Are there acronyms for "pitch" and "yaw" "pitch/yaw with reference to orbit" and "pitch/yaw with reference to surface"? I could not find anything in the manaul. Thanks for your answers
  6. Hmm...maybe I should explain what I have in mind: q-dot can be calculated when you know v and rho at Periapsis and your craft's nose Radius. The Unit is W/m^2. Can this maximum heating rate q-dot be put into the Stefan-Boltzmann-Relationship for j* (the sign used in wikipedia) ? If so, then you would only need to know the specific emissivity of lets say the Mk-1 pod, put it into the Boltzmann law as well and solve for T. This should then give the maximum temperature of the part at that specific Speed@Periapsis. or am I mixing up things here? and where would I find this value? I'm German, feel free to ask if things ain't clear enough...(and send prayer for the match vs Italy tomorrow)
  7. Hi guys, is there a simplified equation that gives the maximum heat or temperature? Max gforces or deltaV-loss per reentry at a given Periapsis, density at periapsis, atmospheric scale heigt and ballistic coefficient can be calculated. But I couldn't find anything that shows maximum expected heat. I want to aerobrake coming back from Pluto at speeds of 13.000 to 20.000m/s and would like to estimate the expected heat / how deep my craft could ditch into Earth's atmosphere.
  8. ....well, this left me speechless. I'm deeply impressed by the Support of all of you, especially the math done by @Cunjo Carl ! Thanks for spending your time on this. I'll try to understand the math in a silent minute, but the numbers "feel" right... The suggestions of using gravity assists...well, I guess I won't make it without them. At least for the manned part of the Mission. Even those Kerbals don't live forever, do they? For the way back and for all the supply missions, I'll be using @Cunjo Carl's numbers. I'll let you know about my progress if you care. Right now I think of ways to survive Earth reentry at ~11000m/s and possible designs of my Pluto lander -the "JOHN WAYNE"- and where to put it. To save weight on the transitflight to Pluto JW will be waiting in Pluto orbit and pick up the Crew, bring it to surface and back up to the ship. Or a different ship...I'll let you know. Kids keep me busy at the moment, so it could take a bit. Thanks to all for your encouraging Support!!!
  9. Hey everybody, I want a flag on Pluto (using RO,RSS,TAC-LS,RT,kOS etc) and started by calculating different scenarios. It turned out, that Pluto is giving me some serious headaches. The biggest problem is the unneglectable inclination relative to the eclipse of 17° combined with Pluto`s excentricity. ---- I`m German, hope you understand what I write, feel free to correct me --- Scenario 1 is just a Hohmann Transfer to meet Pluto when he crosses the ecliptic. Scenario 2 is about meeting him at his Periapsis. I do not consider any swing-by maneuvers, because there would be to many odds... So in order to calculate Scenario 1 I need to know my speed relative to Pluto, when I meet him at the Ascending Node so I can calculate the burn that keeps me in Pluto-orbit. But here`s the problem: how do I know Pluto`s distance from the sun and his speed when he crosses the Eclipse? Is there any "general" equation that would be usable for other inclinded planets, such as Mercury as well? Scenario 2 would require to burn my spacecraft`s apoapsis to Pluto`s Periapsis. His speed and my speed at that point are easy to calculate. The advantage of this scenario would be a much shorter flying time, and therefore less weight (less life support). What I save on Life support could be added as fuel and increase the Delta-V for the "Flip-burn". On the way back to Earth I wouldn`t have to do the flip burn and use the Delta-V to reduce speed just before Earth-reentry and keep g-forces lower, since I would not have to dive too deep into Earth`s atmosphere. But how do I calculate the "Flip-Burn"? Flip-Burn", because I would stay at the Eclipse until intersecting Pluto`s orbital plane and change the inclination ("flip" my trajectory) there. How do I calculate my speed and my distance from the sun when intersecting Pluto`s orbital plane with my AP at his PE ? Any hints are welcome. Maybe someone has done and posted their math before, but so far I couldn`t find any. Cheers, Whateverest
  10. Hey everybody, I ran KSP on Mac, but need the 64bit version to use more mods. I installed Ubuntu 14.04, downloaded KSPlinux from KSP.com and here my trouble begins: I don`t know which files I have to open (inside the KSP folder) nor how to open or run them at all. I have no clue about Linux at all. I want to use it solely for KSP and mods (once it runs, the mods go into the game data folder and thats it I hope). And yes, I can start sentences without "I"... (I) thank you very much for your support!
×
×
  • Create New...