Jump to content

baloan

Members
  • Posts

    74
  • Joined

  • Last visited

Reputation

5 Neutral

Profile Information

  • About me
    Astrogator

Recent Profile Visitors

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

  1. From what I've learned from the current version of kOS let me run my idea of how to organize library code by you. A set of library files, like nodes.ks function aponode { parameter altitude. local myvar is 1. ... }. function perinode { parameter altitude. ... }. function exenode { ... }. and mission.ks run loadfuncs. run aponode(100). run exenode(). will require to preload the functions in loadfuncs.ks: run nodes. // more library files to be added Makes sense or are there better solutions recommended?
  2. When I have a file foo.ks with function aponode { }. function exenode { }. how do I access those functions from mission.ks? aponode(). exenode().
  3. There is a working example of getting the "Surveyor 1.craft" to orbit in the kRPC directory at https://github.com/baloan/mt-krpc
  4. I like the way reference frames are designed. It is so much more explicit and cleaner than in kOS. Fun to work with.
  5. Two more things: 1. Also I noted the connect() call has features - like using a different IP address - which are not documented. 2. the krpc namespace has functions - like get_status() - which are not documented. Please add to the github.io manual. NB: working on migrating my mission toolkit from http://kos.wikia.com/wiki/Mission_toolkit_v3
  6. The documentation tells about a streaming port. Some time there was a post about how to add_stream(getattr ... ). add_stream is nowhere documented, though. Is it still required?
  7. ANN: mission toolkit v3 published (together with a submission to the Kerbal Automated Mission Challenge) What makes the scripts stand out: 1. all maneuver nodes - including intraplanetary transfers - are _calculated_. No long running encounter finding, 2. super accurate node runner (usually gets orbit altitudes correct down to 0.1%), 3. inclination maneuvers calculated using vector calculus, 4. staging and trajectory code separated. The script and craft files are available here: http://kos.wikia.com/wiki/Mission_toolkit_v3 Videos available here
  8. I'd like to make two submissions: 1. Kerbin-Mun round-trip, and a 2. Kerbin-Minmus round-trip. What makes the scripts stand out: 1. all maneuver nodes - including intraplanetary transfers - are _calculated_. no long running encounter finding, 2. super accurate node runner, 3. inclination maneuvers calculated using vector calculus. The script and craft files are available here: http://kos.wikia.com/wiki/Mission_toolkit_v3 Kerbin - Mun round trip. Sorry, no commentary. Kerbin - Minmus round trip. Sorry, no commentary.
  9. What do you think about monthly releases? 12.2p1 has been published on May 21st and I see fixes and changes accumulating on github. In order to have some transparency and consistency with release naming I suggest: 1. only fix bugs between a 12.2* and the final 12.2 release. 2. put new features in the next release 12.3 branch. Does it make sense?
  10. I am looking for commands to end a program. The use case looks like this: declare parameter name. if ship:vesselname <> name { print "WARNING! This script maybe incompatible.". print "Designed to work with '" + name + "'". print " Current ship '" + ship:vesselname + "'". // end program } Is there an existing solution? Otherwise I want to open a ticket to add an "end" command.
  11. My mission toolkit here contains the exenode subprogram which does exactly what you are looking for.
  12. Anyone knows a way/mod to display a latitude/longitude grid on a planet or moon? Or to have an enhanced mouse cursor that displays latitude/longitude next to the mouse cursor? I am looking for a way to visually select latitude/longitude of a landing zone for my lander.
  13. That sounds like a good start. Sooner or later there will be breaking changes in the protocol. It is a wise move to add some kind of versioning when the connection is negotiated. That way client library migration can be done independently. It's not a cure but it lessens the pain.
  14. Anyone knows a way/mod to display a latitude/longitude grid on a planet or moon? Or to have an enhanced mouse cursor that displays latitude/longitude next to the mouse cursor? I am looking for a way to visually select latitude/longitude of a landing zone for my lander.
×
×
  • Create New...