fix documentation of car-racing continuous argument (#1338)

Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
This commit is contained in:
Vilém Pech
2025-04-02 20:24:26 +00:00
committed by GitHub
parent 9e2b3cbd4e
commit 6e8227a30b

View File

@@ -165,8 +165,8 @@ class CarRacing(gym.Env, EzPickle):
* `domain_randomize=False` enables the domain randomized variant of the environment. * `domain_randomize=False` enables the domain randomized variant of the environment.
In this scenario, the background and track colours are different on every reset. In this scenario, the background and track colours are different on every reset.
* `continuous=True` converts the environment to use discrete action space. * `continuous=True` specifies if the agent has continuous (true) or discrete (false) actions.
The discrete action space has 5 actions: [do nothing, left, right, gas, brake]. See action space section for a description of each.
## Reset Arguments ## Reset Arguments