mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-01 06:07:08 +00:00
Update observation space bounds of LunarLander environment. (#378)
Co-authored-by: n3011 <mrinal.haloi11@gmail.com>
This commit is contained in:
@@ -288,8 +288,8 @@ class LunarLander(gym.Env, EzPickle):
|
|||||||
# these are bounds for position
|
# these are bounds for position
|
||||||
# realistically the environment should have ended
|
# realistically the environment should have ended
|
||||||
# long before we reach more than 50% outside
|
# long before we reach more than 50% outside
|
||||||
-1.5,
|
-1.5 * SCALE * 2,
|
||||||
-1.5,
|
-1.5 * SCALE * 2,
|
||||||
# velocity bounds is 5x rated speed
|
# velocity bounds is 5x rated speed
|
||||||
-5.0,
|
-5.0,
|
||||||
-5.0,
|
-5.0,
|
||||||
@@ -304,8 +304,8 @@ class LunarLander(gym.Env, EzPickle):
|
|||||||
# these are bounds for position
|
# these are bounds for position
|
||||||
# realistically the environment should have ended
|
# realistically the environment should have ended
|
||||||
# long before we reach more than 50% outside
|
# long before we reach more than 50% outside
|
||||||
1.5,
|
1.5 * SCALE * 2,
|
||||||
1.5,
|
1.5 * SCALE * 2,
|
||||||
# velocity bounds is 5x rated speed
|
# velocity bounds is 5x rated speed
|
||||||
5.0,
|
5.0,
|
||||||
5.0,
|
5.0,
|
||||||
|
Reference in New Issue
Block a user