Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
541 commits
Select commit Hold shift + click to select a range
1a47860
Add a xml test file whose mesh has a default class. user_api_test wil…
chengruiz Jul 10, 2024
7f9f8b5
Catch errors in attach during replicate.
quagla Jul 10, 2024
60afda9
Merge pull request #1714 from abhihjoshi:tendons
copybara-github Jul 10, 2024
5b080ba
Merge pull request #1799 from JewelryForge:main
copybara-github Jul 10, 2024
27b9ddd
Add attach tag to MJCF.
quagla Jul 10, 2024
c145b79
Using typing instead of collections.abc. Fixes #1763
erikfrey Jul 10, 2024
f9ab89b
Refactor user cache to just support void pointers so user objects can…
kbayes Jul 11, 2024
e7301ed
Copy arena contents in mj_copyData.
nimrod-gileadi Jul 11, 2024
3d1d1d0
Multithreaded mesh compilation.
yuvaltassa Jul 11, 2024
2f46dec
Fix bug in frame saving. Fixes #1802
quagla Jul 12, 2024
9c9faa0
Add FilePath utility class for handling resource / file paths in MuJo…
kbayes Jul 12, 2024
f1aa52a
Never use more threads than meshes for multi-threaded compile.
yuvaltassa Jul 12, 2024
6e64dd1
Fix bug in RemoveFromList.
quagla Jul 12, 2024
8410858
Move the map lookup outside of the mesh processing loop. Change to un…
nimrod-gileadi Jul 12, 2024
a0df72f
Raise memory limit so test passes with dynamic linking
rickeylev Jul 12, 2024
e76f3ce
Rename model to spec in xml_native_reader.cc.
yuvaltassa Jul 12, 2024
5d51b4c
Check that element is a nullptr before casting.
quagla Jul 12, 2024
e13ddfa
Improve compiler-related documentation.
yuvaltassa Jul 12, 2024
22a10fd
Minor documentation improvements.
yuvaltassa Jul 13, 2024
3d28a1d
Fix formatting in documentation code samples.
yuvaltassa Jul 14, 2024
cf61d88
Move pointer assignments from CopyFromSpec() to PointToLocal().
quagla Jul 15, 2024
9a7c1df
Set unused inherited opaque pointers to nullptr.
quagla Jul 15, 2024
39b22eb
Remove dangling section header from function docs.
yuvaltassa Jul 15, 2024
cb4cb7d
Update version hashes in MuJoCo CMake files ahead of the 3.2.0 release.
Jul 15, 2024
22ce22a
Update the MuJoCo version number ahead of the 3.2.0 release.
Jul 15, 2024
c588023
Mujoco changelog update for 3.2.0
Jul 15, 2024
8e827d0
Add missing changelog item.
quagla Jul 16, 2024
7f46e93
Update setuptools to version 70.3.0.
saran-t Jul 16, 2024
2cf352c
Add VFS handling logic to mj_openResource.
kbayes Jul 17, 2024
f20edda
Merge pull request #1759 from Balint-H:fix/unity-multi-dof-axes
copybara-github Jul 17, 2024
a2fd34c
Modify test/testdata/model.xml so the wrapping is stable. Fixes #1795
yuvaltassa Jul 17, 2024
2664cc1
Allow passing a null pointer in mj_recompile.
quagla Jul 17, 2024
dd25973
Remove unnecessary def_map copying.
yuvaltassa Jul 17, 2024
dbe18f5
Add additional MuJoCo fields to MJX structs.
saran-t Jul 17, 2024
dd9dd29
Prevent uninitialized memory during a copy of joints and actuators.
quagla Jul 17, 2024
67922f4
Exclude nbuffer from CompareModel.
quagla Jul 18, 2024
231d963
Avoid duplicated code in mjCModel by adding ResetTreeLists().
quagla Jul 18, 2024
ffb50b7
Improve readability of body transmission code.
yuvaltassa Jul 18, 2024
384ed80
Various fixes in mujoco/usd
quagla Jul 18, 2024
c198a69
Return null pointer from mjs_firstChild and mjs_firstElement when the…
quagla Jul 18, 2024
85532b7
Speed up hfield JIT time by reducing XLA code generation overhead.
erikfrey Jul 18, 2024
70ac76b
Add assets to MjSpec.compile()
quagla Jul 19, 2024
e92af73
Add mjmodel support for textures with different number of channels.
erez-tom Jul 19, 2024
8a8a44a
Refactor numerical parsing in XML.
kbayes Jul 19, 2024
7961731
Add support in mjModel for tagging textures with different roles, and…
erez-tom Jul 19, 2024
b3f79e5
Fix bug in pre-counting equality constraints.
kbayes Jul 19, 2024
db1d51a
Add more fields to mjx.Option and mjx.Statistic for MuJoCo compatibil…
saran-t Jul 19, 2024
d49d4bf
Make unsupported feature checking optional in put_model.
saran-t Jul 19, 2024
34060fc
Removing Open3D dependency
abhihjoshi Jul 21, 2024
5c79313
Implementing texture scaling for 2D textures
abhihjoshi Jul 21, 2024
e79aeb6
Using correct imports
abhihjoshi Jul 21, 2024
5abdeb8
Correcting utils_module import name
abhihjoshi Jul 21, 2024
d1ff008
Adding UV maps only when texture present
abhihjoshi Jul 21, 2024
d7447c4
Partial cube mapping implementation in USD
abhihjoshi Jul 21, 2024
cdd8531
Fix typos and indents.
chengruiz Jul 22, 2024
f627925
Add a new disable flag `mjDSBL_AUTORESETNAN`.
saran-t Jul 22, 2024
e79efa6
Reset tree indices before recompiling.
quagla Jul 22, 2024
079019a
Merge branch 'main' into open3d-removal
abhihjoshi Jul 22, 2024
33e5960
Allow multiple textures per material in MJCF.
erez-tom Jul 22, 2024
2d24c58
Adds support for fixed tendons to MJX.
erikfrey Jul 22, 2024
0c8f039
Merge branch 'main' into open3d-removal
abhihjoshi Jul 22, 2024
2746cb8
Support FilePaths instead of raw strings in XML code.
kbayes Jul 23, 2024
5ac5cfb
Support directories in VFS via mj_addBufferVFS.
kbayes Jul 23, 2024
70d70bc
Fix typos in MuJoCo documentation.
Jul 25, 2024
3f0749a
Do not remove elements that contain user errors when detaching a subt…
quagla Jul 29, 2024
a4bd2be
Skip disabled actuators in mjd_actuator_vel.
yuvaltassa Jul 29, 2024
a29f67c
Add test models for tendon wrapping.
yuvaltassa Jul 29, 2024
6928e09
Small performance improvement: Parse body once during replicate.
quagla Jul 29, 2024
123a01b
Merge pull request #1833 from JewelryForge:main
copybara-github Jul 29, 2024
24a5550
Rename mjDSBL_AUTORESETNAN to mjDSBL_AUTORESET.
yuvaltassa Jul 30, 2024
b341bd3
Fix a bug with `mjs_delete` functions.
quagla Jul 30, 2024
a470f26
Reverting to Union for python 3.9
abhihjoshi Jul 30, 2024
30b98fb
Merge branch 'main' into open3d-removal
abhihjoshi Jul 30, 2024
9febd76
Set working directory for python tests on GitHub.
quagla Jul 31, 2024
70a3a54
Unpoison destination arena when copying mjData.
nimrod-gileadi Aug 1, 2024
d538bf9
Update version to 3.2.1 following the 3.2.0 release.
Aug 1, 2024
e0483c2
Updating for PR comments
abhihjoshi Aug 2, 2024
56e00a5
Re-order elements of mjSTATE_FULLPHYSICS. Fixes #1876
yuvaltassa Aug 4, 2024
ff5d339
GMSH loading: Check that std::stoi isn't out of range.
nimrod-gileadi Aug 5, 2024
6a8e28f
Prevent integer overflow when computing texture sizes and allocating …
nimrod-gileadi Aug 5, 2024
20011a2
Disable RK4 integrator in mjd_transitionFD by throwing an error and i…
thowell Aug 5, 2024
0610c1d
Use std::abs instead of mju_abs to compare integerst in fixture.cc.
nimrod-gileadi Aug 5, 2024
4dc8f88
Check for texid >= 0 before accessing texture arrays.
nimrod-gileadi Aug 5, 2024
926b902
Update changelog for Mujoco 3.2.1
Aug 5, 2024
828b900
Update dependency versions.
Aug 5, 2024
881b777
Fix a build error in engine_util_solve_test.cc.
Aug 5, 2024
9db9df7
Increase material count limit to 1000.
nimrod-gileadi Aug 6, 2024
a1d9b47
Initial (unoptimized) implementation of EPA.
kbayes Aug 6, 2024
5287359
Update docs for VFS.
kbayes Aug 6, 2024
fd892ee
Fix some documentation bugs
yuvaltassa Aug 6, 2024
ebc48d2
Update the MuJoCo version to v3.2.2 following the 3.2.1 release.
Aug 6, 2024
157040f
Refer to tex_data in docs instead of tex_rgb.
nimrod-gileadi Aug 7, 2024
c486f62
Fix some broken links in documentation.
nimrod-gileadi Aug 8, 2024
5383d1c
Update changelog for MuJoCo 3.2.2 release.
thowell Aug 8, 2024
82c2716
mjQUICKSORT uses std::sort with C++.
thowell Aug 8, 2024
2c56946
Increase mjVERSIONSTRING to 3.2.3 after release.
thowell Aug 8, 2024
ebf887e
Add sensors to MJX. Implements jointpos and actuatorpos as examples.
thowell Aug 8, 2024
35a834f
Fix engine_sort_test compile error.
erikfrey Aug 8, 2024
1c9d609
Make mj_gjkPenetration have the same signature as LibCCD penetration …
kbayes Aug 9, 2024
ebd8615
Internal change.
kbayes Aug 9, 2024
da15aa6
Improve error message for fullinertia and orientation specifiers.
quagla Aug 9, 2024
ec43ec7
Remove hard-coded nPOS and nVEL from mjCModel.
quagla Aug 9, 2024
466368e
Add shellinertia support for primitives: sphere, capsule, cylinder, e…
thowell Aug 9, 2024
e397fcb
Add return values to private `mjJCJoint` methods.
yuvaltassa Aug 9, 2024
d72f01b
Add break statements in user_objects.cc to appease persnickety GCC
yuvaltassa Aug 10, 2024
02ffaa8
Yet another GCC-related fix.
yuvaltassa Aug 10, 2024
d45d13e
Remove uses of mjtNum-typed functions from user_objects.cc
yuvaltassa Aug 12, 2024
d3a976e
Fix indent.
yuvaltassa Aug 12, 2024
648fd56
Preserve time when recompiling a model.
quagla Aug 12, 2024
20cae55
Encapsulate BVH class members.
kbayes Aug 12, 2024
851bb6e
Add option to mjspec for creating a texture directly from a buffer.
quagla Aug 12, 2024
acab66d
Remove superfluous `break` statements.
saran-t Aug 13, 2024
e3814be
Remove duplicated title from the changelog.
quagla Aug 13, 2024
1132632
Fix for benign UBsan signed-integer-overflow complaints.
saran-t Aug 13, 2024
4ebf381
Merge pull request #1899 from saran-t:saran-t-patch-5
copybara-github Aug 13, 2024
39896f8
Restructure mjCMesh for caching.
kbayes Aug 13, 2024
98cd49d
Merge pull request #1827 from abhihjoshi:open3d-removal
copybara-github Aug 13, 2024
19aa68c
Add keyframe support to `attach`.
quagla Aug 13, 2024
58dc62c
Fixing USD pipeline after copybara changes
abhihjoshi Aug 13, 2024
1141b4a
Force dtype of `mjx.Contact.{geom1,geom2,geom}` to int32.
saran-t Aug 13, 2024
7efd690
Document where mesh transforms are saved, fixes #1894
yuvaltassa Aug 14, 2024
2cb601c
Improve documentation w.r.t smoothness, differentiability and finite-…
yuvaltassa Aug 14, 2024
afd7c73
Attach multiple keyframes.
quagla Aug 14, 2024
7be4df7
Add ctrl to attached keyframes.
quagla Aug 14, 2024
5927b3d
Add time to attached keyframes.
quagla Aug 14, 2024
4c64e6f
Add mocap state to SaveState/RestoreState and attached keyframes.
quagla Aug 14, 2024
d932faa
Flip order of cases in user_objects.cc (readability)
yuvaltassa Aug 14, 2024
1f5f9a8
Improve variable naming in xml_native_reader.cc
yuvaltassa Aug 15, 2024
7f09a7d
Fix bug in S2D and improve readability of GJK + EPA code.
kbayes Aug 15, 2024
b2018ff
Replace function with static array in engine_forward.c
yuvaltassa Aug 15, 2024
4b88e9b
Do not delete keyframes during mjs_detachBody.
quagla Aug 15, 2024
64575f3
Add heightfield collision support for GJK + EPA implementation.
kbayes Aug 15, 2024
e0e134c
Add plugin tests for mjSpec.
quagla Aug 15, 2024
a74c184
Add efc_pos to MJX.
thowell Aug 15, 2024
9924d9c
Fixed incorrect mesh face circumradius calculation
michael-ahn Aug 16, 2024
6c76678
Merge pull request #1906 from michael-ahn:fix-face-circumradius
copybara-github Aug 16, 2024
6db96e0
Add position-dependent sensors to MJX: magnetometer, ballquat, subtre…
thowell Aug 16, 2024
0bcaa85
Fixed a bug wherein, for models that have both muscles and stateless …
yuvaltassa Aug 16, 2024
cfc7dc9
Clarify that keyframes are not replicated in nested attachments.
quagla Aug 16, 2024
e0e08aa
Rename xml_native_writer variables to be consistent with xml_native_r…
yuvaltassa Aug 16, 2024
f864108
`using` for `std::{string, string_view}`, where helpful for readibility.
yuvaltassa Aug 16, 2024
4d9305f
Fix typo.
yuvaltassa Aug 16, 2024
39cbe5d
Updating USD golden file and exporter_test.py
abhihjoshi Aug 16, 2024
ce9c0ea
Modify MJX sensor_pos to handle unsupported sensors.
thowell Aug 16, 2024
390bce2
Avoid placing arrays on device for unused MJX fields. Add ``device``…
erikfrey Aug 16, 2024
9dd0042
Merge branch 'google-deepmind:main' into usd-fixes
abhihjoshi Aug 16, 2024
0bffd74
Add nativeccd flag. When this flag is enabled, general convex collisi…
kbayes Aug 16, 2024
1a66c5c
Merge branch 'google-deepmind:main' into usd-fixes
abhihjoshi Aug 17, 2024
6acf406
Add support for disabling MJX sensors.
thowell Aug 18, 2024
51733c2
Add rangefinder sensor to MJX.
thowell Aug 18, 2024
6a12787
Add camera projection sensor to MJX.
thowell Aug 18, 2024
6241814
Add velocity-dependent sensors to MJX. Includes: joint velocity, actu…
thowell Aug 18, 2024
0fa3916
Speed up mesh support function with warmstarts.
yuvaltassa Aug 19, 2024
4aab00f
Minor cleanups to body and joint compilers.
yuvaltassa Aug 19, 2024
492cb7d
Remove try catch in exporter test
abhihjoshi Aug 19, 2024
69eac7a
Merge branch 'usd-fixes' of github.com:abhihjoshi/mujoco into usd-fixes
abhihjoshi Aug 19, 2024
f358cf6
Removing unused logging import
abhihjoshi Aug 19, 2024
5d91231
Rename `mjBuffer` to `mjByteVec`.
yuvaltassa Aug 19, 2024
a68141e
Implicitfast integration for MJX.
erikfrey Aug 19, 2024
2425358
Merge pull request #1796 from google-deepmind:dependabot/pip/python/z…
copybara-github Aug 20, 2024
029fbd5
Bump zipp from 3.17.0 to 3.19.1 in /mjx
dependabot[bot] Aug 20, 2024
ad9cd73
Correctly apply frame transform to light direction.
yuvaltassa Aug 20, 2024
85d19e1
Adding usd-core optional dependency
abhihjoshi Aug 21, 2024
cf3e60f
Fix load time reporting in simulate.
yuvaltassa Aug 21, 2024
f986a52
Compute witness points from EPA, and use witness points to determine …
kbayes Aug 21, 2024
806b8c8
Add support for actuatorfrc and jointactfrc sensors in MJX.
thowell Aug 21, 2024
e761681
Merge pull request #1914 from google-deepmind:dependabot/pip/mjx/zipp…
copybara-github Aug 21, 2024
b42780a
Add subtree_vel function to MJX. This function matches mj_subtreeVel.
thowell Aug 21, 2024
b2174a7
Add framequat sensor to MJX.
thowell Aug 22, 2024
f75ead2
Improve the build instructions for mac.
nimrod-gileadi Aug 22, 2024
a2649d6
Add efc_margin to MJX.
thowell Aug 22, 2024
8b03daa
Add `mjtSameFrame` enum to specify frame alignment of bodies with the…
yuvaltassa Aug 22, 2024
2efbd31
Add `mjSAMEFRAME_BODYROT` and `mjSAMEFRAME_INERTIAROT` frame alignmen…
yuvaltassa Aug 22, 2024
abe57c2
Use bullets instead of numbering in latest changelog
yuvaltassa Aug 22, 2024
088079e
Rename mpr_tolerance and mpr_iterations to ccd_tolerance and ccd_iter…
yuvaltassa Aug 22, 2024
505d01a
Add error handling to mj_recompile.
quagla Aug 23, 2024
d360ea1
Minor GJK + EPA improvements:
kbayes Aug 23, 2024
9d4f8ed
Avoid pointer access in loop conditionals in engine_core_smooth.c
yuvaltassa Aug 23, 2024
cad8ca6
Do pre-checking when creating initial polytope for EPA.
kbayes Aug 23, 2024
e03f8f5
Merge branch 'main' into usd-fixes
abhihjoshi Aug 25, 2024
ddb29e9
Fix bug in computing pos in EPA by replacing S2D with computing affin…
kbayes Aug 27, 2024
72a0ab1
Refactor frustum drawing to use a local makeTriangle function.
yuvaltassa Aug 27, 2024
3e701b2
Fix tendon sphere wrapping when using external sidesite.
thowell Aug 28, 2024
f3cfe7a
Minor clean up in `mj_jac`.
yuvaltassa Aug 28, 2024
6464554
Fix changelog by moving bug fix to proper section.
thowell Aug 28, 2024
a1036b8
Allow connect constraints to be specified using sites.
yuvaltassa Aug 29, 2024
9cab5a4
Remove unnecessary normal vector computation from mju_wrap cylinder c…
thowell Aug 29, 2024
494e166
Fix a bug where `mjx.make_data` qLDiagInv has wrong size for sparse m…
erikfrey Aug 29, 2024
8272211
Update MJX documentation for ellipsoid and cylinder collision support.
thowell Aug 30, 2024
a94694f
Fix formatting in mjx.rst
thowell Aug 30, 2024
cf02171
Add velocimeter and gyro sensors to MJX.
thowell Aug 30, 2024
83c8814
Adding new usd-core hashes
abhihjoshi Aug 30, 2024
4a8b54c
Adding backslash char
abhihjoshi Aug 30, 2024
f543802
Adding pillow dependency
abhihjoshi Aug 30, 2024
1d2ee40
Updating pillow hashes
abhihjoshi Aug 30, 2024
5dc9c07
Removing scipy dependency
abhihjoshi Aug 30, 2024
5391e60
Add sensor cutoff to MJX.
thowell Aug 30, 2024
651868a
Add GitHub Issue and Discussion templates.
yuvaltassa Aug 30, 2024
c0dc787
Removing mujoco renderer dependency
abhihjoshi Aug 30, 2024
9805df6
Add framelinvel and frameangvel sensors to MJX.
thowell Aug 31, 2024
7abd5d4
Restore mistakenly deleted/modified changelog items.
yuvaltassa Aug 31, 2024
f60ab44
Remove vestigial mentions of `mjOption.collision` in the docs.
kevinzakka Aug 31, 2024
a02934a
Merge pull request #2036 from kevinzakka:doc-fix
copybara-github Sep 2, 2024
fb38727
Update zipp to 3.19.1 in make_sdist_requirements.txt
nimrod-gileadi Sep 3, 2024
2d3d541
Add `mj_jacDot`: Time derivative of kinematic Jacobian.
yuvaltassa Sep 3, 2024
49711fa
Add support for joint and tendon frictionloss to MJX.
btaba Sep 3, 2024
303e5e7
Fix test threshold for external tests.
btaba Sep 3, 2024
42eb669
Precompute mappings between M <-> D sparse representations.
yuvaltassa Sep 4, 2024
3437361
Add reduced sparse dof-dof matrix structures to mjData.
yuvaltassa Sep 4, 2024
e9a8576
Native CCD: Replace mju_malloc with C standard malloc, fix bug in com…
kbayes Sep 4, 2024
9a27fc1
Raise appropriate errors for mj_addBufferVFS in Python bindings.
nimrod-gileadi Sep 4, 2024
0e8c0b8
add content_type to model in the XML schema.
quagla Sep 4, 2024
d3dfa6f
Add mjs_findElement() to find any element in a spec by name.
quagla Sep 4, 2024
ae49870
Add tree element support to `mjs_firstElement()` and `mjs_nextElement…
quagla Sep 4, 2024
8954a08
Add automatic free-joint alignment.
yuvaltassa Sep 4, 2024
79a5bd0
Add better boundary tests in polytope3 for EPA.
kbayes Sep 4, 2024
b502cee
Add note that XML saving requires that the spec first be compiled. Fi…
yuvaltassa Sep 4, 2024
b9822e4
Check hexahedron in polytope3 to make sure it contains the origin. Ot…
kbayes Sep 4, 2024
4a4db13
Update documentation to reflect that multi-threading is now used when…
yuvaltassa Sep 4, 2024
621ea29
Improve error message for keyframe size mismatch. Fixes #2041
yuvaltassa Sep 4, 2024
81618f9
Update doc for mj_addFileVFS and mj_addBufferVFS as VFS is no longer …
kbayes Sep 4, 2024
fe1d6da
Using temp directory for usd exporter test
abhihjoshi Sep 4, 2024
cd8ff44
Add eq_objtype to mjx.Model and support for connect constraint using …
thowell Sep 5, 2024
7b073b6
Add rne_postconstraint function to MJX. This function matches mj_rneP…
thowell Sep 5, 2024
2029646
Add subtreelinvel and subtreeangmom sensors to MJX.
thowell Sep 5, 2024
fa156ed
Add accelerometer to MJX.
thowell Sep 5, 2024
4fc6fb1
Remove libccd compatibility layer from native ccd.
kbayes Sep 6, 2024
e3cda3e
Fix alignment in mjxmacro.h
yuvaltassa Sep 6, 2024
56bb3ca
Merge pull request #1901 from abhihjoshi:usd-fixes
copybara-github Sep 6, 2024
61721f8
Set tolerance in GJK to zero for colliding discrete geoms.
kbayes Sep 8, 2024
4414574
Exit GJK early if geom distance doesn't need to be recovered.
kbayes Sep 8, 2024
4862b9e
Remove plugin support from Composite particles.
quagla Sep 9, 2024
9ff0a0a
Get viewer to run on glinux.
btaba Sep 11, 2024
6a25f92
Merge remote-tracking branch 'btaba/collision-handoff' into apagom
btaba Sep 11, 2024
a5f2f90
changes to convex.xml
btaba Sep 11, 2024
a9b9f3d
ycb 6
btaba Sep 11, 2024
f26182c
JIT just the narrowphase - part 1.
btaba Sep 11, 2024
4c60db4
JIT just the narrowphase - part 2.
btaba Sep 11, 2024
c5f8b70
JIT just the narrowphase - part 3.
btaba Sep 11, 2024
83161b3
JIT just the narrowphase - part 4.
btaba Sep 11, 2024
116244a
JIT just the narrowphase - part 5.
btaba Sep 11, 2024
93f174b
JIT just the narrowphase - part 6.
btaba Sep 11, 2024
76535cc
JIT just the narrowphase - part 6.
btaba Sep 11, 2024
ab44fd1
add comments in gjk.epa.cuh and add variables for parameters in .py
sohyeon-ag Sep 17, 2024
e36ea38
bug fix in the ellipsoid support function
sohyeon-ag Sep 17, 2024
771b7df
safer normalization
sohyeon-ag Sep 19, 2024
137b57b
Merge pull request #1 from sohyeonjeong/apagom
btaba Sep 19, 2024
0cae4dc
small changes
btaba Sep 19, 2024
8c42c1e
Add keyframe in convex.xml
btaba Sep 19, 2024
3b7f742
fixed normals in GetMultipleContacts
sohyeon-ag Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
68 changes: 68 additions & 0 deletions .github/DISCUSSION_TEMPLATE/Asking-for-Help.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
body:
- type: textarea
attributes:
label: Intro
description: Who are you, what do you use MuJoCo for?
value: |
Hi!

I am a ([graduate / undergrad] student / professor / researcher) at XYZ, I use MuJoCo for my research on ABC.
validations:
required: true
- type: textarea
attributes:
label: My setup
description: MuJoCo / MJX version, API (C or Python), architecture, OS + version.
validations:
required: true
- type: textarea
attributes:
label: My question
description: What you are trying to do, what problem have you encountered?
- type: textarea
attributes:
label: Minimal model and/or code that explain my question
description: Please include a loadable MJCF, not a partial snippet. If your model requires binary assets to load, attach a zip file.
value: |
If you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue).

Model:
<details>
<summary>minimal XML</summary>

```XML

<mujoco>
<worldbody>
<light pos="0 0 1"/>
<geom type="sphere" size="1" rgba="1 0 0 1"/>
</worldbody>
</mujoco>

```
</details>

Code:
```python
import mujoco
import mediapy as media
model = mujoco.MjModel.from_xml_string(xml)
data = mujoco.MjData(model)

with mujoco.Renderer(model) as renderer:
mujoco.mj_forward(model, data)
renderer.update_scene(data)

media.show_image(renderer.render())
```
validations:
required: false
- type: checkboxes
attributes:
label: Confirmations
options:
- label: I searched the [latest documentation](https://mujoco.readthedocs.io/en/latest/overview.html) thoroughly before posting.
required: true
- label: I searched previous [Issues](https://github.com/google-deepmind/mujoco/issues) and [Discussions](https://github.com/google-deepmind/mujoco/discussions), I am certain this has not been raised before.
required: true

92 changes: 92 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug-Report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: 🐛 Bug Report
description: >-
Please only use this if you're sure you've found a bug. Thanks! 🙏
labels: bug
body:
- type: textarea
attributes:
label: Intro
description: Who are you, what do you use MuJoCo for?
value: |
Hi!

I am a ([graduate / undergrad] student / professor / researcher) at XYZ, I use MuJoCo for my research on ABC.
validations:
required: true
- type: textarea
attributes:
label: My setup
description: MuJoCo / MJX version, API (C or Python), architecture, OS + version.
validations:
required: true
- type: textarea
attributes:
label: What's happening? What did you expect?
description: A clear and concise description of the current behaviour vs what you expected. If helpful to understand the issue, attach screenshots/videos.
value: |
Setting `rgba="1 0 0 1"` renders as **green**, I expected it to render as **red**.

Here is a screen-shot showing a green sphere:
validations:
required: true
- type: textarea
attributes:
label: Steps for reproduction
description: Steps to reproduce the issue.
value: |
1. Load the model below.
2. Run the code below.
3. See green sphere (should be red).
validations:
required: true
- type: textarea
attributes:
label: Minimal model for reproduction
description: Please include a loadable MJCF, not a partial snippet. If your model requires binary assets to load, attach a zip file.
value: |
If you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue).

<details>
<summary>minimal XML</summary>

```XML

<mujoco>
<worldbody>
<light pos="0 0 1"/>
<geom type="sphere" size="1" rgba="1 0 0 1"/>
</worldbody>
</mujoco>

```
</details>
validations:
required: false
- type: textarea
attributes:
label: Code required for reproduction
description: Code required for reproduction of the bug.
value: |
```python
import mujoco
import mediapy as media
model = mujoco.MjModel.from_xml_string(xml)
data = mujoco.MjData(model)

with mujoco.Renderer(model) as renderer:
mujoco.mj_forward(model, data)
renderer.update_scene(data)

media.show_image(renderer.render())
```
validations:
required: false
- type: checkboxes
attributes:
label: Confirmations
options:
- label: I searched the [latest documentation](https://mujoco.readthedocs.io/en/latest/overview.html) thoroughly before posting.
required: true
- label: I searched previous [Issues](https://github.com/google-deepmind/mujoco/issues) and [Discussions](https://github.com/google-deepmind/mujoco/discussions), I am certain this has not been raised before.
required: true

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature-Request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 🚀 Feature request
description: Submit a proposal/request for a new MuJoCo feature
labels: enhancement
body:
- type: textarea
attributes:
label: The feature, motivation and pitch
description: >
A clear and concise description of the feature proposal. Please outline the motivation for the proposal. Is your feature request related to a specific problem? e.g., *"I'm working on X and would like Y to be possible"*. If this is related to another GitHub issue, please link here too.
validations:
required: true
- type: textarea
attributes:
label: Alternatives
description: >
A description of any alternative solutions or features you've considered, if any.
- type: textarea
attributes:
label: Additional context
description: >
Add any other context or screenshots about the feature request.
- type: markdown
attributes:
value: >
Thanks for contributing 🎉!

48 changes: 0 additions & 48 deletions .github/ISSUE_TEMPLATE/ask_for_help.md

This file was deleted.

25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 🙏 Asking for Help
about: Start a new discussion
url: https://github.com/google-deepmind/mujoco/discussions/categories/asking-for-help
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

17 changes: 16 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,30 @@ jobs:
fi
source venv/bin/activate
python -m pip install --upgrade --require-hashes -r "${repo}/python/build_requirements.txt"
python -m pip install --upgrade --require-hashes -r "${repo}/python/build_requirements_usd.txt"
- name: Configure MuJoCo
run: >
mkdir build &&
cd build &&
cmake ..
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF
-DCMAKE_INSTALL_PREFIX:STRING=${{ matrix.tmpdir }}/mujoco_install
-DMUJOCO_BUILD_EXAMPLES:BOOL=OFF
${{ matrix.cmake_args }}
- name: Build MuJoCo
working-directory: build
run: cmake --build . --config=Release ${{ matrix.cmake_build_args }}
- name: Copy in the correct VC runtime DLLs (workaround for actions/runner-images#10004)
if: ${{ runner.os == 'Windows' }}
working-directory: build
shell: powershell
run: |
Copy-Item (Join-Path `
((Get-ChildItem -Directory `
-Path "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.*" |
Sort -Descending | Select-Object -First 1).FullName
) 'x64\Microsoft.VC143.CRT\*.dll') "bin\Release"
- name: Test MuJoCo
working-directory: build
run: ctest -C Release --output-on-failure .
Expand Down Expand Up @@ -182,6 +194,7 @@ jobs:
cd build &&
cmake ..
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF
-Dmujoco_ROOT:STRING=${{ matrix.tmpdir }}/mujoco_install
${{ matrix.cmake_args }}
- name: Build samples
Expand All @@ -194,6 +207,7 @@ jobs:
cd build &&
cmake ..
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=OFF
-Dmujoco_ROOT:STRING=${{ matrix.tmpdir }}/mujoco_install
${{ matrix.cmake_args }}
- name: Build simulate
Expand Down Expand Up @@ -225,6 +239,7 @@ jobs:
- name: Test Python bindings
if: ${{ runner.os != 'Windows' }}
shell: bash
working-directory: python/dist
env:
MUJOCO_GL: disable
run: >
Expand All @@ -250,7 +265,7 @@ jobs:
shell: bash
run:
source ${{ matrix.tmpdir }}/venv/bin/activate &&
pytest -n auto -v --pyargs mujoco.mjx
pytest -n auto -v -k 'not IntegrationTest' --pyargs mujoco.mjx
- name: Notify team chat
shell: bash
env:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*.egg-info/
build/
build_cmake/
python/dist/

# Exclude macOS folder attributes
.DS_Store
Expand All @@ -29,3 +30,4 @@ Info.framework.plist
__pycache__/
*.py[cod]
*$py.class
mjx/mujoco/mjx/mjx_cuda_collision/tasks_local.sh
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set(MSVC_INCREMENTAL_DEFAULT ON)

project(
mujoco
VERSION 3.1.5
VERSION 3.2.3
DESCRIPTION "MuJoCo Physics Simulator"
HOMEPAGE_URL "https://mujoco.org"
)
Expand Down Expand Up @@ -59,6 +59,7 @@ set(MUJOCO_HEADERS
include/mujoco/mjmodel.h
include/mujoco/mjplugin.h
include/mujoco/mjrender.h
include/mujoco/mjspec.h
include/mujoco/mjthread.h
include/mujoco/mjtnum.h
include/mujoco/mjui.h
Expand Down
Loading