Prepared for playback engine
This commit is contained in:
14 files changed
+955
-189
No files matched your search
@@ -42,6 +42,10 @@ class ValueBuffer:
|
||||
for timestamp, signal_id, value in self._samples
|
||||
]
|
||||
|
||||
def sort(self) -> None:
|
||||
with self._lock:
|
||||
self._samples.sort(key=lambda sample: sample[0])
|
||||
|
||||
def export_csv(self) -> str:
|
||||
with self._lock:
|
||||
samples = list(self._samples)
|
||||
|
||||
Reference in new issue
Block a user