We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc9c1e commit 3d6f3c0Copy full SHA for 3d6f3c0
roboverse_pack/callback_funcs/humanoid/reward_funcs.py
@@ -11,7 +11,7 @@
11
12
def track_lin_vel_xy(env: EnvTypes, env_states: TensorState, std: float) -> torch.Tensor:
13
"""Reward tracking of linear velocity commands (xy axes) in the gravity aligned robot frame using exponential kernel."""
14
- # extract the used quantities (to enable type-hinting).
+ # extract the used quantities (to enable type-hinting)
15
robot_state = env_states.robots[env.name]
16
base_quat = robot_state.root_state[:, 3:7]
17
base_lin_vel = quat_rotate_inverse(base_quat, robot_state.root_state[:, 7:10])
0 commit comments