mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first * errors --------- Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: 2d838f95dabb0229dba01cd585d852e7ca5d47ff
This commit is contained in:
@@ -21,5 +21,5 @@ if __name__ == "__main__":
|
||||
|
||||
if len(ts[s]) > 2:
|
||||
d = np.diff(ts[s])
|
||||
print(f"{s:25} {np.mean(d):.2f} {np.std(d):.2f} {np.max(d):.2f} {np.min(d):.2f}")
|
||||
print(f"{s:25} {np.mean(d):7.2f} {np.std(d):7.2f} {np.max(d):7.2f} {np.min(d):7.2f}")
|
||||
time.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user