Add mj_loadUSD function. Change simulate to use that instead of manual spec compilation.

PiperOrigin-RevId: 780608874
Change-Id: I333238c756fe76b371518a7cdf9452b93da3540a
This commit is contained in:
Sam Haves
2025-07-08 10:03:02 -07:00
committed by Copybara-Service
parent e507e31922
commit 14972d2490
8 changed files with 121 additions and 48 deletions
+1
View File
@@ -202,6 +202,7 @@ if(MUJOCO_BUILD_EXAMPLES)
endif()
if(MUJOCO_WITH_USD)
target_compile_definitions(mujoco PUBLIC mjUSEUSD)
add_subdirectory(src/experimental/usd)
endif()