mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
use iterator to loop over first 1000 entries (#2359)
old-commit-hash: 47dfa524565301969db32ab2bee4b089d985e87d
This commit is contained in:
@@ -49,7 +49,7 @@ if __name__ == "__main__":
|
||||
|
||||
if sm.updated['thermal']:
|
||||
t = sm['thermal']
|
||||
last_temp = np.mean([t.cpu0, t.cpu1, t.cpu2, t.cpu3]) / 10.
|
||||
last_temp = np.mean(t.cpu)
|
||||
last_mem = t.memUsedPercent
|
||||
|
||||
if sm.updated['procLog']:
|
||||
|
||||
Reference in New Issue
Block a user