Kerbal Telemetry - Now Standalone!

Kerbal Telemetry - Now Standalone!

11.7k Downloads

Charts and no animation for orbit

h3nt41c0m1c5 opened this issue · 4 comments

commented

Charts seem to not display anything, staging within the website isn’t working, and no orbit animation either

commented

Hi @h3nt41c0m1c5,

As you can see in the features section of the Readme file, orbit animation and staging features are currently not working and will be fixed in the upcoming updates.

As for the charts, there is a sentence in the usage section:

You can see the charts after you take-off to the point you reach 90km from the sea level (FL900).

So charts only work during the takeoff to show you the power and trajectory of the spacecraft. If you start it for the stationary spacecraft to the ones in orbit (or basically outside the 90km range from the sea level), charts shouldn't be working. If it is not working as intended or if you have further suggestions, you can always inform me about the situation 😊

For the remaining features; I started with utilizing the MechJeb mod in order for those features to work at the beginning of the project, but I decided to make the Kerbal Telemetry standalone (separate from Python), and fully functional with the stock KSP without any requirements. I would need to create a brand new way to get spacecraft to orbit or make some adjustments to the existing mods (with permission, of course) in order to make those features work.

Since currently I don't have much time to spend on the project as I stated in #22, as soon as I become available, I will add back those features. Thank you for letting me know!

commented

I really appreciate the opportunity and was going to accept the chance to contribute. Unfortunately my pc just took a dive for the worst so I'm not gonna be able to work on this in the near future. If it happens to still need the fix by the time I get my new cpu I would love to contribute the change. Otherwise, I'll just have to contribute some other time on another feature in the future!

commented

Just wanted to add that I downloaded this plugin for the first time and love what you've built! Mine also failed to update the charts which is the primary reason I want to use this plugin. After messing around with the code a bit I got the charts to work though I feel like it was a bit of a work around more so than a fix. It is the if statement at line 663 in the Class1.cs file

if (time >= interpolationPeriod)

It seems time is typically a number like 0.05 while interpolationPeriod is the value 5, which is preventing the data to be added to the time series / temp json files. I just removed the if statement in my build and seems to work now, but feel like that interpolation period probably serves an important purpose. I never have worked or built a ksp mod before, so this was a fun exercise for me to explore the code and see how it all works. Very neat project!

commented

Hi @tkdavis,

The code is all over the place right now, because this is my first KSP project too! I think the interpolationPeriod was linked to something, but it is 3:24 in the morning and I don't quite remember why I put it there 🥲 (although I am pretty sure it was there to prevent something from happening)

I will rewrite the entire project with the next update with tons of new features, including the orbit animation. I am thinking about releasing maybe a couple of minor fixes during that time, I think I should include the orbit animation fix the way you propose. If you want to contribute to the project, you are more than welcome to do so!