Skip to content

Commit 6e8227a

Browse files
fix documentation of car-racing continuous argument (#1338)
Co-authored-by: Mark Towers <[email protected]>
1 parent 9e2b3cb commit 6e8227a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: gymnasium/envs/box2d/car_racing.py

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

0 commit comments

Comments
 (0)