Saran Tunyasuvunakool
2e15574b58
Allow user-defined visualization geoms to be added to the passive viewer.
...
Fixes #1023 , #1082
PiperOrigin-RevId: 572303635
Change-Id: Ia8399f816f311b38a7b137f5bd4f359f77a1da1c
2023-10-10 10:52:21 -07:00
Saran Tunyasuvunakool
7e5a7b76fc
Change GitHub org name to google-deepmind.
...
PiperOrigin-RevId: 563512242
Change-Id: Ife98501e95bb3459d96c7c73e5fb53be5513dd4b
2023-09-07 12:34:20 -07:00
Kevin Zakka
65c827d422
Fix typo in key_callback example.
...
PiperOrigin-RevId: 550013932
Change-Id: I418f49eee97e73d1b0218acc7e9259acaefb5edd
2023-07-21 12:12:53 -07:00
Saran Tunyasuvunakool
06b70832ce
Add keyboard event callback for Python passive viewer.
...
Fixes #766
Fixes #846
PiperOrigin-RevId: 549449372
Change-Id: I37d17f1162c66d0e8482d402aae22d9a16b59deb
2023-07-19 15:54:44 -07:00
Saran Tunyasuvunakool
0ccfef7314
Add update_{hfield,mesh,texture} methods to the passive viewer.
...
Fixes #812 .
Fixes #958 .
Fixes #965 .
PiperOrigin-RevId: 548181282
Change-Id: I6eb0cd2ce52c66083e83dd08d69e0cfb4178dbba
2023-07-14 11:43:36 -07:00
Taylor Howell
52aa5b645c
Update python.rst
2023-06-19 14:12:08 -07:00
Saran Tunyasuvunakool
c9e9cd8b35
Change org name to "Google DeepMind" in various docs.
...
PiperOrigin-RevId: 540691205
Change-Id: I9eb99eb18893e6748892334470211dbd9d5808db
2023-06-15 14:28:25 -07:00
Yuval Tassa
d65bffd8ff
Shorten section title
...
PiperOrigin-RevId: 526727580
Change-Id: Ibfeb752e5cde480beee04032df047c1124983d54
2023-04-24 12:47:34 -07:00
Yuval Tassa
62a675ba28
Improve Python bindings documentation.
...
PiperOrigin-RevId: 526658768
Change-Id: Ife5640ed4328427e24e9f0302ee8a5424d82a974
2023-04-24 09:00:58 -07:00
Saran Tunyasuvunakool
b362cb4972
Expose a handle for the Python viewer.
...
This change also requires user scripts to explicitly synchronize changes to physics state to the viewer. The Simulate class was reconfigured so that certain UI events are handled during this sync operation, outside of the render loop on the main thread. These correspond to operations that require access to the full mjModel/mjData.
To support other, more interactive operations (e.g. camera movements), a new mjvSceneState struct is introduced which captures only the portion of the physics state required for scene re-rendering. The mjvSceneState is updated from mjModel/mjData during the viewer sync operation, and is significantly cheaper than a full mj_copyModel and mj_copyData.
Fixes https://github.com/deepmind/mujoco/issues/796
PiperOrigin-RevId: 525723636
Change-Id: Id08d0210a2c067d5afe85e2bf104f276aeddd75e
2023-04-20 05:59:19 -07:00
Nimrod Gileadi
0e1f948c0a
Change some redirecting links to direct links.
...
Files in github should be linked to using /blob/ rather than /tree/ URLs, while directories should be linked with /tree/.
PiperOrigin-RevId: 524796430
Change-Id: I72492a6acde0709b55d8d8620ad9b538619e7606
2023-04-17 03:06:06 -07:00
Tom Erez
4204109a5a
Add some notes to the Python documentation.
...
PiperOrigin-RevId: 524293742
Change-Id: I43fcfcddd374a73e3a8fe4929784a4ac070fa067
2023-04-14 08:10:04 -07:00
Saran Tunyasuvunakool
15b6e6f060
Remove remarks in the documentation that suggest mj_name2id is inefficient.
...
`mj_name2id` has been replaced by a hash map lookup in 2.3.2.
PiperOrigin-RevId: 507816210
Change-Id: I3ee038fa6ec3258d51218588a43398f98a0f6de2
2023-02-07 10:13:45 -08:00
Yuval Tassa
928eb7a067
Add link from "build from source" sections to GitHub CI.
...
PiperOrigin-RevId: 499737486
Change-Id: If9c5fa730166bfc73b828c87cf4ba4ddb9ace28c
2023-01-04 23:59:10 -08:00
Yuval Tassa
68ffbffc53
Fix typo.
...
PiperOrigin-RevId: 497330766
Change-Id: Ie8ce4968407498ca4398995734e7868b7af72c6f
2022-12-23 02:00:33 -08:00
Saran Tunyasuvunakool
0846f38c82
Rename Python mujoco.simulate to mujoco.viewer.
...
PiperOrigin-RevId: 492701386
Change-Id: I059c572e2a63bd5529e863a9404720973df8ea46
2022-12-03 10:09:42 -08:00
Kevin Zakka
07371e5e08
Make Python bindings source installation instructions in docs match README.
...
PiperOrigin-RevId: 491961258
Change-Id: I4d2749b3963db3034d5fc8fca5bd43ab416117f7
2022-11-30 10:45:36 -08:00
Kyle Bayes
5a8e861152
Add MuJoCo tutorial Colab using the native Python bindings.
...
PiperOrigin-RevId: 491424124
Change-Id: I5bdeb68fd1bd1b4bc92fb40e0b876d9dcfc568cb
2022-11-28 13:09:51 -08:00
Copybara-Service
f7b256de91
Merge pull request #419 from aftersomemath:simulate-python
...
PiperOrigin-RevId: 487496285
Change-Id: I17d15bd2a3886e5ce1631f4eb78afa94830d08cc
2022-11-10 04:12:34 -08:00
Saran Tunyasuvunakool
c13979cd17
Add id and name properties to MjModel and MjData indexers.
...
PiperOrigin-RevId: 476078133
Change-Id: I905cc8ec147ac595cd56f0a42e38013ae1ac6903
2022-09-22 06:19:03 -07:00
Saran Tunyasuvunakool
7eb4ab3a8f
Fix documentation typos and CMake framework setup for macOS.
...
The previous commit missed out some recent changes in the internal repo. This commit brings the public GitHub repo in sync.
PiperOrigin-RevId: 450377010
Change-Id: I59a68ae4a39c5cd5ed5f7df77ba870273243d623
2022-05-23 14:06:12 +01:00
Saran Tunyasuvunakool
1913a02b40
Initial open sourcing of MuJoCo.
...
PiperOrigin-RevId: 450374687
Change-Id: Ie3225a46ce095fc28ae8e63c326a640261f562bb
2022-05-23 01:08:49 -07:00
Saran Tunyasuvunakool
90dea1bdfb
Version 2.1.4: Switch to GLAD, minor improvements to simulate.
...
PiperOrigin-RevId: 439277749
Change-Id: I741d1c499ae88753338fcc6d141a65e92e13023e
2022-04-04 13:53:21 +01:00
Nimrod Gileadi
df048e54c0
Update MuJoCo to version 2.1.3.
...
PiperOrigin-RevId: 436727767
Change-Id: I9b1b0084021e83f790efa46eab9a980cbde4953f
2022-03-23 16:57:26 +00:00
Saran Tunyasuvunakool
3577e2cf8b
Version 2.1.2: Python bindings, OBJ assets support, bugfixes.
...
PiperOrigin-RevId: 434731612
Change-Id: I0cfda3e7a3d1c72036764986efc252ffa1b8c6b0
2022-03-15 14:04:44 +00:00