Capture mjs_attach error message in the Python bindings.

PiperOrigin-RevId: 682409212
Change-Id: I391ee48626e7dcd985f65a231370ef5ec16124d7
This commit is contained in:
Alessio Quaglino
2024-10-04 12:18:36 -07:00
committed by Copybara-Service
parent 3091665c16
commit 6e66cafe76
8 changed files with 68 additions and 3 deletions
+3
View File
@@ -1526,6 +1526,9 @@ MJAPI mjsMaterial* mjs_addMaterial(mjSpec* s, mjsDefault* def);
// Get spec from body.
MJAPI mjSpec* mjs_getSpec(mjsBody* body);
// Get spec from frame.
MJAPI mjSpec* mjs_getSpecFromFrame(mjsFrame* frame);
// Find body in spec by name.
MJAPI mjsBody* mjs_findBody(mjSpec* s, const char* name);