ARCLab-MIT / kspdg

ARCLab-MIT participation in the KSPDG challenge
MIT License
4 stars 0 forks source link

Install Kaptain Logs #2

Closed vrodriguezf closed 11 months ago

vrodriguezf commented 11 months ago

Kaptain's log: https://forum.kerbalspaceprogram.com/topic/165482-112x-the-kaptains-log/

For some reason installing CKAN does not allow me to do it because a depenndant mod (ProgressBar) is not compatible with our KSP version at all. Maybe installing manually? Related to #1

OhhTuRnz commented 11 months ago

The mod appears to work, or at least the HUD, I'm going to check right now what logs i can extract. It appears to be an issue with another mod, which support ended its life before KSP1 did, and isn't supported on 1.13.5 version (which is the one we're playing for the agents) but you can force install it using CKAN, thing is the UI of CKAN can be a bit tricky so i will post some pics. First of all, we are going to download the dependency, called progress bar: image For it, we will double click on it and swipe to the list of versions and double click on 11.0 and this message pops up, click install. image Then, get back to kaptain's logs page and click to versions another time and double click the latest one. image Finally, we click on apply changes and confirm. image

OhhTuRnz commented 11 months ago

This my be interesting when missions succeed, but during the hello world mission logs were a bit poor and the logs that were saved on csv were when i had to reset the mission and the vessel was destroyed. test.csv

vrodriguezf commented 11 months ago

Thank you Alejandro. Can you reupload the test.csv file with the headers? I want to know what each of the columns mean.

OhhTuRnz commented 11 months ago

Sure, test.csv

vrodriguezf commented 11 months ago

Is that the raw file that the mod produces? I see weird things like:

Anyway, the most important thing is that this log, unlike KSP data export, logs asynchronous events. In principle, that is less interesting to us because it does not provide a continuos stream of data the agent can operate with. However, if there were events that were relevant for the behaviour of the agent we might consider. I only see two events here: "Revert", and "Vessel destroyed". I can understand the latter (was there a collision between the two objects?", but I don't know what the meaning of the first one is.

OhhTuRnz commented 11 months ago

I spotted these weird things too, datetimes use the same separator as the CSV file does breaking it. I'm sending the desired output: image

vrodriguezf commented 11 months ago

Are there any other events that can be captured?

OhhTuRnz commented 11 months ago

That's all i think, I'm sending a screenshot of all the possibilities in the menu. image

PD: I'm a master of edit

vrodriguezf commented 11 months ago

Thank you @OhhTuRnz . If there's no way to log throttle events, it's more practical to record keyboard based agents as in #8

vrodriguezf commented 11 months ago

Closing

OhhTuRnz commented 11 months ago

Thank you @OhhTuRnz . If there's no way to log throttle events, it's more practical to record keyboard based agents as in #8

Yes, it seems like a better option. I added some CSV parser to the human agent if u want to check on it.