tcannonfodder / houston

Mission Control for Kerbal Space Program
48 stars 5 forks source link

Rewrite Telemachus datalink to use web sockets instead of AJAX requests #4

Open tcannonfodder opened 8 years ago

tcannonfodder commented 8 years ago

This is a major overhaul to Houston's backend (maybe 1.5/2.0?), but could have a number of performance and usability improvements:

It's worth looking into and seeing what the effect is and how feasible it is

gitanat commented 8 years ago

Have you considered using kRPC instead of Telemachus? The documentation is great, and the author is very responsive. There's a development version with websocket support at https://github.com/krpc/krpc-core/issues/15

tcannonfodder commented 8 years ago

Hey there!

kRPC looks super awesome, I'm just not sure it's the right fit for Houston. Houston's designed more for "read only" access on mission control's side, relying on the pilot to execute maneuvers (this makes communication a crucial part of the mod).

I've been maintaining my own fork of Telemachus to add features and support, and I saw your post about somehow linking kRPC and Telemachus. A long-term goal is to redesign Telemachus' API, so linking to external services might be part of that. :) For now though, I think Houston will continue to use Telemachus.