Skip to content

Commit 1b22cb8

Browse files
authored
Replace one occurrence Swimmer by Walker2d in Walker2d docstring (#1525)
1 parent 5a0119c commit 1b22cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gymnasium/envs/mujoco/walker2d_v5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Walker2dEnv(MujocoEnv, utils.EzPickle):
8282
Every timestep that the Walker2d is alive, it receives a fixed reward of value `healthy_reward` (default is $1$),
8383
- *forward_reward*:
8484
A reward for moving forward,
85-
this reward would be positive if the Swimmer moves forward (in the positive $x$ direction / in the right direction).
85+
this reward would be positive if the Walker2d moves forward (in the positive $x$ direction / in the right direction).
8686
$w_{forward} \times \frac{dx}{dt}$, where
8787
$dx$ is the displacement of the (front) "tip" ($x_{after-action} - x_{before-action}$),
8888
$dt$ is the time between actions, which depends on the `frame_skip` parameter (default is $4$),

0 commit comments

Comments
 (0)