Skip to content

Instantly share code, notes, and snippets.

@YannBerthelot
Last active August 23, 2020 15:18
Show Gist options
  • Save YannBerthelot/84ce8b8ec67357f3b32c09e2e58a8bc6 to your computer and use it in GitHub Desktop.
Save YannBerthelot/84ce8b8ec67357f3b32c09e2e58a8bc6 to your computer and use it in GitHub Desktop.
States and actions definition
def states(self):
return dict(type="float", shape=(4,))
def actions(self):
return {
"thrust": dict(type="int", num_values=6)
"theta": dict(type="int", num_values=16)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment