This commit is contained in:
Adeeb Shihadeh
2025-09-11 11:06:36 -07:00
parent 60112b74b7
commit 93f8e78281
2 changed files with 18 additions and 1 deletions

16
Jenkinsfile vendored
View File

@@ -120,6 +120,14 @@ pipeline {
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
])
}
}
@@ -141,6 +149,14 @@ pipeline {
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
["test", "cd tests/hitl && pytest --durations=0 2*.py [8-9]*.py"],
])
}
}

View File

@@ -19,13 +19,14 @@ def test_harness_status(p, panda_jungle):
for ignition, orientation in itertools.product([True, False], [Panda.HARNESS_STATUS_NC, Panda.HARNESS_STATUS_NORMAL, Panda.HARNESS_STATUS_FLIPPED]):
print()
p.set_safety_mode(CarParams.SafetyModel.elm327)
continue
panda_jungle.set_harness_orientation(orientation)
panda_jungle.set_ignition(ignition)
# wait for orientation detection
time.sleep(0.25)
continue
# here bad
health = p.health()
detected_orientation = health['car_harness_status']