Add WASM binding for mj_compile.

It does not support model assets management via VFS yet.

PiperOrigin-RevId: 844864882
Change-Id: I422d7896ed024fc6f5c3fa923a58cdc9059f3bee
This commit is contained in:
Google DeepMind
2025-12-15 11:56:41 -08:00
committed by Copybara-Service
parent eef71832db
commit 477a14dcb2
4 changed files with 46 additions and 1 deletions
+1 -1
View File
@@ -64,7 +64,6 @@ _SKIPPED_PLUGIN_FUNCTIONS: tuple[str, ...] = (
# Functions that are bound as class methods
_SKIPPED_CLASS_METHODS: tuple[str, ...] = (
# go/keep-sorted start
"mj_compile",
"mj_copyData",
"mj_copyModel",
"mj_copySpec",
@@ -192,6 +191,7 @@ _SKIPPED_UTILITY_FUNCTIONS: tuple[str, ...] = (
# These functions are not bound automatically but are written by hand instead.
MANUAL_WRAPPER_FUNCTIONS: tuple[str, ...] = (
# go/keep-sorted start
"mj_compile",
"mj_saveLastXML",
"mj_setLengthRange",
"mju_error",