Repository navigation
Deprecate the Kit and Kit-based Isaac Sim paths - #9060
matthewtrepte merged 20 commits into
Conversation
maxkra15
left a comment
There was a problem hiding this comment.
Can we scope the livestream exception to this launch? It mutates the caller’s backend config, so reusing that config for a normal Kit launch skips the warning.
|
run-ci |
|
run-ci |
…kend enumeration from warning
|
run-ci |
…ad of mutating the caller's config
… the kernel ownership tests
|
run-ci |
…n the backend resolves to Kit
|
run-ci |
…-visualizer # Conflicts: # source/isaaclab_isaacsim/changelog.d/contact-material-randomization.added.rst # source/isaaclab_isaacsim/changelog.d/contact-material-randomization.fixed.rst # source/isaaclab_isaacsim/changelog.d/contact-material-randomization.minor # source/isaaclab_isaacsim/changelog.d/fix-gaussian-hdr.fixed.rst # source/isaaclab_isaacsim/changelog.d/jichuanh-scene-usd-exporter.added.rst # source/isaaclab_isaacsim/changelog.d/mass-matrix-armature.fixed.rst # source/isaaclab_isaacsim/pyproject.toml # source/isaaclab_newton/isaaclab_newton/renderers/newton_warp_renderer.py # source/isaaclab_tasks/isaaclab_tasks/core/lift/lift_env_cfg.py # source/isaaclab_tasks/isaaclab_tasks/utils/presets.py # uv.lock
|
run-ci |
|
@greptileai review |
|
|
||
| livestream = launcher_args.get("livestream", -1) | ||
| livestream = int(os.environ.get("LIVESTREAM", 0) if livestream is None or int(livestream) < 0 else livestream) | ||
| if kit_sources and not livestream and not launcher_args.get("xr", False): |
There was a problem hiding this comment.
XR environment still warns. Starting a Kit-backed run with
XR=1 but without --xr still emits this deprecation warning. KitLauncher._resolve_xr_settings honors that environment variable, but this check only reads the argument. That contradicts the promised XR exception and recommends replacements that do not support XR. Resolve XR from both sources before deciding whether to warn.
|
run-ci |
| * - **Kit** (deprecated) | ||
| - Deprecated in Isaac Lab 3.2 and removed in 3.3; use Viser instead |
There was a problem hiding this comment.
Kit removal date is wrong. The overview now lists Kit twice, and its deprecated row says removal is in 3.3. The Kit section below and the runtime warning both say 3.2. This gives readers an extra release to migrate that they will not actually have. Merge the two Kit rows and use the 3.1 deprecation / 3.2 removal dates; keep the existing Rerun schedule attached to Rerun.
|
run-ci |
Resolve the conflict with the new contact gain paragraph and point the friction combine mode reference at isaaclab_isaacsim, where PhysxRigidBodyMaterialCfg moved in isaac-sim#9060.
Description
Deprecates the Kit visualizer (
KitVisualizer,KitBackendCfg,--viz kit,viz:kit) for removal in 3.2. Creating one now emits aFutureWarningthat points to the replacements; behavior is unchanged. The replacements are the Newton GL visualizer for the interactive window, tracking cameras and RTX rendering (#9050, #9051), and the OVRTX renderer for Kit-free RTX rendering of sensor cameras.Livestreaming and XR still start Kit and have no replacement yet, so the visualizer does not warn there: the Kit launcher publishes them in the
/isaaclab/livestreamand/isaaclab/xr/enabledsettings, and the visualizer reads those at construction (no config is changed). The docs mark Kit as deprecated.The rest of the Kit path is deprecated here too:
isaaclab_physxis nowisaaclab_isaacsim(source/isaaclab_isaacsim), since it holds the Isaac Sim integration (PhysX physics, Isaac RTX rendering, app launch).import isaaclab_physxstill works through an alias that emits aFutureWarning, and everyisaaclab_physx.<submodule>resolves to the same module asisaaclab_isaacsim.<submodule>. The alias is removed in 3.2. Theisaaclab-physxpip distribution name is gone.isaaclab_isaacsimis the Kit path (app launch, Kit-based PhysX and Isaac RTX), so it is marked deprecated in 3.1 for removal in 3.2, in its docstring, README, docs and changelog. Launching Kit throughlaunch_simulationemits oneFutureWarninglisting why Kit is needed (for example Isaac Sim PhysX physics, the Kit visualizer); livestreaming and XR, which have no replacement yet, do not warn.isaacsim_physxandisaacsim_rtxkeep their names and behavior, but selecting them withphysics=,renderer=orpresets=(and the launcher'sphysics=) warns that they run on Kit and names the replacements (ovphysxornewton_mjwarp, andovrtxornewton_renderer).The warning points to features that #9050 and #9051 add, so those should merge before or with this one.
Follow-ups for the remaining Kit visualizer use cases
This PR only deprecates; it does not remove anything, so the use cases below keep working until 3.2. Follow-up PRs can cover them before removal:
origin_type/origin_track_path) in the scripts and tasks that still use it, such as Franka Pour and UR10 Particle Push, whose Kit environment-origin framing is not yet carried over.Use cases without a replacement yet
Found while tracing the Kit visualizer's users. These need a decision before removal in 3.2:
sim_launcher.py,simulation_context.py); warning suppressed.rizon_sharpa_coffee(CoffeeKitBackendCfg,kit_rendering.py),g1_terrain(prepare_viewcallsKitVisualizer.render_rgb_array()),franka_pourandur10_particle_push(Kit environment-origin framing).base_env_window.py) that reads Kit visualizer state.--viz kit:scripts/tutorials/07_visualizers,08_mpm,run_deformable_object.py,run_surface_gripper.py, the record-video how-to, and the Kit rendering tests.Type of change
Validation
source/isaaclab_visualizers/test/test_kit_visualizer_scene_partitioning.py,source/isaaclab/test/visualizers, andsource/isaaclab/test/sim/test_simulation_context_visualizers.py: 99 passed, including a new test that the warning is emitted and can be turned off.isaaclab_physxalias, the selector warnings and the Kit-launch warning.uv lock --checkpasses. The full suite has not been run locally; CI will cover it.ruff checkandruff format --checkon the changed files; the fullisaaclab --formathook run is still open.Checklist
pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there