From 4ba964bb52337d7c181ed2555a49bfafe5e3002e Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Fri, 24 Feb 2017 10:32:07 +0100
Subject: [PATCH] write min-velocity for lookahead to json file

---
 VECTO/OutputData/JSONFileWriter.vb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/VECTO/OutputData/JSONFileWriter.vb b/VECTO/OutputData/JSONFileWriter.vb
index 4a4f3ab962..33225c4825 100644
--- a/VECTO/OutputData/JSONFileWriter.vb
+++ b/VECTO/OutputData/JSONFileWriter.vb
@@ -308,7 +308,8 @@ Public Class JSONFileWriter
 						{"DF_offset", driver.Lookahead.CoastingDecisionFactorOffset},
 						{"DF_scaling", driver.Lookahead.CoastingDecisionFactorScaling},
 						{"DF_targetSpeedLookup", dfTargetSpeed},
-						{"Df_velocityDropLookup", dfVelocityDrop}})
+						{"Df_velocityDropLookup", dfVelocityDrop},
+						{"MinSpeed", driver.Lookahead.MinSpeed.AsKmph}})
 		End If
 
 		'Overspeed / EcoRoll
-- 
GitLab