File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -52,26 +52,6 @@ def main():
52
52
print (f"[INFO]: Gym action space: { env .action_space } " )
53
53
# reset environment
54
54
env .reset ()
55
-
56
- outs = env .unwrapped .get_IO_descriptors
57
- out = outs ["observations" ]
58
- out_actions = outs ["actions" ]
59
- # Make a yaml file with the output
60
- import yaml
61
-
62
- with open ("obs_descriptors.yaml" , "w" ) as f :
63
- yaml .safe_dump (outs , f )
64
-
65
- for k , v in out_actions .items ():
66
- print (f"--- Action term: { k } ---" )
67
- for k1 , v1 in v .items ():
68
- print (f"{ k1 } : { v1 } " )
69
-
70
- for k , v in out .items ():
71
- print (f"--- Obs term: { k } ---" )
72
- for k1 , v1 in v .items ():
73
- print (f"{ k1 } : { v1 } " )
74
- exit (0 )
75
55
# simulate environment
76
56
while simulation_app .is_running ():
77
57
# run everything in inference mode
You can’t perform that action at this time.
0 commit comments