Added throttle, inclination, and thrust to the CSV output.
[VOID.git] / VOID_DataLogger.cs
blob:a/VOID_DataLogger.cs -> blob:b/VOID_DataLogger.cs
--- a/VOID_DataLogger.cs
+++ b/VOID_DataLogger.cs
@@ -323,15 +323,18 @@
 						"\"Surface Longitude (°)\"," +
 						"\"Apoapsis Altitude (m)\"," +
 						"\"Periapsis Altitude (m)\"," +
+						"\"Orbital Inclination (°)\"," +
 						"\"Orbital Velocity (m/s)\"," +
 						"\"Surface Velocity (m/s)\"," +
 						"\"Vertical Speed (m/s)\"," +
 						"\"Horizontal Speed (m/s)\"," +
+						"\"Current Thrust (kN)\"," +
 						"\"Gee Force (gees)\"," +
 						"\"Temperature (°C)\"," +
 						"\"Gravity (m/s²)\"," +
 						"\"Atmosphere Density (g/m³)\"," +
 						"\"Downrange Distance  (m)\"," +
+						"\"Main Throttle\"," +
 						"\n"
 					);
 				}
@@ -372,6 +375,10 @@
 				line.Append(VOID_Data.oribtPeriAlt.Value.ToString("G3"));
 				line.Append(',');
 
+				// Orbital Inclination
+				line.Append(VOID_Data.orbitInclination.Value.ToString("F3"));
+				line.Append(',');
+
 				//Orbital velocity
 				line.Append(VOID_Data.orbitVelocity.Value.ToString("F3"));
 				line.Append(',');
@@ -388,6 +395,10 @@
 				line.Append(VOID_Data.horzVelocity.Value.ToString("F3"));
 				line.Append(',');
 
+				// Current Thrust
+				line.Append(VOID_Data.currThrust.Value.ToString("G3"));
+				line.Append(',');
+
 				//gee force
 				line.Append(VOID_Data.geeForce.Value.ToString("F3"));
 				line.Append(',');
@@ -406,6 +417,10 @@
 
 				// Downrange Distance
 				line.Append((VOID_Data.downrangeDistance.Value.ToString("G3")));
+				line.Append(',');
+
+				// Main Throttle
+				line.Append(VOID_Data.mainThrottle.Value.ToString("P2"));
 
 				line.Append('\n');