mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-17 20:39:12 +00:00
fix documentation of car-racing continuous argument (#1338)
Co-authored-by: Mark Towers <mark.m.towers@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user