Skip to content

Commit

Permalink
Update humanoidstandup_v5.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Dec 30, 2024
1 parent c511994 commit bd46812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gymnasium/envs/mujoco/humanoidstandup_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ class HumanoidStandupEnv(MujocoEnv, utils.EzPickle):
A reward for moving up (trying to stand up).
This is not a relative reward, measuring how far up the robot has moved since the last timestep,
but an absolute reward measuring how far up the Humanoid has moved up in total.
It is measured as $w_{uph} \times \frac{z_{after-action} - 0}{dt}$,
where $z_{after-action}$ is the z coordinate of the torso after taking an action,
It is measured as $w_{uph} \times \frac{z_{after\_action} - 0}{dt}$,
where $z_{after\_action}$ is the z coordinate of the torso after taking an action,
and $dt$ is the time between actions, which depends on the `frame_skip` parameter (default is $5$),
and `frametime`, which is $0.01$ - so the default is $dt = 5 \times 0.01 = 0.05$,
and $w_{uph}$ is `uph_cost_weight` (default is $1$).
Expand Down

0 comments on commit bd46812

Please sign in to comment.