[Examples] Kerbal Space Program integration #1064

Closed
akhenry opened this Issue Jun 30, 2016 · 1 comment

Projects

None yet

3 participants

@akhenry

It would be great to be able to display telemetry from Kerbal Space Program. There are plugins for KSP (such as https://github.com/richardbunt/Telemachus/) that enable telemetry to be streamed from KSP via web sockets and other means.

This would be great both as an example for developers of how to integrate with a real-time data source, but also for the purposes of demonstrating Open MCT in presentations, etc.

@akhenry akhenry added the help wanted label Jun 30, 2016
@larkin
NASA member

I few developers I have talked with have looked into https://github.com/KSP-Telemachus/Telemachus as it provides a websocket for real-time telemetry from kerbal. It's a good starting point for any integration.

With that plugin, we'd need to write a telemetry provider to expose telemetry streams for objects using the Telemachus websocket API. Additionally, we'd need an object provider to expose telemetry objects for all of the API strings as documented here: https://github.com/KSP-Telemachus/Telemachus/wiki/API-String

Down the road it would be great if the Telemachus API can enumerate all all of the API strings it supports (perhaps as a hierarchy of vehicles -> parts -> measurements) so that we can expose even more data.

I've commented in KSP-Telemachus/Telemachus#59 noting that it would be nice to load the dictionary in one go.

@larkin larkin referenced this issue in KSP-Telemachus/Telemachus Aug 22, 2016
Open

Support requesting a whole dict at a time #59

@hudsonfoo hudsonfoo pushed a commit to hudsonfoo/openmct that referenced this issue Aug 27, 2016
David Hudson [Examples] Add Kerbal Space Program as telemetry source
Resolves issue #1064. Used example code from Telemetry tutorial and
converted for use by Kerbal Space Program's Telemachus plugin.

Note that websockets in Telemachus are non-operational (see
KSP-Telemachus/Telemachus#74). The HTTP
API was used instead, polling every second.
a7080ca
@VWoeltjen VWoeltjen added a commit that referenced this issue Aug 30, 2016
@VWoeltjen VWoeltjen [README] Add link to KSP plugin
Add link to David Hudson's Kerbal Space Program plugin from #1146,
along with other information about Examples relevant in that context.

Resolves #1064
3a25704
@VWoeltjen VWoeltjen added unverified and removed help wanted labels Aug 30, 2016
@akhenry akhenry closed this in #1160 Sep 1, 2016
@VWoeltjen VWoeltjen removed the unverified label Sep 19, 2016
@larkin larkin added the help wanted label Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment