Skip to content

Commit 1a9f53d

Browse files
unk obs
1 parent 6c4647c commit 1a9f53d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

blob

Submodule blob updated 1 file

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ async function main(){
130130
const min_action = parameters.dynamics.action_limit.min
131131
const max_action = parameters.dynamics.action_limit.max
132132
return get_state()["rpm"].map(x => (x - min_action) / (max_action - min_action) * 2 - 1)
133+
default:
134+
console.error("Unknown observation: ", obs)
135+
return null
133136
}
134137
}
135138
const observation_description = document.getElementById("observations").observation

0 commit comments

Comments
 (0)