Add Go1 evaluation and keyboard control

This commit is contained in:
youyuan.chen
2026-07-24 12:00:53 +08:00
parent c1b347c89f
commit 35a1d278e8
21 changed files with 443 additions and 1 deletions

View File

@@ -58,6 +58,9 @@ class BaseGauge:
elif name == 'joystick':
self.goals.append(JoystickGoal(robot_cfg.commands, **kwargs))
log_str += f" - Joystick Goal: {kwargs}\n"
elif name == 'keyboard':
self.goals.append(KeyboardGoal(robot_cfg.commands, **kwargs))
log_str += f" - Keyboard Goal: {kwargs}\n"
else:
raise NotImplementedError(f"Goal '{name}' is not implemented in BaseGauge.")
self.info['goal'].append(name)