Page 1 of 67 1231151 ... LastLast
Results 1 to 10 of 666

Thread: [0.23.5] (2014-5-3) Telemachus – Telemetry and Flight Control in the Web Browser

  1. #1
    The Doomed Moderator Rich's Avatar
    Join Date
    Mar 2012
    Location
    England
    Posts
    933

    [0.23.5] (2014-5-3) Telemachus – Telemetry and Flight Control in the Web Browser

    Once the Telemachus data link part is installed...



    ...you can connect to a telemetry source using your web browser, to obtain several visualisations...



    ...and then combine them to construct your own mission control. In the image below we have an example of such a setup:


    From left to right you have: Atmospheric density chart, KSP (obviously), Altitude chart, and a g-force chart on the tablet perched on the shelf. The following screen shots show more Telemachus features.




    Figure 1 - Send basic commands to your vessels



    Figure 2 - MechJeb2 integration



    Figure 3 - Kerbal Maps integration


    Download Telemachus


    Links

    Installation Instructions
    User Guide
    API Documentation
    Source Code
    Credits
    Licence (BSD)
    Last edited by Rich; 14th May 2014 at 06:37.

  2. #2
    The Doomed Moderator Rich's Avatar
    Join Date
    Mar 2012
    Location
    England
    Posts
    933
    Given the forums imploded and my original thread has been lost, I am going to write a post about the current state of development and where this project is heading.

    Firstly the latest update was a long time coming because I needed to rewrite much of Telemachus to change the way it operated under the hood. In the previous version all the code was implemented in the part proper and cycled on and off with the creation and deletion of the part. In the newest version, the server is initialised as a Mono Behaviour and stays on for the duration that the game is running. This is better for two reasons: 1 it means that you now do not need to refresh the page when you move to a new active vessel or restart a flight and 2, it paves the way for acquiring telemetry from multiple ships simultaneously.

    The second major change in the latest release was the addition of flight control, which has opened up some interesting possibilities for cooperative play. Recently I conducted an "across Internet" test to determine its viability, it was working well with the game running on my computer and with the ship being controlled by the other party in a remote location (I suspect it was in fact transatlantic) until I realised that some idiot engineer had superglued the Telemachus part to the pre-circularisation stage. Therefore remote control of the vessel was lost when this stage was jettisoned.

    In addition to this the right click menu has been extended to report information about the status of the data link which can be seen in the picture below.


    This information includes, the data rate, the power consumption of the part (this is related to the data rate), a button to open your default web browser to the Telemachus information page, and a button to toggle the link on and off given there is a new Telemachus part made by Fusty with an animation representative of the current state.

    So what is next on the agenda? Well I have now unlocked the the web server so it can serve pages written by anyone, I have so far seen some exciting stuff created by users with far more web skills than myself. I hope to see what people can come up with, and to help with this I will be focusing on extending and improving the API. Unfortunately there is no support for loading images from within the plugin (you can host them elsewhere of course).

    In terms of experimental work, now that the flight control element is well underway I have plans to stream images from the MechJeb Hull Camera and plot longitude and latitude on a map backdrop. The former does have a working proof of concept, which is shown in the image below.


  3. #3
    Very impressive work.

    interesting possibilities for cooperative play.
    Please do tell us more about these possibilities and where you think this is going.

  4. #4
    Hi there!
    Just wondering if you can help me. Using your mod me and some others are doing a 'Mission Control' style thing. We've port forwarded port 8080, and have access to other ships' data. However, we occasionally lose connection; the telemetry part stops sending data (both antennae do not work). Any advice is appreciated.
    Thanks,
    Hedz.

    PS We do have power and we do have an internet connection.

  5. #5
    The Doomed Moderator Rich's Avatar
    Join Date
    Mar 2012
    Location
    England
    Posts
    933
    Quote Originally Posted by Meatsauce View Post
    Very impressive work.



    Please do tell us more about these possibilities and where you think this is going.
    You force one player to IVA mode and you relay instructions to him using the Telemachus data via Skype.

    Quote Originally Posted by hedzup456 View Post
    Hi there!
    Just wondering if you can help me. Using your mod me and some others are doing a 'Mission Control' style thing. We've port forwarded port 8080, and have access to other ships' data. However, we occasionally lose connection; the telemetry part stops sending data (both antennae do not work). Any advice is appreciated.
    Thanks,
    Hedz.

    PS We do have power and we do have an internet connection.
    This is a known bug. Unfortunately I suspect it is a concurrency issue so it is proving difficult to track down (and reproduce), in fact I am working on a potential fix for it right now.

  6. #6
    Great, thanks for the info!
    Can I slip in a little feature request? Being able to monitor resource levels would be really useful for our RLMCC.
    Thanks,
    Hedz

  7. #7
    I hate to sound like an idiot, but I can't seem to access the telemachus information on another computer. Could you perhaps give instructions for connecting over the internet to someone else's information?

  8. #8
    Banned
    Join Date
    Aug 2012
    Location
    Crimea
    Posts
    145
    Thank you for your awesome plugin. Just tried it with my friend via internet, and it worked nicely. Would you be so kind to create a page with text data only, or at least to provide a sample page so we can make it on our own in a way we want?

    Found a bug: when you start a flight, Telemachus Antenna animation shows that it's already unfolded, while it's says 'disabled'. Then you enable it, and it folds down.

  9. #9
    The Doomed Moderator Rich's Avatar
    Join Date
    Mar 2012
    Location
    England
    Posts
    933
    Quote Originally Posted by hedzup456 View Post
    Great, thanks for the info!
    Can I slip in a little feature request? Being able to monitor resource levels would be really useful for our RLMCC.
    Thanks,
    Hedz
    I have just release another update to the SpacePort which hopefully fixes the stability issues, fingers crossed. Don't hesitate to let me know if it still happens, this is a bug I definitely want to see the back of.

    As for resource information, that is already a planned feature since it is somewhat vital for achieving the goals of this plugin

    Quote Originally Posted by Andellmere View Post
    I hate to sound like an idiot, but I can't seem to access the telemachus information on another computer. Could you perhaps give instructions for connecting over the internet to someone else's information?
    The instructions will depend on the router you have, but the general topic research is "port forwarding". Essentially, you will need to configure your router so that it forwards one of its external ports to the IP (and port) of the internal computer you are running KSP on.


    Quote Originally Posted by macegee View Post
    Thank you for your awesome plugin. Just tried it with my friend via internet, and it worked nicely. Would you be so kind to create a page with text data only, or at least to provide a sample page so we can make it on our own in a way we want?

    Found a bug: when you start a flight, Telemachus Antenna animation shows that it's already unfolded, while it's says 'disabled'. Then you enable it, and it folds down.
    Tables of data is also a planned feature . Thanks for the bug report, it is probably a persistance issue which I havent accounted for.

    For the 1.3.0.0 update, the main additions were a few more API calls, bug fixes and an improved skin based on jquery-ui.


  10. #10
    Does this run a server on localhost or your IP?(Asking because I've been warned 2 times by my ISP to stop hosting servers.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •