Skip to content

Commit c18827e

Browse files
committed
add test agent
1 parent 7b7e8b4 commit c18827e

5 files changed

Lines changed: 1 addition & 1 deletion

File tree

124 KB
Loading
73.9 KB
Loading
1.17 MB
Binary file not shown.
900 KB
Binary file not shown.

challenge/iros_real_world/sdk/test_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_agent(cfg_path=None, obs=fake_obs_256):
3232

3333
agent = AgentClient(cfg.agent)
3434
for _ in range(10):
35-
action = agent.step(obs)[0]['action']
35+
action = agent.step(obs)[0]
3636
print(f"Action taken: {action}")
3737
assert action in [0, 1, 2, 3]
3838

0 commit comments

Comments
 (0)