Alessio Quaglino
25e4d75a07
Return attached body/frame in mjs_attachBody/Frame.
...
PiperOrigin-RevId: 679601525
Change-Id: Icdc4616808e14bf0a3ebc17d89392382d084c31b
2024-09-27 08:34:00 -07:00
Alessio Quaglino
6a415da267
Make from_file() and from_string() classmethod functions.
...
This prevents the user from modifying an mjSpec and then calling the functions to load it from string/file.
PiperOrigin-RevId: 679311284
Change-Id: I4f1ae3cc8f15bece245f624303470d538deec410
2024-09-26 15:16:10 -07:00
Nimrod Gileadi
86ea1e498c
Update pillow dependency used in tests to 10.3.0.
...
PiperOrigin-RevId: 679114607
Change-Id: I5729d5ce1baff02cdf1caa8124ef46b2b17b85b5
2024-09-26 05:53:41 -07:00
Alessio Quaglino
5bca7876c4
Update spec.from_string() and spec.from_file() to match the respective mjModel functions.
...
PiperOrigin-RevId: 678230403
Change-Id: I7f3d8c5fd44d30b5695eee1f8513cc27f4158d94
2024-09-24 06:57:20 -07:00
Alessio Quaglino
b5bcc91a03
Add bindings generation for mjOption, mjVisual, and mjStatistic.
...
Fixes #2076 .
PiperOrigin-RevId: 677789263
Change-Id: Ie1bda40af62c5ac9bbba541668a50adfc59d3f7c
2024-09-23 07:43:09 -07:00
Alessio Quaglino
0ba11b9623
Add plugins list to mjSpec Python API.
...
Fixes #2061 .
PiperOrigin-RevId: 677762985
Change-Id: I8e407373e7b505d9b0f1c023e97c5ea92169bbf6
2024-09-23 06:13:42 -07:00
Taylor Howell
6c7e1095c5
Add mjsPlugin and mjsOrientation related keyword argument support for mjSpec Python bindings.
...
PiperOrigin-RevId: 676412967
Change-Id: I8cc1bfcc443327fde33246981400b375f8d4ff3d
2024-09-19 07:55:31 -07:00
Taylor Howell
bfda9f4ace
Add optional kwarg inputs to mjSpec Python bindings for mjSpec add constructors.
...
PiperOrigin-RevId: 675929024
Change-Id: Idd8c584276d8f585b79585230f5167f79760eaef
2024-09-18 04:02:10 -07:00
Google DeepMind
476599f8b6
Update pybind11 to v2.13.6
...
PiperOrigin-RevId: 675241879
Change-Id: Icaa0a957b7c7ac64daf5d29ccae1ab8bf89a8e1d
2024-09-16 12:09:02 -07:00
Taylor Howell
b0c7101f1c
Add optional kwarg inputs to mjSpec Python bindings for mjsBody add constructors.
...
PiperOrigin-RevId: 675141078
Change-Id: I8d735ae7d0a018ce7cd1aca56c899d1455586015
2024-09-16 07:32:55 -07:00
Google DeepMind
dde25d039b
Update Mujoco dependencies to latest versions.
...
PiperOrigin-RevId: 674003245
Change-Id: Ib758fa361cb34a786dcd3d55fbf3e5a459b75a3f
2024-09-12 14:10:21 -07:00
Yuval Tassa
8fa7fe7f5b
Add a tutorial section on multiple frames in the same scene. Fixes #1757 , #1356 .
...
PiperOrigin-RevId: 672902542
Change-Id: Ie9fae2151354206b1418c129e2bd2ab016695ec3
2024-09-10 04:22:07 -07:00
Copybara-Service
56bb3ca5de
Merge pull request #1901 from abhihjoshi:usd-fixes
...
PiperOrigin-RevId: 671815757
Change-Id: I8a08385b63401c743253545d89389ab8aaac91bc
2024-09-06 10:31:09 -07:00
Abhishek Joshi
fe1d6dad02
Using temp directory for usd exporter test
2024-09-04 18:18:37 -04:00
Alessio Quaglino
d3dfa6f970
Add mjs_findElement() to find any element in a spec by name.
...
Also, remove mjs_findMesh() and mjs_findKeyframe().
PiperOrigin-RevId: 670978980
Change-Id: Id88b800eb8a4c5efc40866f72a4442bf1d1437d0
2024-09-04 08:24:22 -07:00
Nimrod Gileadi
9a27fc14c2
Raise appropriate errors for mj_addBufferVFS in Python bindings.
...
When loading models in the XML bindings, different issues with the asset dictionary were all reported as "assets dict is too big".
PiperOrigin-RevId: 670960339
Change-Id: I2e47d91a6b433fd90ebdf9960a9b5b47413af410
2024-09-04 07:20:25 -07:00
Yuval Tassa
2d3d5415b7
Add mj_jacDot: Time derivative of kinematic Jacobian.
...
PiperOrigin-RevId: 670505417
Change-Id: Icf30cff5dc955e002bd2f5d5fb3a04f8388d0780
2024-09-03 04:49:47 -07:00
Nimrod Gileadi
fb38727303
Update zipp to 3.19.1 in make_sdist_requirements.txt
...
PiperOrigin-RevId: 670486730
Change-Id: I1dfabb8d5206024595a49d2421f148a284a4eac7
2024-09-03 03:37:49 -07:00
Abhishek Joshi
c0dc787cee
Removing mujoco renderer dependency
2024-08-30 18:23:13 -04:00
Abhishek Joshi
5dc9c07fa6
Removing scipy dependency
2024-08-30 12:56:25 -04:00
Abhishek Joshi
1d2ee40c9b
Updating pillow hashes
2024-08-30 12:32:45 -04:00
Abhishek Joshi
f54380206c
Adding pillow dependency
2024-08-30 12:30:15 -04:00
Abhishek Joshi
4a8b54c7ec
Adding backslash char
2024-08-30 12:16:16 -04:00
Abhishek Joshi
83c8814149
Adding new usd-core hashes
2024-08-30 12:14:26 -04:00
Abhishek Joshi
e03f8f5f65
Merge branch 'main' into usd-fixes
2024-08-25 19:15:17 -04:00
Alessio Quaglino
505d01a1c1
Add error handling to mj_recompile.
...
This CL adds error handling to the mj_recompile function. If the recompile fails, the function will return -1 and set the error message in the spec. The Python wrapper for mj_recompile will catch the error and raise a ValueError exception.
PiperOrigin-RevId: 666784579
Change-Id: I225eca1769ea839c782be3c03fc4ff1ea5885a48
2024-08-23 07:18:28 -07:00
Abhishek Joshi
85d19e189b
Adding usd-core optional dependency
2024-08-20 21:39:24 -05:00
Copybara-Service
2425358c3b
Merge pull request #1796 from google-deepmind:dependabot/pip/python/zipp-3.19.1
...
PiperOrigin-RevId: 665308489
Change-Id: I2db78ac1445cd12a3a4c0ea5d8f4f4fa2403517f
2024-08-20 05:11:29 -07:00
Yuval Tassa
5d91231d31
Rename mjBuffer to mjByteVec.
...
PiperOrigin-RevId: 664872558
Change-Id: I7b003374c390958667635fb21089faf2ece54b14
2024-08-19 10:40:26 -07:00
Abhishek Joshi
f358cf664b
Removing unused logging import
2024-08-19 11:23:43 -05:00
Abhishek Joshi
69eac7a43f
Merge branch 'usd-fixes' of github.com:abhihjoshi/mujoco into usd-fixes
2024-08-19 11:20:39 -05:00
Abhishek Joshi
492cb7d078
Remove try catch in exporter test
2024-08-19 11:19:18 -05:00
Abhishek Joshi
1a66c5cca7
Merge branch 'google-deepmind:main' into usd-fixes
2024-08-17 11:13:36 -05:00
Kyle Bayes
0bffd744f9
Add nativeccd flag. When this flag is enabled, general convex collision detection is handled natively, as opposed to using libccd.
...
PiperOrigin-RevId: 663859009
Change-Id: Ife18bb1de62f2154e4725fdf764484a18586b836
2024-08-16 14:08:35 -07:00
Abhishek Joshi
9dd0042887
Merge branch 'google-deepmind:main' into usd-fixes
2024-08-16 15:47:16 -05:00
Abhishek Joshi
39cbe5d5b0
Updating USD golden file and exporter_test.py
2024-08-16 12:06:25 -05:00
Alessio Quaglino
e0e134ca63
Add plugin tests for mjSpec.
...
Fixes #1903 .
PiperOrigin-RevId: 663352920
Change-Id: I3a9e17aec5694e49c20b542f4b0a4402f88a2f17
2024-08-15 10:19:53 -07:00
Abhishek Joshi
58dc62c4ec
Fixing USD pipeline after copybara changes
2024-08-13 11:09:02 -07:00
Copybara-Service
98cd49d529
Merge pull request #1827 from abhihjoshi:open3d-removal
...
PiperOrigin-RevId: 662510404
Change-Id: I79b356eecddb3402c444cb16a305516bd724aef6
2024-08-13 07:33:23 -07:00
Alessio Quaglino
851bb6eef4
Add option to mjspec for creating a texture directly from a buffer.
...
PiperOrigin-RevId: 662186527
Change-Id: I469c876681d52964ac971c0bb2ec3517224d3a3d
2024-08-12 12:29:08 -07:00
Taylor Howell
2c56946547
Increase mjVERSIONSTRING to 3.2.3 after release.
...
PiperOrigin-RevId: 660891033
Change-Id: I2bda69d11cab60a83b0c77bb53214240eacaea62
2024-08-08 10:31:57 -07:00
Gabe Oppenheimer
ebc48d2783
Update the MuJoCo version to v3.2.2 following the 3.2.1 release.
...
PiperOrigin-RevId: 660036707
Change-Id: I7e649e5a0ce6db863bcb99dc4fc1aa851b3f5140
2024-08-06 11:39:30 -07:00
Google DeepMind
828b900358
Update dependency versions.
...
PiperOrigin-RevId: 659624959
Change-Id: I21bb1f352107ed399a1029aa1d7f5b6ed29ab3cf
2024-08-05 11:37:14 -07:00
Abhishek Joshi
e0483c2f86
Updating for PR comments
2024-08-02 15:13:25 -05:00
Gabe Oppenheimer
d538bf994d
Update version to 3.2.1 following the 3.2.0 release.
...
PiperOrigin-RevId: 658412236
Change-Id: I4bd6ccb5dee18059eb6fc0d187afe62598845793
2024-08-01 08:35:42 -07:00
Abhishek Joshi
30b98fbe6a
Merge branch 'main' into open3d-removal
2024-07-30 16:32:01 -05:00
Abhishek Joshi
a470f26a4b
Reverting to Union for python 3.9
2024-07-30 15:30:16 -05:00
Alessio Quaglino
b341bd391d
Fix a bug with mjs_delete functions.
...
PiperOrigin-RevId: 657615906
Change-Id: Ic70eaa9a5c20337db3897cf882a60e9d94f2869b
2024-07-30 09:13:57 -07:00
Kyle Bayes
5ac5cfb618
Support directories in VFS via mj_addBufferVFS.
...
PiperOrigin-RevId: 655286683
Change-Id: I846376a0571d8df28d979beb5981a0cbccd7a04f
2024-07-23 13:39:18 -07:00
Abhishek Joshi
d7447c4a84
Partial cube mapping implementation in USD
2024-07-21 17:00:16 -05:00