debug velocity computation

adists_release
Theophile Terraz 2024-07-16 16:44:20 +02:00
parent 90272fa444
commit 295ceaa702
2 changed files with 1 additions and 5 deletions

View File

@ -141,10 +141,6 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
# Translate
self._trad = MainTranslate()
# Results
self._last_solver = None
self._last_results = None
# UI
self.ui = loadUi(
os.path.join(os.path.dirname(__file__), "ui", "MainWindow.ui"),

View File

@ -88,7 +88,7 @@ class TableModel(PamhyrTableModel):
return f"{v:.4f}"
elif self._headers[column] == "speed":
q = self._lst[row].get_ts_key(self._timestamp, "Q")
z = self._lst[row].get_ts_key(self._timestamp, "Q")
z = self._lst[row].get_ts_key(self._timestamp, "Z")
v = self._lst[row].geometry.speed(q, z)
return f"{v:.4f}"