Created
September 17, 2019 09:45
-
-
Save PierreExeter/6049a49fe5f8ee3138ab91aa57211840 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# define the number of buckets for each state value (x, x', theta, theta') | |
buckets = (1, 1, 6, 12) | |
# define upper and lower bounds for each state value | |
upper_bounds = [ | |
env.observation_space.high[0], | |
0.5, | |
env.observation_space.high[2], | |
math.radians(50) | |
] | |
lower_bounds = [ | |
env.observation_space.low[0], | |
-0.5, | |
env.observation_space.low[2], | |
-math.radians(50)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment