Skip to content

Commit 611dfb5

Browse files
committed
debug for checker
1 parent 2454e28 commit 611dfb5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

msb.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
print("Error in response")
6969

7070
action = response_dict["action"]
71-
timestep_new = env.step(action)
71+
timestep_new, in_danger = env.step(action)
7272
if timestep_new is None:
7373
continue
7474
timestep = timestep_new
@@ -85,3 +85,4 @@
8585
break
8686

8787
print("\n\nReward:", timestep_new.curr_rew)
88+
print("\nDanger: ", in_danger)

0 commit comments

Comments
 (0)