mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-20 23:53:44 +08:00
boardd: add debug flag for injecting SPI errors (#32346)
* pull out ll first * errors --------- Co-authored-by: Comma Device <device@comma.ai>
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