erendrake

Members
  • Content Count

    535
  • Joined

  • Last visited

Community Reputation

204 Excellent

About erendrake

  • Rank
    Junior Rocket Scientist

Recent Profile Visitors

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

  1. Thank you for taking this project over Steven! I miss working on kOS a lot and its great to know it is in good hands.
  2. I Approve of this lock. I am no longer active enough to support the kOS team enough to maintain the OP.
  3. Hey :)

     

    I want to inplement a function into the orbit structure. 

     

    The function input of the function is time in seconds or so. 

    The Output is the trueanomaly at this time. 

     

    I had read that the kspAPI has a function orbit.trueanomalyatut.  i want to use this function to calculate the trueanomaly at a certain time.  I had trieb on my own but it didnt work. 

     

    Can you Held me ?

     

  4. New Release Github : Download Spacedock : Download BREAKING CHANGES As usual, you must recompile any KSM files when using the new version. Vecdraw :SCALE no longer applied to :START. Only applied to :VEC. Varying power consumption might make it so if you have high IPU settings some designs might run out of power when they didn't before. (in most cases it should draw less power for most people). !!!! Default extension of ".ks" is no longer applied to all new filenames created. But it still will be looked for when reading existing files if you leave the extension off !!!! FileInfo information now moved to Volume (http://ksp-kos.github.io/KOS_DOC/structures/volumes_and_files/volume.html). VOLUME:FILES was returning a LIST(), now it returns a LEXICON who's keys are the filename. String sort-order comparisons with "<" and ">" operators were implemented wrongly and just compared lengths. Now they do a character-by-character comparison (case-insensitively). On the off chance that anyone was actually trying to use the previous weird length-comparison behavior, that would break. NEW FEATURES Art asset rework. The meshes and textures of the kOS CPU parts have recieved an update, and a new KAL9000 high-end computer part was included. Varying power consumption. Units of electric charge used now varies depending on CPU speed and how much the CPU is being actually used. If your IPU setting is low, or if your program isn't doing very much and is just stuck on a wait statement, it won't use as much power. (http://ksp-kos.github.io/KOS_DOC/general/cpu_hardware#electricdrain) Ability to read and write whole files at a time as one big string. (http://ksp-kos.github.io/KOS_DOC/structures/volumes_and_files/volumefile.html) User Functions can now be referred to with function pointers, or "delegates". (http://ksp-kos.github.io/KOS_DOC/language/delegates.html) Automatic serialization system to save/load some kinds of data values to JSON-format files (http://ksp-kos.github.io/KOS_DOC/commands/files.html#writejson-object-filename) User Programs and Functions now allow trailing optional parameters with defaulted values. (http://ksp-kos.github.io/KOS_DOC/language/user_functions.html#optional-parameters-parameter-defaults). There are now some suffixes that work on all value types, even primitive scalars. To accomplish this, a new "encapsulation" system has wrapped all kOS structures and primitive types inside a generic base type. (http://ksp-kos.github.io/KOS_DOC/structures/reflection.html) ENGINE type now supports multi-mode cases and has its gimbal accessible through :GIMBAL suffix (http://ksp-kos.github.io/KOS_DOC/structures/vessels/engine.html) Added GIMBAL:LIMIT suffix. (http://ksp-kos.github.io/KOS_DOC/structures/vessels/gimbal.html) Better support for DMagic's Orbital Science mod (http://ksp-kos.github.io/KOS_DOC/addons/OrbitalScience.html) Char() and Unchar() functions for translating unicode numbers to characters and visa versa (http://ksp-kos.github.io/KOS_DOC/math/basic.html#function:CHAR) New Range type for iterating over hardcoded lists (http://ksp-kos.github.io/KOS_DOC/structures/collections/range.html). Ability to iterate over the characters in a string using a FOR loop, as if the string was a LIST() of chars. New higher level cpu part. (#1380) HASTARGET and HASNODE functions (http://ksp-kos.github.io/KOS_DOC/bindings.html?highlight=hastarget) :JOIN suffix for LIST to make a string of the elements (http://ksp-kos.github.io/KOS_DOC/structures/collections/list.html#method:LIST:JOIN) KUNIVERSE now lets you read hours per day setting (http://ksp-kos.github.io/KOS_DOC/structures/misc/kuniverse.html#attribute:KUNIVERSE:HOURSPERDAY) The reserved word ARCHIVE is now a first-class citizen with proper binding, so you can do SET FOO TO ARCHIVE and it will work like you'd expect. New Lexicon creation syntax to make a Lexicon and populate it all in one statement. (http://ksp-kos.github.io/KOS_DOC/structures/collections/lexicon.html?highlight=lexicon#constructing-a-lexicon) BUG FIXES Numerous additional checks to prevent control of other vessels the kOS CPU isn't attached to. The error beep and keyboard click sounds now obey game's UI volume settings. (#1287) Fixed two bugs with obtaining waypoints by name. (#1313) (#1319) Removed unnecessary rounding of THRUSTLIMIT to nearest 0.5%, now it can be more precise. (#1329) Removed the ability to activate both modes on multi-mode engine simultaneously. LIST ENGINES now lists all engines and displays part names instead of module names. (https://github.com/KSP-KOS/issues/1251) Fixed bug that caused hitting ESC to crash the telnet server. (#1328) Some exceptions didn't cause beep, now they all do. (#1317) Vecdraw :SCALE no longer applied to :START. Only applied to :VEC. (#1200) Fixed bug that made up-arrow work incorrectly when the cursor is at the bottom of the terminal window. (#1289) A multitude of small documentation fixes (#1341) Fixed a bug when performing an undock (#1321) IR:AVAILABLE was reporting incorrectly () Boot files now wait until the ship is fully unpacked and ready (#1280) The Vessel :HASBODY (aliases :HASOBT and :HASORBIT) suffix was in the documentation, but had been lost in a refactor last year. It is put back now. String sort-order comparisons with "<" and ">" operators were implemented wrongly and just compared lengths. Now they do a character-by-character comparison (case-insensitively) Small documentation edits and clarifications all over the place. KNOWN issues Using lock variables in compiled scripts with a duplicate identifier (like "throttle") throws an error (#1347 and #1253). Occasionally staging with a probe core or root part in the ejected stage will break cooked steering (#1492). The limitations of RemoteTech integration can be bypassed by storing a volume in a variable before the ship looses a connection to the KSC (#1464). CONTRIBUTORS THIS RELEASE (These are generated from records on Github of anyone who's Pull Requests are part of this release.) (Names are simply listed here alphabetically, not by code contribution size. Anyone who even had so much as one line of change is mentioned.) Stephan Andreev (ZiwKerman) https://github.com/ZiwKerman Bert Cotton (BertCotton) https://github.com/BertCotton Kevin Gisi (gisikw) https://github.com/gisikw Peter Goddard (pgodd) https://github.com/pgodd Steven Mading (Dunbaratu) https://github.com/Dunbaratu Eric A. Meyer (meyerweb) https://github.com/meyerweb Tomek Piotrowski (tomekpiotrowski) https://github.com/tomekpiotrowski Brad White (hvacengi) https://github.com/hvacengi Chris Woerz (erendrake) https://github.com/erendrake (repository owner) (name not public in github profile) (alchemist_ch) https://github.com/AlchemistCH (name not public in github profile) (tdw89) https://github.com/TDW89
  5. v0.18.2 Github KerbalStuff BREAKING CHANGES As usual, you MUST recompile all KSM files before running them on the new version. Some of the changes have altered how the VM works. Nothing else... we hope. NEW FEATURES Compatibility with KSP version 1.0.5 run once ... syntax to run a script only once per session ( http://ksp-kos.github.io/KOS_DOC/commands/files.html#run-once-program ) Volumes and processors have better integration ( http://ksp-kos.github.io/structures/vessels/volume.html#structure:VOLUME ) Volume titles default to the name tag of the Processor part (only on launch) ( http://ksp-kos.github.io/KOS_DOC/general/volumes.html#naming-volumes ) New suffixes for interacting with kOS Processor modules (including core) ( http://ksp-kos.github.io/KOS_DOC/commands/processors.html ) debuglog(...) function to print directly to the KSP log file ( http://ksp-kos.github.io/KOS_DOC/structures/misc/kuniverse.html#method:KUNIVERSE:DEBUGLOG ) New queue and stack data structures ( http://ksp-kos.github.io/KOS_DOC/structures/misc/queue.html and http://ksp-kos.github.io/KOS_DOC/structures/misc/stack.html ) BUG FIXES The processor's mode (on/off/starved) is now saved and restored ( #1172 ) Fixed stage resources again to address a change in KSP 1.0.5 ( #1242 ) Fix occasional instances of flight controls getting disabled during a docking/undocking/staging event ( #1205 ) kOS can now trigger module events with RemoteTech installed and no KSC connection (RemoteTechnologiesGroup/RemoteTech#437 ) Fixed handling of multiple thrust/gimbal transforms and corrected some of their directions ( #1259 )
  6. We appreciate you taking the time to share your craft/script and im sure it will help us improve the steering. I think that Dunbaratu is saying that in your post where you said you were getting "unreasonable behavior" you could have been more clear upfront. When you are operating on such narrow margins with such low control authority i am actually pleased as punch that the new steering got as close as it did. We will be making refinements to it over the next few patches and we hope that you continue to give feedback when you can think of improvements for our little mod.
  7. It would be helpful if you have a script and craft that can only work under the old system for us to test with. This is only the first version of the new system and there is surely work to do to improve it. We are interested in finding out why the new one may not be as good out of the box for some applications and find a way to improve it. All of my tests were very positive in the new system but i almost never fly spaceplanes. I dont think anyone who is active on the dev team is interested in including the old system. It was demonstratively broken in far too many situations.
  8. [h=2]Steering More Much Betterer[/h][h=3]Changes[/h] Changed default MaxStoppingTime to 2 seconds ( was 1 ) [h=3]BUG FIXES[/h] Fixed a issue where the effect of the Kd parameter of PIDLoop was having a reversed effect #1229 Fixes an issue where NO_FLOW resources ( eg SolidFuel ) were not reporting correctly #1231
  9. For your question. I simply have never tried it and we dont test for it. I think that having an advanced kOS part with 2 would be fun and useful. Do we have an open issue in github about it? if not would you mind creating one and we can put it in the roadmap
  10. Github https://github.com/KSP-KOS/KOS/releases/tag/v0.18.0 [h=3]BREAKING CHANGES[/h] As usual, you MUST recompile all KSM files before running them on the new version. Some of the changes have altered how the VM works. New LOADDISTANCE obsoletes the previous way it worked ( http://ksp-kos.github.io/KOS_DOC/structures/misc/loaddistance.html ) Fixed broken spelling of "ACQUIRE" on docking ports. The old spelling of "AQUIRE" won't work anymore. Changed the bound variable "SURFACESPEED" to "GROUNDSPEED" instead, as the meaning of "SURFACESPEED" was confusingly ambiguous. New arg/param matching checks make some previously usable varying argument techniques not work. (We don't think anyone was using them anyway). Disabled the ability to control vessels the kOS computer part is not actually attached to. This always used to be possible, but it shouldn't have been as it breaks the theme of kOS. This affects all the following: vessel:control, part:controlfrom, part:tag (can still get, but not set), partmodule:doaction, partmodule:doevent, partmodule:setfield (can still getfield). These things become read-only when operating on any vessel other than the one the executing kOS module is actually part of. [h=3]NEW FEATURES[/h] THE BIG ONE: Fix to Cooked Steering! Should help people using torque-less craft like with Realism Overhaul. Removed the old steering logic and replaced it with a nice auto-tuning system. ( #1118 ) SteeringManager structure to let users tweak parts of the new steering system ( http://ksp-kos.github.io/KOS_DOC/structures/misc/steeringmanager.html ) PIDLoop structure to let users see parts of the new steering system, and to let them use the built-in PID system for their own needs ( http://ksp-kos.github.io/KOS_DOC/structures/misc/pidloop.html ) String manipulation methods. ( http://ksp-kos.github.io/KOS_DOC/structures/misc/string.html) New Lexicon (Associateive Array) type. ( http://ksp-kos.github.io/KOS_DOC/structures/misc/lexicon.html ) New Science Experiment control interface allows scripts to directly execute science experiments, bypassing the on-screen prompts. ( http://ksp-kos.github.io/KOS_DOC/structures/vessels/scienceexperiment.html ) CrewMember API to let you query the registered crew - their class, gender, and skill (http://ksp-kos.github.io/KOS_DOC/structures/vessels/crewmember.html ) Infernal Robotics API now lets you get Part containing a servo ( #1103 ) (user docs) Better tutorial for KSP 1.0 areo mode. ( #1081 ) A few more constants: C, ATMTOKPA, KPATOATM. ( http://ksp-kos.github.io/KOS_DOC/math/basic.html ) DYNAMICPRESSURE, or Q ( #1085 ) DEFINED keyword ( http://ksp-kos.github.io/KOS_DOC/language/variables.html#defined ) Load and Pack Distance manipulation ( http://ksp-kos.github.io/KOS_DOC/structures/misc/loaddistance.html ) KUniverse structure letting you break the 4th wall and revert from a script ( http://ksp-kos.github.io/KOS_DOC/structures/misc/kuniverse.html ) Added SolarPrimeVector to provide universal longitude direction ( http://ksp-kos.github.io/KOS_DOC/bindings.html#solarprimevector ) [h=3]BUG FIXES[/h] Made stage:liquidfuel more sane. ( #513 ) LIST BODIES returned unusuable structure type ( #1090 ) Made "ORBIT" and alias for "OBT" and visa versa ( #1089 ) Made vecdraws stop showing bogus atmospheric burning effects ( #1108 ) Removed non-functional broken attempts to save/restore variables ( #1098 ) KSM files didn't store relative jumps right, breaking short-circuit boolean logic ( #1137 ) (user docs) many minor docs fixes. Lock throttle inside a FROM loop was broken ( #1117 ) Unlock anything inside a Trigger body was broken ( #1151 ) Replaced KSP's incorrect ground speed with our own calculation ( #1097 ) SASMODE "radialin" and "raidialout" were swapped in the KSP API ( #1130 ) Bug with remote tech allowing access without antenna in one case ( #1171 ) Wheelsteering by integer compass heading was broken ( #1141 ) SHUTDOWN didn't shut down immediately ( #1120 ) Remote Tech delay, and the wait command, were ignoring the time warp multiplier ( #723 ) Better detection of arg/param matching. ( #1107 ) Doing PRINT AT that runs offscreen threw an error ( #813 )
  11. We on the kOS team work on it exactly for this reason. We want it to be a tool for learning Thank you for your kind words and let us know if there is anything we can do to make it better!
  12. it sounds like you have two installs of kOS. maybe one inside of the other? it would be consistent with these errors
  13. @Kbyte have you turned on your RemoteTech (RT) integration in the config window?
  14. @Kbyte will you share your code? I'm not sure we can help you without it
  15. we have a known issue for the LIST..FROM..IN syntax. https://github.com/KSP-KOS/KOS/issues/620 but i think what you are looking for is "LIST ENGINES IN elist" that will give you the list of engines for the current craft.