Skip to content

Slight error in lift_env reward manager #34

Closed

Description

@adamwhats

https://github.com/NVIDIA-Omniverse/Orbit/blob/d75e7ff63bf08b558266d2eff42fd4db15d29d6b/source/extensions/omni.isaac.orbit_envs/omni/isaac/orbit_envs/manipulation/lift/lift_env.py#L399-L401

Looks like this missing the exp-kernel, assuming it should be something along the lines of:

  def reaching_object_position_exp(self, env: LiftEnv, sigma: float):
      """Penalize end-effector tracking position error using exp-kernel."""
      error = torch.sum(torch.square(env.robot.data.ee_state_w[:, 0:3] - env.object.data.root_pos_w), dim=1)
      return torch.exp(-error / sigma)

Activity

  1. Mayankm96 commented on Mar 7, 2023

    @Mayankm96
    Contributor

    Hi, yes this was an issue.

    I made a PR yesterday #33 that tunes the rewards for the lift environment to work with rsl_rl library. Haven't merged it yet. Need some time to tune it for rl_games and sb3 too.

  2. added
    bug
    on Mar 7, 2023
  3. adamwhats commented on Mar 7, 2023

    @adamwhats
    Author

    Great news, look forward to the merge!

  4. self-assigned this
    on Mar 10, 2023
  5. added a commit that references this issue on Oct 25, 2023
    64f810f
  6. added a commit that references this issue on Jul 1, 2026
    741994b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions