Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Documentation improvements in HumanoidStandup #1284

Merged
merged 4 commits into from
Jan 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gymnasium/envs/mujoco/humanoidstandup_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ 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 (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`.
and $w_{uph}$ is `uph_cost_weight` (default is $1$).
- *quad_ctrl_cost*:
A negative reward to penalize the Humanoid for taking actions that are too large.
$w_{quad\_control} \times \|action\|_2^2$,
Expand Down
Loading