Usama_man Posted November 13, 2021 Share Posted November 13, 2021 How's KSP doing all its math to calculate parameters like Altitude, Velocities and LAT,LONG. I mean where the IMU and GPS sensors are implemented in KSP. I am unable to find the directory containing these sensor implementation. Quote Link to comment Share on other sites More sharing options...
steuben Posted November 13, 2021 Share Posted November 13, 2021 Buried deep in the code itself. There isn't a directory/file for such things Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted November 13, 2021 Share Posted November 13, 2021 The calculations are not publicly accessible, but you can get their values from objects that are: https://kerbalspaceprogram.com/api/class_vessel.html Quote Link to comment Share on other sites More sharing options...
jamesharp2233 Posted Wednesday at 01:39 PM Share Posted Wednesday at 01:39 PM It's in the code itself and hard to find. there will be specific problems with this. When I was working on one project, I couldn’t do anything with the calculation, I have problems with mathematics. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.