Jump to content

MP X10L

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by MP X10L

  1. Hi, is there a way to readout the current pitch on the navball? I tried to figure out how exactly facing works and then calculating my pitch, but I have serious problems with that. ^^ print heading. returns yaw at the navball ... before I try this the whole day I wanted to know whether there is a easy way to access pitch. I need it to calculate my current thrust independent from maxthrust, which allows for asparagus staging .... at least I hope. ^^ This is what I wanted to use to teach me how this stuff works, but I realized it would take .... some time. ^^ It works for some regions on the navball. Those regions move or disappear when moving over Kerbin .... so yeah. until 0 { print ((facing:pitch + latitude)^2 + (facing:yaw + longitude)^2)^(0.5) at(0,30). print "facing: " + facing at(0,31). print "heading: " + heading at(0,32). }. Could someone help me? ^^ The staging is one of the last parts of my launchscript which already propels me into an desired orbit with an accuracy of 500m with only one burn.
  2. Ok, after some days of playing around, here are some things I would really love to see: Logarithm function as well as e-function. Readout of atmospheric density. Also I have some trouble when doing calculations with angles. eg.: arcsin(0.3) + 1 is not possible. Seems that arcsin returns to many digits. Same for arccos and arctan. They all return 4 digits more. Sin, cos and tan work.
  3. Hi , I have a problem with the trigonometric functions. It seems that it is not possible to use them for further calculations. print 0-arcsin(0.3). Isn't working. Not sure whether I'm doing something wrong or whether kOS has some problems with the digits? I tested following (the numbers are just random to show the problem): set a to arcsin(0.3). print a. 17.7894561231232 but set a to 17.789456123123. print a. 17.789456 print 0-a. -17.789456 Please help, I just wanted to invert an angle... ^^
  4. Not sure if its intended to work this way: Took some time until I found what makes my warp-calculation useless. ^^
×
×
  • Create New...