Results

Logomatic

The Logomatic logs information about your craft and its environment to a CSV file.

Overview

The Logomatic is like a “black box” for your rocket. Several useful pieces of information are logged to a CSV file for each mission:

- Mission time
- Altitude
- Latitude and longitude
- Speed
- Acceleration
- Terrain elevation
- Atmospheric density
- Atmospheric pressure
- Temperature

Because it is stored in a CSV file, this information can be analysed using third-party software like Excel, Surfer, etc.

CHANGE LOG

2012/01/20: Uploaded new version with longitudes constrained to [-180,180).

Installation





Addon Installation Guide

 

How to install Addons in KSP:

Installing addons in KSP is as simple as moving files into their appropriate folders. This guide explains which folders hold each type of addon, and how to locate them. Keep in mind that Addon packages may contain any combination of addon types. These instructions are meant only as a generic guide.

 

Finding the KSP Main Folder.

The first step to installing an addon is to locate the KSP folder in your computer. This is where KSP keeps all of its files, including your game saves and screenshots. The KSP folder is located where you unzipped it when you first downloaded the game.

The KSP Folder contains the following subfolders:

KSP root folder

NOTE: On OSX, the KSP_Data folder does not exist. (Its equivalent lives inside the App package)

 

Installing Part Addons

Parts are all contained inside KSP/Parts. Each part has its own subfolder in the Parts folder:

The Parts Folder

To install new parts, extract the part folders from the downloaded package into the KSP/Parts folder.

 

Installing Craft Addons

Craft files are saved ships created in the game. These files can be placed in a few different folders:

KSP/Ships

In KSP/Ships, you will find separate subfolders for the different construction facilities in the game. The VAB folder, for instance, holds craft files that are editable on the Vehicle Assembly Building in game, and launched from a Launch Pad. Similarly, the SPH folder holds craft files that are editable in the Spaceplane Hangar Facility, and launched from the Runway.

Craft files placed in a subfolder of KSP/Ships will be available to all saved games. Ships placed here are considered to be "Stock",. They won´t be overwritten directly if edited, and cannot be deleted from inside the game.

KSP/saves/"playername"/Ships

It is also possible to make craft files available to only one saved game:

Each game started creates its own folder in KSP/Saves. Each save has its own Ships folder, which is organized in the same way as the common Ships folder above. Craft files placed in one of the subfolders are only visible when playing the corresponding game, and can be overwritten and deleted. Ships created while playing the corresponding game are also saved in these folders.

 

Installing Scenarios and Training Addons

The KSP/Saves folder contains the training and scenarios subfolders. SFS files in the training subfolder are listed in the Training section of the Main Menu in the game, and files in the scenarios subfolder are visible in the Scenarios section of the menu.

To install scenarios and training missions, extract the SFS files from the downloaded package into the appropriate subfolder.

 

Installing Plugins

The KSP/Plugins folder holds the DLL files for plugin-powered addons. These plugins extend the funcionality of the game, adding new part types, or new missions.

To install a plugin, extract the DLL files from the downloaded package into the KSP/Plugins folder.

 

Installing Internal Models

Some addons add new internal spaces and objects. Those are installed in the KSP/Internals folder.

Props

Props are objects that can be added into internal spaces, like cockpit gauges or cabin decorations. Each internal prop has its own folder in KSP/Internals/Props:

Spaces

Spaces are the internal models that are associated with parts. Each internal space has its own folder in KSP/Internals/Spaces:

 

To install internal props and spaces, extract the folders from the downloaded package into the appropriate subfolder.

 

 

How to use

The Logomatic can be found in the "Science" tab in the VAB. 1. Add the Logomatic to your rocket. 2. Right-click on the Logomatic in-flight to bring up the interface. 3. Choose a measurement rate (real time, not mission time). 4. Click the "Enable Logging" button to begin logging. CSV files are stored in the "PluginData/logomatic" folder, named according to the date and time at the start of the mission.



Comments

9 Comments for “Logomatic”

  1. Finally, you are the first person to release a data logger that actually stores the data in a useful format. THANKS!!!!!!!!!!!!

    mcirish3 January 18, 2013
  2. Oh, crwper, thanks SO MUCH for finally releasing this properly! :D

    I saw your original posts on Reddit a couple of weeks ago, but was unable to thank you back then, since I’m no Redditor. However, I played quite a bit with the v1.0 of the Logomatic, and enjoyed every second of it!…

    And now, I just stumbled upon your Eve mapping post…. my jaw dropped. Kudos, and thanks again! Keep it up.

    Enture January 18, 2013
  3. Thought I’d copy-paste some instructions I wrote on producing contour maps using this data. The results can be seen in this imgur album:

    http://imgur.com/a/IHEgz

    First, you’ll need to download the Surfer 11 Demo version here:

    http://www.goldensoftware.com/products/surfer/surfer.shtml

    KSP doesn’t seem consistent about the range of the longitude measurement. In a future Logomatic version, I’ll clean this up automatically, but for the moment I do it manually in Excel:

    1. Open the CSV file in Excel.

    2. In cell AA2, enter the formula “=MOD(N2+3600-180,360)-180″.

    3. Copy this cell all the way down column AA, to the bottom of your recorded data.

    4. Copy the data in column AA, and paste it into column N using the “Paste Values” option.

    5. Delete column AA and save the CSV file.

    The CSV file is almost the same as it was before, except that longitudes will always be in the range [-180, 180).

    What you have now is a file that, among other things, contains a disorganized list of (latitude, longitude, elevation) points. The next step is to turn these points into a regular grid. That's one of the things Surfer does.

    1. Open Surfer.

    2. In the Grid menu, choose Data.

    3. Locate your CSV file, and click "Open".

    4. In the options dialog, set the X, Y, and Z drop-downs to the "vessel.longitude", "vessel.latitude", and "vessel.terrainAltitude" columns.

    5. Set the X Direction range to [-180, 180] and the Y Direction range to [-90, 90], then adjust the number of nodes in each direction to your desired resolution. For my maps, I used 1800 nodes in the X Direction and 900 nodes in the Y Direction. However, this only works well if you’ve recorded quite a few points with small gaps.

    6. Click OK.

    This should generate a Surfer GRD file. Next, you want to produce a map. In Surfer, this is a separate task from the one you’ve just done.

    1. From the menu, choose Map, then New, then 3D Surface.

    2. Locate the GRD file you just created.

    3. Select the new Map (the top layer) in the Object Manager. In the Property Manager, change to the Scale tab. You’ll want to change the Z Scale (Map units per in.) to something around 100000, so the heights aren’t so crazy.

    4. Change to the View tab in the Property Manager. Change the Rotation to 0, Tilt to 90, and Field of view to 1. This will square up the map with your view, and eliminate most of the perspective. Someone who’s more familiar with Surfer can probably tell us how to do this without messing with a 3D Surface, but this is how I did it.

    Now you’ve got a nice colour map. You can change the colour scale by choosing the 3D Surface in the Object Manager, changing to the General tab, and changing the Upper Material Colour.

    Finally, for detailed maps you may want to add contours.

    1. Select the Map again in the Object Manager.

    2. From the menu, choose Map, then Add, then Contour Layer.

    3. Again, locate your GRD file.

    That’s it. The default contours are pretty good, but you can fiddle with the properties by selecting the new Contour layer in the Object Manager, then making adjustments in the Property Manager.

    Hope this helps! It’s not nearly as easy as it is with ISA MapSat–this is more like real-world GIS–but the additional effort means you can produce a really professional looking map.

    crwper January 18, 2013
  4. Any chance you could post a link to the forum or Reddit post on this?

    mcirish3 January 19, 2013
  5. crwper January 19, 2013
  6. Hi,

    I really like your plugin. I have made some changes to it: output filename is saved when exiting a flight, so you can resume collecting data to the same file when resuming a flight; output filename can be specified in the popup dialog; a small optimisation with data output.

    I can’t find your contact to send you these changes for a review.

    Cheers,

    Marko

    bozho May 2, 2013
  7. its awesome to actually collect data with this mod. You made my day. A couple of suggestions though.

    To clear up confusion on the documents, can you have a line which tells you which sphere of influence I am in.

    Also when graphing the coordinates the graph has the longitude where the latitude’s axis should be and vice versa. is it possible to be programed so the location of those two data lines are in a place where it is easy to drag over the two and make a chart that is oriented correctly.

    Finally what is the max rate it can plot data? I tried doing 100 plots per second but it showed up like 10 plots per second.

    THANKS FOR MAKING THIS

    calvin salacain August 14, 2013
  8. Hi !

    I can’t find the logomatic thingy in the science tab. The plugin is loading correctly at startup though.

    Any hint ?

    Benache October 4, 2013
  9. After a few researches, I understood it was not compatible with the new format for mods.

    So i took the liberty to make a new version of it. No new function, just compatibility.

    http://kerbalspaceport.com/logomatic-2/

    Benache October 6, 2013

Leave a comment

You must be registered to comment or login now.