Skip to main content

Python package for visualizing OpenUSD based simulations (like NVIDIA Isaac Sim) with Rerun.io

Project description

Rerun.io logger for USD and NVIDIA Omniverse apps

Documentation PyPI

:construction: Development preview. Work in progress.

Usage examples:

Logging plain USD scene

rr.init("orange_example", spawn=True)
stage = Usd.Stage.Open("robot.usd"))
logger = UsdRerunLogger(stage)
logger.log_stage()

Logging Isaac Sim scene:

world = World()

rr.init()
logger = UsdRerunLogger(world.stage, path_filter=["!*BlackGrid*"])

while app_running:
    world.step()
    rr.set_time(timeline="sim", duration=sim_time)
    logger.log_stage()

Logging Isaac Lab environment:

rr.init()
logger = IsaacLabRerunLogger(env.scene)
while looping:
    env.step(action)
    rr.set_time(
        timeline="sim",
        duration=env.common_step_counter * env.step_dt,
    )
    logger.log_scene()

Logging Gymnasium environment:

env = gym.make("Isaac-Reach-Franka-v0", cfg=FrankaReachEnvCfg())
rr.init("franka_example", spawn=True)
env = LogRerun(env)
env.reset()
for _ in range(100):
    action_np = env.action_space.sample()
    action = torch.as_tensor(action_np)
    env.step(action)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usd_rerun_logger-0.3.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usd_rerun_logger-0.3.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file usd_rerun_logger-0.3.0.tar.gz.

File metadata

  • Download URL: usd_rerun_logger-0.3.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for usd_rerun_logger-0.3.0.tar.gz
Algorithm Hash digest
SHA256 14e80ecd34884f793a0a26a26af49f7623df62c8a1b6f3d6725a924a31c91b1b
MD5 4b6651c0df12cc22b2fda4acd2ba0a3b
BLAKE2b-256 ffa6d136e0ef99a86da9d4b3c7aee3b4b7c862f0a434054f91ce282cc009d9ae

See more details on using hashes here.

File details

Details for the file usd_rerun_logger-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for usd_rerun_logger-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a53e57b3f3336b79b4c0b3b88145b1857c04a95dc6fcba66377348719cc82533
MD5 0e01f3b63bc2b6287a729d121b18646c
BLAKE2b-256 3a7a0ab13134990734fcb849b2d8f070ef0125126e701cf796eff5d3d6be0af6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page