Jump to content

whirlwind

Members
  • Posts

    10
  • Joined

  • Last visited

Reputation

0 Neutral

Profile Information

  • About me
    Bottle Rocketeer

Recent Profile Visitors

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

  1. Hi guys! Although this topic refers to the KSP game, I looked at the contents of the forum "KSP fan works" and thought that I would get more support here. Recently I was working on a document that implicitly demanded to consider the issue of water distribution in the Kerbol system. I got a lot of fun doing this job. It turned out that this document should consist half of the consideration of the issue of water. Now I thought that it would be great to create a separate document that will be completely devoted to the issue of water availability in the Kerbol system. But I'm not a scientist and I can not be sure that all my explanations will be correct. I'm just a fan of science. In addition, English is not my native language and I am not able to express complex thoughts correctly. For this I need help to do this work. I hope you are the same science fans as I am and you will get a lot of fun doing this job. Here is the original draft https://github.com/steamp0rt/Kerbalism/files/2056467/kerbalism-water-harvesting.zip I want to ask the following people for help: Editor - I suppose that the best candidate is a native english who does not have strong scientific background. To ask more questions and help make the document easy enough to understand for most people. Consultants - anyone with scientific experience to help me create the most reliable and realistic picture of water distribution. If you are interested in this proposal and you want to become part of the team to work on this issue, please write me a message that we could discuss the most appropriate approach for implementing this task. And of course, I will be happy if you just join the discussion of this issue directly in this thread. Prof. Koberth PS. As an advance of the idea, a little thought about Minmus. Probably this is crystalline hydrate. Something like copper chloride 2 hydrate or ferric sulfate 5 hydrate.
  2. What if something is wrong? It's time to start testing the whole Kerbol system! KUnit - Unit Testing framework for kerboscript KUnit provides possibility to write repeatable tests for kerboscript - KOS programming language. KUnit is an instance of the xUnit architecture for unit testing frameworks. KUnit shouldn't force to write any tests but should help write any test you want for any code you want in case when you feel that it should be tested. There is a way how to implement, organize and run your tests. And this is KUnit. If you found this tool nice and helpful this means KUnit works well. KUnit also demonstrates how to use object-oriented approach in KOS programs to achieve well-looking design, maximum code reusability and exceptional software quality. Join us and together we can make Kerbol more robust!
  3. Just want to thank you again and again for your amazing work. I was far of KSP scripting for some time because without functions the complex programs became a hell. I just look at KOS engine from time to time and few days ago I see there is it - we've got functions! Now I can return to programming of space programs. You're the best!
  4. Hi guys I'm writing some code to modelling an orbits in game. To calculate flight plans, to optimize the routines, etc... I faced with some difficulties with the LAN calculation. Seems everything is ok but the LAN value doesn't match with the KOS/MJ LAN value. Please, take a look at the screenshot: http://postimg.org/image/kq6so2pv9/ The ascending node is exact. It is 121 degrees. I have checked it by moving origin at Kerbin. And it matched with the AN by time given by MJ and visually when passing equator. We can see the AN vector lies left of Z-axis. It means the calculated value is near to be true because it must be greater than 90 (the X-axis is pale red). But the LAN displayed in the window of the orbit info is 21 degrees. And the LAN given by KSP is 21 degrees. I guess this issue is linked with something like a vector of vernal equinox, right? Any advices how to fix the calculated LAN. It is just needed because I'll make my own orbits from existing ingame orbits to use it. And the LAN will be a problem if just copy it. Thanks.
  5. Great job, SpiritOffice! Very useful for mission planning.
  6. Thanks for the detailed answer. I've imagined that this is not an easy task. But since the KOS works not so fast, it would be great if these values were taken from the KSP or such complex calculations were implemented in C#. These parameters are an integral part of the orbital parameters. It would be great to get these things in future releases.
  7. How to get the periapsis argument and AN longitude? Right now I just scan and write when ship moved over PE/AN/DN but this method inapplicable for work with non celestial bodies or for very long orbits.
  8. Yep, I've tested it on vehicle with only LV909 and 48-7S. It's not so greater problem here to write specific impulse explicitly for each challenge. I use it to calculate burn duration. But if something is broken, then may be in other cases it will be a problem.
  9. Thanks for the awesome stuff! Seems some kerbugs in the last release v0.11.1 This code does not work for me set isp to 0. set Tsum to 0. set d to 0. list engines in dummy. for eng in dummy { set engTmax to eng:maxthrust. set engISP to eng:isp. if engISP != 0 { set Tsum to Tsum+engTmax. set d to d+(engTmax/engISP). }. }. if d > 0 { set isp to Tsum/d. }. looks like the engine attributes no longer available [LOG 11:41:53.964] System.NullReferenceException: Object reference not set to an instance of an object at kOS.Suffixed.Part.EngineValue.GetEngineFxSuffix (System.String suffixName, .ModuleEnginesFX moduleEngines) [0x00000] in <filename unknown>:0 at kOS.Suffixed.Part.EngineValue.GetSuffix (System.String suffixName) [0x00000] in <filename unknown>:0 at kOS.Expression.Expression.TryProcessStructure (kOS.Expression.Term input) [0x00000] in <filename unknown>:0 at kOS.Expression.Expression.GetValueOfTerm (kOS.Expression.Term term) [0x00000] in <filename unknown>:0 at kOS.Expression.Expression.GetValue () [0x00000] in <filename unknown>:0 at kOS.Expression.Expression.IsNull () [0x00000] in <filename unknown>:0 at kOS.Command.BasicIO.CommandPrint.Evaluate () [0x00000] in <filename unknown>:0 at kOS.Command.FlowControl.CommandBlock.Update (Single time) [0x00000] in <filename unknown>:0 at kOS.Context.ExecutionContext.Update (Single time) [0x00000] in <filename unknown>:0 at kOS.Command.FlowControl.CommandForLoop.Update (Single time) [0x00000] in <filename unknown>:0 at kOS.Context.ExecutionContext.Update (Single time) [0x00000] in <filename unknown>:0 at kOS.Interpreter.ImmediateMode.Update (Single time) [0x00000] in <filename unknown>:0 any ideas?
×
×
  • Create New...