Google DeepMind
8a5c52d395
Use a dedicated function for wrapper struct names
...
This change introduces a `wrapper_struct_name` function in `structs.py` to consistently generate the name of the C++ wrapper struct from a C struct name. All call sites in `functions.py` and `structs.py` that previously used `common.capitalize` for this purpose now call `wrapper_struct_name`.
PiperOrigin-RevId: 837544242
Change-Id: Ibe5fea8294283dae63bb8d064fd8beb8cfd3f2fe
2025-11-27 08:42:33 -08:00
Matias Manevi
9ca1598b23
Refactor MuJoCo WASM struct codegen.
...
PiperOrigin-RevId: 837530063
Change-Id: I57518b2fbb536f356a5e15839d8e17f455bccde9
2025-11-27 07:42:41 -08:00
Haroon Qureshi
5163dfa823
Move UX drawing functions into a shared library.
...
PiperOrigin-RevId: 837528296
Change-Id: I153a000cde424254384cf168606f32f7925ca076
2025-11-27 07:34:51 -08:00
Haroon Qureshi
23825a5bcf
Implement sensor chart.
...
PiperOrigin-RevId: 837498928
Change-Id: I84b5911a44fe60a96b3ef34d514eb39702be7402
2025-11-27 05:38:24 -08:00
Haroon Qureshi
406062efaf
Remove TODO (charts have been implemented).
...
PiperOrigin-RevId: 837151123
Change-Id: Iae37fdf4ed143e0523a1e4244e3a897211a5751b
2025-11-26 09:13:58 -08:00
Haroon Qureshi
9274a0014a
Fix UV scaling.
...
PiperOrigin-RevId: 837147525
Change-Id: If54d069ddb3fec0852f1941788cb03d5604a252f
2025-11-26 09:01:56 -08:00
Matija Kecman
05f194c412
Reorganization of the WASM bindings.cc template
...
* Move all bindings into a single EMSCRIPTEN_BINDINGS block
* Move all auto generated bindings line to the start of the block
* Alphabetically sort the constants binding lines
PiperOrigin-RevId: 837142009
Change-Id: I218a37dbc0ca6c6f16a455718889c08fe1b41d56
2025-11-26 08:43:51 -08:00
Haroon Qureshi
c7e0c01e80
Prevent decorative elements from casting shadows.
...
PiperOrigin-RevId: 837112208
Change-Id: I4ecc110eec1a2166df7a07d8bb9ec37df36b7c89
2025-11-26 07:27:41 -08:00
Haroon Qureshi
0425355efc
Use a switch statement for handling geometry types.
...
PiperOrigin-RevId: 837097811
Change-Id: Ic473f9da3d4189430e98670afdae7bb3cca5ccbc
2025-11-26 06:40:41 -08:00
Haroon Qureshi
aa25075ea4
Implement triangle geoms.
...
PiperOrigin-RevId: 837079122
Change-Id: If7aa0904c6f3e7c62477b75b17d67259fe2bdabb
2025-11-26 05:33:04 -08:00
Haroon Qureshi
ed69fe85f1
Only build fonts when using filament backend.
...
PiperOrigin-RevId: 837054382
Change-Id: I7ef3b6b954738776f266533f4c48ac4e3c43b4bf
2025-11-26 04:00:34 -08:00
Kyle Bayes
ae24034f24
Refactor hfield-convex collision code. This should be a no-op.
...
PiperOrigin-RevId: 837045492
Change-Id: I82851615c7f69774da83cab361316e5a6e9982c6
2025-11-26 03:26:56 -08:00
Haroon Qureshi
fcad41a5b1
Implement solver stats charts.
...
PiperOrigin-RevId: 837045292
Change-Id: I1dfe1e10bb6d62f4d994a82c9b645b471fca5500
2025-11-26 03:25:45 -08:00
Matija Kecman
011166a13a
Update the studio/README.md to summarize platform support.
...
PiperOrigin-RevId: 837038187
Change-Id: I00882e0a9882947af7c684e2d5521356ad1468ce
2025-11-26 02:58:05 -08:00
Haroon Qureshi
4ce0ee2011
Update texture handling due to recent ImGui upgrade.
...
PiperOrigin-RevId: 837030453
Change-Id: I042c4a7df7dc6c7e07c40eb5f32e5031e5b1d60a
2025-11-26 02:36:02 -08:00
Taylor Howell
f2823836a6
Updates for MuJoCo Warp documentation.
...
PiperOrigin-RevId: 837027234
Change-Id: Idf7a69b14ce23d5ac5ed36367a14c77a00276846
2025-11-26 02:26:13 -08:00
Yuval Tassa
a9fe8340bf
Remove extraneous colons in XMLreference
...
PiperOrigin-RevId: 837017632
Change-Id: Ie89adf4fd3725cfa4b8eb0bcddedd4fa886ed8fb
2025-11-26 01:56:28 -08:00
Haroon Qureshi
a1579ac3e1
Use static_cast instead of reinterpret_cast.
...
PiperOrigin-RevId: 836990495
Change-Id: I276b5d83e18cc87364f8f2cae0c585b6673c738e
2025-11-26 00:25:32 -08:00
Haroon Qureshi
d940b2b7f9
Update versions of imgui and implot.
...
PiperOrigin-RevId: 836844278
Change-Id: If0a522fcb7637df9cd422df6cb5bef641e675b0b
2025-11-25 16:08:13 -08:00
Google DeepMind
c07e3cb8a8
Internal changes only.
...
PiperOrigin-RevId: 836814927
Change-Id: I18bde7ae47b5c106ab9c85e434a8b491c8d79d04
2025-11-25 14:36:57 -08:00
Matija Kecman
181dcab6be
Combine markers and content and reorganize parts of the WASM template file
...
PiperOrigin-RevId: 836729951
Change-Id: Ib3bb25a23325cfbd84fd0439243db37ca8236bf3
2025-11-25 10:40:44 -08:00
Gabe Oppenheimer
b6e162d6fa
Update MuJoCo version from 3.3.8 to 3.4.0
...
PiperOrigin-RevId: 836719207
Change-Id: I28cbc90cee42aebfb5a4201561289ef6747cdc83
2025-11-25 10:16:02 -08:00
Google DeepMind
6e59f61c70
Make WASM codegen output to be alphabetically ordered.
...
PiperOrigin-RevId: 836680575
Change-Id: I7ddb7267c0db4911b2e84528f948dee6fccdf81d
2025-11-25 08:29:30 -08:00
Taylor Howell
6208730744
MuJoCo Warp documentation: Option.contact_sensor_maxmatch information.
...
PiperOrigin-RevId: 836670031
Change-Id: I29b11784998d3461ad1d460a6c23cad66df22202
2025-11-25 07:58:08 -08:00
Taylor Howell
5d7b2bd7ca
MuJoCo Warp documentation: update information about setting both nconmax and naconmax.
...
PiperOrigin-RevId: 836666389
Change-Id: I766c717d4c6b98f4383fa396fd9cceaac4b5b561
2025-11-25 07:45:06 -08:00
Taylor Howell
893882171e
MuJoCo Warp documentation: Does MJWarp work with multiple GPUs?.
...
PiperOrigin-RevId: 836642204
Change-Id: I559642b2cb902a704257e7e0344f768b690678a1
2025-11-25 06:26:55 -08:00
Haroon Qureshi
d8712808b9
Allow users to access mjrContext.
...
PiperOrigin-RevId: 836641787
Change-Id: I2f2aee30a047336d1adbe33b7996fee3ec845213
2025-11-25 06:25:14 -08:00
Haroon Qureshi
f28bcc4346
Allow binding to arbitrary textures.
...
PiperOrigin-RevId: 836625847
Change-Id: If02ea708f49bdfd9be5be7d9a273340ba2f082f0
2025-11-25 05:26:04 -08:00
Haroon Qureshi
589e013d9b
Fonts should have const data.
...
PiperOrigin-RevId: 836624808
Change-Id: I984c94cc34ef22b875ddda87c59893aa7f38a8a3
2025-11-25 05:22:54 -08:00
Taylor Howell
bdaec5758b
Generate MuJoCo Warp documentation with modified types.py.
...
PiperOrigin-RevId: 836617034
Change-Id: Ia925b88679744267b34504b146fa712d4195eda4
2025-11-25 04:54:01 -08:00
Kyle Bayes
b98379372e
Refactor epaWitness.
...
PiperOrigin-RevId: 836597852
Change-Id: Ib75dae07bda47764f937f32a9476ef3266f02056
2025-11-25 03:44:57 -08:00
Haroon Qureshi
9b0f8dd963
Update CMakeLists.txt to add/remove files.
...
PiperOrigin-RevId: 836591285
Change-Id: I17745ad5055b861721c10daec33adc1f6f11ea32
2025-11-25 03:18:57 -08:00
Yuval Tassa
888d3a7b07
Add mj_copyState
...
PiperOrigin-RevId: 836588419
Change-Id: I7609e121dc0ac697d4d015d4244bdd5962650def
2025-11-25 03:10:30 -08:00
Haroon Qureshi
eac8e60037
Merge Physics functionality into App.
...
The Physics class is no longer needed. This makes Studio similar to
other toolbox-based apps (like web demo and python viewer) which
manage their own mjModel and mjData instances.
PiperOrigin-RevId: 836588076
Change-Id: I3f695b49bf6a7bba1a2b639d3d75d0c996582f06
2025-11-25 03:09:21 -08:00
Haroon Qureshi
67b09f9afb
Refactor simulation state history tracking into a SimHistory class.
...
PiperOrigin-RevId: 836578736
Change-Id: I94a852b2d2a36cdd081371f25385dbb466dd8d4b
2025-11-25 02:38:09 -08:00
Haroon Qureshi
6d9d59cb98
Move pause handling into StepControl.
...
Also moves perturbation handling up to the App.
Combined, this makes Physics::Update only about advancing the StepControl and resonding to its Status.
PiperOrigin-RevId: 836569506
Change-Id: I148c787f0e1c18baac3e3038ee6ad0e337eb92a8
2025-11-25 02:08:08 -08:00
Google DeepMind
711a388b3d
Sort and generate optional struct bindings in WASM.
...
PiperOrigin-RevId: 836273537
Change-Id: I2af2401969a4780f593df86dc9336adcc285fd1b
2025-11-24 10:18:09 -08:00
Google DeepMind
217317ccba
Change WASM generators from classes to functions.
...
PiperOrigin-RevId: 836257289
Change-Id: I7a3c1d7bb545353a3d278330582e33c0551792cb
2025-11-24 09:36:36 -08:00
Taylor Howell
1c910875d2
MuJoCo Warp documentation: Differentiability.
...
PiperOrigin-RevId: 836250165
Change-Id: I40c21674c896ed4108f17192f16aaaf2664f03be
2025-11-24 09:13:28 -08:00
Taylor Howell
2ca56179a7
Add Frequently Asked Questions: Learning frameworks to MuJoCo Warp documentation.
...
PiperOrigin-RevId: 836231961
Change-Id: If3d00e7dfb9ebe49a034ea8936d2ac1dd33d0979
2025-11-24 08:14:53 -08:00
Taylor Howell
cb391962ca
MuJoCo Warp documentation: Orientation representation.
...
PiperOrigin-RevId: 836127570
Change-Id: I0f381e57cfb53e1cb623f9c4178d258dfc1f75b6
2025-11-24 02:03:41 -08:00
Kyle Bayes
a105042734
Tidy up primitive support functions.
...
PiperOrigin-RevId: 835329730
Change-Id: I5ad5e85b5e8284bf5e3769ab504686b7859a6ea4
2025-11-21 13:00:49 -08:00
Taylor Howell
a359780ca1
Import google-deepmind/mujoco_warp from GitHub.
...
PiperOrigin-RevId: 835230315
Change-Id: Ifa4f8f66c4e3de1a3074f0897daf93f88e469f06
2025-11-21 08:17:49 -08:00
Kyle Bayes
bb488fec29
Remove MPR from comment.
...
PiperOrigin-RevId: 835224192
Change-Id: I659231b30d4c00d9bf586f0efdac138331862df7
2025-11-21 07:58:26 -08:00
Yuval Tassa
f8b92410d4
Add test explaining body_rootid and body_weldid semantics
...
PiperOrigin-RevId: 835197910
Change-Id: If85ca80d3b576e2469cf0d9900441ddb9fd64462
2025-11-21 06:25:22 -08:00
Matija Kecman
7e6cb642a3
Improve formatting of percent real time selection
...
PiperOrigin-RevId: 835192366
Change-Id: I17057f61b96d6380dea6156dcef867b1845e6abf
2025-11-21 06:05:53 -08:00
Haroon Qureshi
a2002eb3d7
Various UX improvements including:
...
- Add Toolbar and StatusBar.
- Reconfigure sections into Settings and Inspector groupings.
- Use docking for Settings/Inspector panels.
- Rename "Free" camera to "Tumble"; add WASD-based free camera.
- More dynamic layout of table-based elements.
- Remove "non-classic" UX mode.
- Switch to light mode by default.
PiperOrigin-RevId: 835174573
Change-Id: I1855caa79f00002e44ed2516631675727bdcb9f6
2025-11-21 04:58:20 -08:00
Yuval Tassa
ae8272787f
Rollback of 7cb2e31f4b
...
PiperOrigin-RevId: 834865905
Change-Id: Iade490754ca30a97f696bcb09525f9b4c37dbeff
2025-11-20 12:30:48 -08:00
Yuval Tassa
c2e9bfa3e8
Clarify semantic of body_rootid and body_weldid
...
PiperOrigin-RevId: 834827589
Change-Id: I562e0aa374ce59d8b769e8d003e4c63ee434a1fc
2025-11-20 10:54:59 -08:00
Yuval Tassa
7cb2e31f4b
Annotate GlobalModel for LSAN
...
PiperOrigin-RevId: 834784936
Change-Id: I9381a062956df6cd7724402b72c2d2a2d8c49998
2025-11-20 09:03:48 -08:00