Skip to main content

isaaclab-selecting-backends

Selects and validates Isaac Lab physics and rendering backends. Use when choosing PhysX, Newton, or OvPhysX, adding backend presets, comparing backend behavior, or debugging backend-specific simulation, randomization, sensor, or renderer issues.

معلومات المصدر

المستودع
isaac-sim/IsaacLab
آخر نشاط في المصدر
٢٩ سبتمبر ٢٠٢٦ في ١٦:٥٠
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٨٬٣١٦
التفرعات
٣٬٩٤٣

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
3 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
isaaclab-selecting-backends
description
Selects and validates Isaac Lab physics and rendering backends. Use when choosing PhysX, Newton, or OvPhysX, adding backend presets, comparing backend behavior, or debugging backend-specific simulation, randomization, sensor, or renderer issues.
audience
user
status
experimental
owners
["isaaclab-maintainers"]
# Selecting Backends ## When To Use Use this skill when a user needs to choose, configure, compare, or debug Isaac Lab physical backends or renderer-related behavior. Do not use this skill to duplicate backend reference material. Link to the backend architecture, backend and preset selector, schema cfg docs, and source examples for current configuration details. If the user is converting or validating a specific USD asset for Newton, use `isaaclab-preparing-assets-for-newton`. ## Workflow 1. Identify the target backend: PhysX, Newton, OvPhysX, or a task that must support multiple backends through presets. 2. Read the physics-backends concept, backend architecture, backend and preset selector, and schema cfg docs before editing backend configs. 3. Start with the backend that best matches the source task or current maintained example. Use PhysX first when matching Isaac Gym behavior. 4. Add backend presets only after the task runs on one backend. 5. Map simulation parameters through public cfg schemas instead of copying old simulator-specific keys. Import universal schema fragments and base cfgs from `isaaclab.sim.schemas`, PhysX-specific cfgs from `isaaclab_physx.sim.schemas`, and Newton or MuJoCo cfgs from `isaaclab_newton.sim.schemas`. 6. Check backend support for sensors, randomization events, terrain, contacts, and actuators before enabling them. 7. Separate backend-specific differences using `PresetCfg` or existing preset helpers rather than runtime conditionals scattered through task code. 8. Use suffixless task names in backend smoke-test and training commands. 9. Validate each backend with a small reset/step rollout before training. 10. For backend architecture changes, resolve shared native runtimes through `SimulationContext.get_or_create_backend(...)` instead of copying state between consumers. 11. Document intentional behavior differences, especially around contacts, randomization timing, CPU/GPU data paths, and renderer requirements. ## Validation Use this checklist: 1. Run a small reset/step smoke test on the primary backend. 2. Run the same smoke test on each selected backend before training. 3. Compare observation shape, action shape, reset behavior, and contact behavior. 4. Check randomization events for backend-specific support and device assumptions. 5. Run short training only after each selected backend passes its smoke test. For skill changes, run: ```bash uv run --no-project python tools/skills/cli.py check ``` ## Maintenance Keep this skill synchronized with `docs/source/concepts/physics_backends.rst`, `docs/source/concepts/backend_architecture.rst`, `docs/source/concepts/backends_and_presets.rst`, `docs/source/concepts/schema_cfgs.rst`, and backend-aware task examples under `source/isaaclab_tasks/isaaclab_tasks/`. If backend docs are incomplete, improve the docs rather than expanding this skill into a backend reference. ## References - [Evaluations](evaluations.md) - [Examples](examples.md) - [Prepare assets for Newton skill](../prepare-assets-for-newton/SKILL.md) - [Physics backends](../../../docs/source/concepts/physics_backends.rst) - [Backend architecture](../../../docs/source/concepts/backend_architecture.rst) - [Backends and presets](../../../docs/source/concepts/backends_and_presets.rst) - [Renderers, including asynchronous rendering](../../../docs/source/concepts/renderers.rst) - [Schema cfgs](../../../docs/source/concepts/schema_cfgs.rst) - [Installation](../../../docs/source/setup/installation/index.rst) - [Task examples](../../../source/isaaclab_tasks/isaaclab_tasks)
عرض على GitHub