mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-23 17:23:44 +08:00
Jenkins tuneup (#28095)
* tuneup * use service messages * logmono * not passive old-commit-hash: d5a0a4b3e8a52b5a0e1da325c15cdb99d2a71350
This commit is contained in:
@@ -16,11 +16,11 @@ class Proc:
|
||||
name: str
|
||||
power: float
|
||||
rtol: float = 0.05
|
||||
atol: float = 0.1
|
||||
atol: float = 0.12
|
||||
warmup: float = 6.
|
||||
|
||||
PROCS = [
|
||||
Proc('camerad', 2.15),
|
||||
Proc('camerad', 2.1),
|
||||
Proc('modeld', 0.93, atol=0.2),
|
||||
Proc('dmonitoringmodeld', 0.4),
|
||||
Proc('encoderd', 0.23),
|
||||
@@ -60,7 +60,7 @@ class TestPowerDraw(unittest.TestCase):
|
||||
manager_cleanup()
|
||||
|
||||
tab = []
|
||||
tab.append(['process', 'expected (W)', 'current (W)'])
|
||||
tab.append(['process', 'expected (W)', 'measured (W)'])
|
||||
for proc in PROCS:
|
||||
cur = used[proc.name]
|
||||
expected = proc.power
|
||||
|
||||
Reference in New Issue
Block a user