Browse Source

Shift everything to "velocity" instead of "speed" in SCCD train code

Yentl Van Tendeloo 6 years ago
parent
commit
7f7cd0ec6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      exported_to_sccdxml/run_train.py

+ 1 - 1
exported_to_sccdxml/run_train.py

@@ -134,7 +134,7 @@ class SimulationGUI(Tk):
         
         if self.train is not None:
             self.train.velocity += self.train.acceleration / 2
-            self.label_speed.config(text="Speed: %.2f" % self.train.velocity)
+            self.label_speed.config(text="Velocity: %.2f" % self.train.velocity)
             self.travelled_x += float(self.train.velocity) / 20
             delta_x = -int(self.travelled_x - self.travelled_x_int)
             self.travelled_x_int = int(self.travelled_x)