Jump to content

[1.12.x] Kerbal Telemetry


yagiziskirik

Recommended Posts

Kerbal Telemetry - Now Standalone!

version-2.4.0-blue Licence-MIT-green 2023 badge.svg CKAN-Indexed-green.svg

Telemetry addon for Kerbal Space Program. The program uses a server that is running on the KSP side and a client which is capable of running both the KSP side computer or any other one over a web browser. This means you can connect to the server from any device which is capable of running it over a web browser by entering your server computer's local address and selected port from the interface (default 8000), for example: http://192.168.1.104:8000.

logo.gif

Download Links

Report Issue

Features

  • Real-time sync with the KSP.
  • Accessible over the LAN.
  • Full-featured 3D Kerbin map with real pinpoints on it.
  • Real-time attitude indicator.
  • Target name, distance and speed.
  • Real-time telemetry data.
  • Controlling the vessel from the interface. (Will be fixed on oncoming updates)
  • Staging from the interface. (Will be fixed on oncoming updates)
  • Cool animation when you reach the orbit (when executed from the interface).
  • Multi-language support (English, Russian, Japanese, Turkish, Ukrainian, Chinese, French, Spanish).
  • General information about KSP, spaceship and many more.
  • A brand new module to attach to the spacecraft.

Translations

If you see any problems or if you want to translate the program to your language, please contact me from my Github page.

Russian - MekoNix
Japanese - MekoNix
Ukrainian - MekoNix
Turkish - yagiziskirik
English - yagiziskirik
Chinese - Auto-translated
French - Auto-translated
Spanish - Auto-translated

Dependencies

  • None!

Setup

  • Export files to GameData folder as a folder named "KerbalTelemetry".
  • Done!
Please be aware of that naming is quite important for mod to work correctly. Make sure you have `Kerbal Space Progam/GameData/KerbalTelemetry` folder and you need to have `KerbalTelemetry.dll`, `Textures`, `WebServer` and `Parts` files in KerbalTelemetry folder.

Usage

1.png

  • You need to unlock "Engineering 101" tech tree to use the mod in Career mode.

2.jpg

3.jpg

  • Then add Kerbal Telemetry Computer to your spacecraft.

5.png

  • Click to the toolbar icon to open up user interface.

4.png

  • Select a port (or use default 8000) and start the server via the corresponding button.
  • Connect to your computer's local IP address and defined port (or localhost if you are using the same computer) on your browser on your device preferably from another computer or from which KSP is installed (ex. localhost:8000 or 127.0.0.1:8000 or 192.168.1.102:8000). If you don't know how to find the local IP address, you can follow this link for more information.

On the top bar you can see:

  • Spacecraft name
  • Mission time after the take-off
  • Speed
  • Altitude
  • Apogee
  • Perigee
  • Inclination

On the first page (Spacecraft Information):

Github-5.png

  • External Values page will show you the Location and Atmosphere information.

Github-4.png

  • Orbit Information page will show the orbit information.

Github-3.png

  • Spacecraft Information page will show information about the spacecraft.

Github-1.png

  • Temperature Values will give information about the temperature.

On the second page (Telemetry):

Github-2.png

  • You can see the charts after you take-off to the point you reach 90km from the sea level (FL900).
  • Also it shows some current values of the spacecraft.

On the third page (Command & Control):

Github-6.png

  • You will see the extended details about the target.
  • You can see the flight panel control panel.
  • Flight Commands which ables you to command the spacecraft from the web interface.

On the final page (Settings):

Github-7.png

  • You can select the language of the interface.
  • You can select refresh rate and chart refresh rate.

On the bottom bar:

  • Current stage information
  • Stage Now button which initiates the next stage
  • Current planet
  • Current real-time
  • Whether you have communication
  • Initials of the target
  • Target speed / target distance

Usage is very simple. Start the game. When you start a flight, activate telemetry plugin from toolbar. You will see the charts will refresh when you are airborne and below 90,000 meters.

Special Thanks

I would like to thank @MekoNix, @Aebestach, @Genhis and @NguyenAirlines for their contribution and ideas.

License

Spoiler

MIT License

Copyright (c) 2021 Yağız Işkırık

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

 

Edited by yagiziskirik
Adding the MIT License
Link to comment
Share on other sites

14 hours ago, Kerosene42 said:

Looks great! RasterPropMonitor support when?

It already supports it, as a matter of fact, if you have seen the following video, this mod is the Telemachus alternative!

Since the program is accessible from outside the KSP, there is not much to implement to the RPM mod.

 

12 hours ago, Provisional Name 43 said:

Any showcases of the newest version?

The pictures are up-to-date with the current version. If I can create myself more free time, I would like to create a video showcase for the mod. But you guys are welcome to do it if you want to :)

Link to comment
Share on other sites

  • 1 month later...
On 11/14/2022 at 4:51 AM, Grenartia said:

This might be useful in helping diagnose a stock bug I'm encountering. I'm curious, can this produce graphs for multiple craft simultaneously?

Hi @Grenartia,

Unfortunately in the current version of the mod, it cannot produce multiple graphs for multiple spacecraft. But it is a good functionality though, I will keep that in mind.

But I am curious about the bug you've mentioned, I would like to dive into it, if it is something that I can fix.

Link to comment
Share on other sites

12 hours ago, yagiziskirik said:

Hi @Grenartia,

Unfortunately in the current version of the mod, it cannot produce multiple graphs for multiple spacecraft. But it is a good functionality though, I will keep that in mind.

But I am curious about the bug you've mentioned, I would like to dive into it, if it is something that I can fix.

I posted about it here: https://forum.kerbalspaceprogram.com/index.php?/topic/210229-orbital-decay-bug/

Link to comment
Share on other sites

  • 2 weeks later...
27 minutes ago, henrylzy said:

Great mod! I'm just wondering if you could make the module works with other parts(antennas, command pods, etc), since now it seems the module only works with the part comes with this mod.

Easy enuff... *possibly*... :)
Try copy/pasting the MODULE{} & RESOURCE{} sections of the cfg, into whatever *other* part config of the part you want to enable this for.

If that doesnt work, then there may be something part-specific hard-coded into the plugin... (I *hope* thats not the case)

Link to comment
Share on other sites

14 minutes ago, Stone Blue said:

Easy enuff... *possibly*... :)
Try copy/pasting the MODULE{} & RESOURCE{} sections of the cfg, into whatever *other* part config of the part you want to enable this for.

If that doesnt work, then there may be something part-specific hard-coded into the plugin... (I *hope* thats not the case)

It might be in the code or something(I have no idea how modding for KSP works so can't be sure). Tried MM patch first, doesn't work. Then added the module by hand, doesn't work either.

Edited by henrylzy
Link to comment
Share on other sites

On 11/8/2022 at 4:20 PM, yagiziskirik said:
Please be aware of that naming is quite important for mod to work correctly. Make sure you have `Kerbal Space Progam/GameData/KerbalTelemetry` folder and you need to have `KerbalTelemetry.dll`, `Textures`, `WebServer` and `Parts` files in KerbalTelemetry folder.
 

Is the mod actually looking for "Kerbal Space Program"?  From what I can see in the code, it isn't.

Assuming this, it might be better to say:

The KerbalTelemetry folder must be in the GameData directory, and the following files need to be in the KerbalTelemetry folder:

  • KerbalTelemetry.dll
  • Textures
  • WebServerParts

Pretty neat mod, congrats

 

Edit:  Having a part name hardcoded isn't really a great idea, especially when it's using a custom part module.  Might be better to replace this line:

if (part.name.Contains("KerbalTelemetryComputationalUnit")) returnVal = true;

with something like:

if (part.HasModuleImplementing<KTComputer>())

This way someone can add the module to a different part if desired.

Edited by linuxgurugamer
Link to comment
Share on other sites

On 11/8/2022 at 4:20 PM, yagiziskirik said:

activate telemetry plugin from toolbar. You will see the charts will refresh when you are airborne and below 90,000 meters.

The telemetry page isn't working for me, doesn't get any data for the charts.  Current Values shows current data, but the charts don't populate.

This is on Chrome and on Firefox, both accessing localhost

The other three pages do work, although the buttons to control the flight don't seem to do anything

 

On Chrome, the globe displays, but the labels aren't shown.

On Firefox, the labels are shown 

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 1 month later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...