Skip to content

Add debug_viz_z height for UniformVelocityCommand #2312

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

burgern
Copy link

@burgern burgern commented Apr 15, 2025

Description

We want to improve the visualization of velocity commands. Specifically, it adjusts the vertical offset of the command display for certain robots, raising it above the default height of 0.5 to avoid overlapping with humanoid heads.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@burgern burgern changed the title Add debug_viz_z height for UniformVelocityCommand (#89) Add debug_viz_z height for UniformVelocityCommand Apr 15, 2025
@@ -81,6 +81,9 @@ class Ranges:
ranges: Ranges = MISSING
"""Distribution ranges for the velocity commands."""

debug_vis_z: float = 0.5
"""Height at which the visualizer gets set (w.r.t. root_pos_w)."""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's recommended to always state the default values in docstrings.

Suggested change
"""Height at which the visualizer gets set (w.r.t. root_pos_w)."""
"""Height at which the visualizer gets set (w.r.t. root_pos_w). Defaults to 0.5 m."""

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also change some of the humanoid examples to make sure this flag is getting used properly? (Also to fix it over there)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants