Skip to content

Dynamic viewport #2313

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 2 commits into
base: main
Choose a base branch
from
Open

Conversation

burgern
Copy link

@burgern burgern commented Apr 15, 2025

Description

These changes only apply for the case where: viewer.origin_type = "asset_root"

Allows for:

  • Viewer origin tracking: Track origin not only w.r.t. position, but also w.r.t. orientation. Choose which axis to track. Example: viewer_origin_tracking = ViewerOriginTracking(x=True, y=True, z=True, pitch=False, roll=False, yaw=True)
  • Allow eye / lookat to be callable, time-dependent functions. Example: viewer.eye = lambda t: (7.5, 7.5, 7.5 - 0.1 * t) # slowly zooms in over time

Type of change

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

Screenshots

Please attach before and after screenshots of the change if applicable.

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

nburger-bdai and others added 2 commits April 15, 2025 14:35
* Add viewer_origin_tracking and callable eye, lookout

* Fix accessing episode_length_buf during initialization

* Update imports

* Update reviews

---------

Co-authored-by: nburger <[email protected]>
@burgern burgern changed the title Dev/dynamic viewport Dynamic viewport Apr 15, 2025
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.

2 participants