Jump to content

Cleese

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Cleese

  1. Sure! I think that it is even possible to get telemachus working over the internet (controlling your ship from work, I must try that ) if you redirect the port! Nope, Telemachus is a KSP plugin and it runs inside KSP, so KSP needs to run. I can't wait for the 0.90 update! I can't fly without my ruby REPL using websockets lol
  2. Parsing with regexp, I also commited that sin... What a nightmare! Thanks for looking into that!
  3. Hi Rich, first of all congratulations for this awesome plugin! I'm using the websocket API to connect Telemachus and some Ruby scripts. All works fine except when I try a one-time command ({"run":["command"]}) with more than one argument (like in "mj.surface" or "mj.surface2"). I tried {"run":["mj.surface[0,1]"]} and Telemachus stops sending data (subscriptions) and it doesn't even send back the 'confirmation' message. {"run":["mj.surface[]"]} and {"run":["mj.surface[1]"]} returns the {"mj.surface[]":0} and {"mj.surface[1]":0} confirmation message, and the subscriptions keep coming after that. (Obviously MechJeb does nothing with those uncomplete commands.) For what I understand in your websocket API wiki page in github (https://github.com/richardbunt/Telemachus/wiki/Web-Socket-API) the "mj.surface[0,1]" syntax is correct so what I'm doing wrong? Thanks again for your awesome work!
×
×
  • Create New...