RL Harness Behavior and Changelog updates

This commit is contained in:
J-Doiron
2024-12-13 15:46:48 -08:00
parent 86650655b8
commit 07eb161936
2 changed files with 4 additions and 7 deletions

View File

@@ -136,13 +136,9 @@ def run_benchmark():
user.press("enter")
time.sleep(1)
result = kerasService.look_for_word("saved", attempts=10, interval=1)
if not result:
logging.info("Couldn't find the saved replays tab. Check settings and try again.")
sys.exit(1)
gamepad.single_press(button=vg.XUSB_BUTTON.XUSB_GAMEPAD_RIGHT_SHOULDER)
time.sleep(1)
if kerasService.look_for_word(word="captures", attempts=10, interval=1):
gamepad.single_press(button=vg.XUSB_BUTTON.XUSB_GAMEPAD_RIGHT_SHOULDER)
time.sleep(1)
if kerasService.wait_for_word(word="watch", timeout=60, interval=0.5) is None:
logging.error("Didn't navigate to the saved replays correctly. Check menu options for any anomalies.")