Alessio Quaglino
b0daccc234
Allow meshes with flipped faces if exactmeshinertia is false.
...
Fixes #1529 .
PiperOrigin-RevId: 617824308
Change-Id: I926c385475dd79f07e88fe1925ecbb2adb4f8917
2024-03-21 06:36:07 -07:00
Baruch Tabanpour
624becca52
Fix some more bugs in sphere/capsule-convex collisions.
...
PiperOrigin-RevId: 617646119
Change-Id: Ie0c99ccbe1dd2a18663d45a111e77fed4112e638
2024-03-20 15:46:13 -07:00
Alessio Quaglino
07da7336e8
Set mesh visual flag regardless of discardvisual.
...
PiperOrigin-RevId: 617428859
Change-Id: I427d888e6caa2fe1ae6597ca7165c600c9779cc7
2024-03-20 01:15:52 -07:00
Erik Frey
9b86329797
Add 01-10 humanoids for benchmarking.
...
PiperOrigin-RevId: 617318016
Change-Id: Ic5dc0623266d4d6bef6da97d03370010e2817a2a
2024-03-19 15:48:48 -07:00
Matthew Bennice
20c8e3e43b
Implement basic USD test
...
PiperOrigin-RevId: 617302442
Change-Id: Ic598df9757288640b5f35c4e740958884b1b4698
2024-03-19 14:53:18 -07:00
Baruch Tabanpour
b4694ee331
Fix bug in MJX viewer.
...
PiperOrigin-RevId: 617297574
Change-Id: I34fb797db47308a8b2f29a6c54f2b59d77f84a32
2024-03-19 14:36:15 -07:00
Alessio Quaglino
cc85a38f3c
Add mjm_attachBody to the C API.
...
PiperOrigin-RevId: 617207000
Change-Id: I1fe59ba0d79938a4a383b115997c31dd6c71b8e5
2024-03-19 10:01:00 -07:00
Yuval Tassa
91192393a0
Add material and nonzero elevation data to hfield in testdata/model.xml
...
PiperOrigin-RevId: 617011327
Change-Id: I46f4fdbd67027003a710a365d0ad29f9158ff85f
2024-03-18 18:26:13 -07:00
Abhishek Joshi
df88171ae1
removing unwanted code in __init__ function temporarily
2024-03-18 18:59:22 -05:00
Abhishek Joshi
765ba22cd9
Merge branch 'camera-bug-fixes' into demo_script
2024-03-18 15:50:57 -05:00
Abhishek Joshi
983837e830
updating gitignore
2024-03-18 15:49:33 -05:00
Abhishek Joshi
d417356d73
removing tar file
2024-03-18 15:28:07 -05:00
Abhishek Joshi
45ecad1c9e
updating gitignore to exclude python distribution
2024-03-18 15:26:13 -05:00
Abhishek Joshi
66c044fcf4
adding demo script branch
2024-03-18 15:23:46 -05:00
Kevin Zakka
c16a23d6c5
Fix typo in least squares notebook.
...
PiperOrigin-RevId: 616927630
Change-Id: I06f361a6ec55f37123bd9eced29111e1920b9dc7
2024-03-18 13:23:07 -07:00
Alessio Quaglino
372aa021d0
Add copy constructor and assignment to mjCModel.
...
PiperOrigin-RevId: 616850780
Change-Id: I7fedab2efa2a90fd7ce952eac4e195f77c5ff5bc
2024-03-18 09:25:27 -07:00
Nimrod Gileadi
de918a8b2d
Small cosmetic fixes to MakeBVH.
...
Remove the index member of BVElement, since it's redundant for the purpose of sorting. BVElement is now 32 bytes instead of 40, which should make things a bit better, as this data gets moved around during MakeBVH. Unfortunately, this has no measurable effect on the benchmark.
PiperOrigin-RevId: 616806520
Change-Id: I3b8a28c42a4a21dc25985e63ac57764fdb669afa
2024-03-18 06:19:33 -07:00
Alessio Quaglino
acaf86a96f
Fix input array size in mju_mulMatMat3.
...
PiperOrigin-RevId: 616802192
Change-Id: I4dbc07d392b23a7014331ab850b685c1b82d3dcf
2024-03-18 06:00:45 -07:00
Yuval Tassa
8afcfd0fa1
Add custom elements to testdata/model.xml
...
PiperOrigin-RevId: 616752352
Change-Id: Iaaee19657e97f4962d9a2fe6e7671f3ce832264a
2024-03-18 01:58:52 -07:00
Yuval Tassa
dd2580e546
Add internal functions for 3x3 matmul.
...
PiperOrigin-RevId: 616749614
Change-Id: I7f3ac2ffc826076b6c97424324f03ecd9ccd4655
2024-03-18 01:44:10 -07:00
Copybara-Service
398fd108b4
Merge pull request #1508 from Balint-H:fix/limit-auto-parsing
...
PiperOrigin-RevId: 616680348
Change-Id: I55edeec1d522ab6f04514747b3c4ad5dfb2cd45f
2024-03-17 18:39:26 -07:00
Baruch Tabanpour
e95159b4f6
Small fix to mjx tutorial.
...
PiperOrigin-RevId: 616235636
Change-Id: I38675c032bdca8f26ab0550896928d097ee86653
2024-03-15 14:00:28 -07:00
Kyle Bayes
74d3d8cb4e
Cache OBJ files in MuJoCo compiler.
...
PiperOrigin-RevId: 616211896
Change-Id: I3b765f4529957914e6154f0e62ef36fd9df93c96
2024-03-15 12:32:06 -07:00
Yuval Tassa
bf66801bc9
Move printing of model BVH data to the end, make it more compact.
...
PiperOrigin-RevId: 616186922
Change-Id: Id6368a5efd831698f182fe97251b9608312c663c
2024-03-15 11:10:15 -07:00
Nimrod Gileadi
c5aa22b177
Speed up MakeBVH.
...
1. Avoid creating unnecessary temporary vectors for the left and right sides of the recursive call, since std::nth_element already splits the array in the right way.
2. Filter contype and conaffinity before calling MakeBVH. This only affects the top level of the MakeBVH recursion.
3. Avoid repeatedly computing mju_rotVecQuat for each element at each nesting level.
This is roughly a 2x speedup.
PiperOrigin-RevId: 616152673
Change-Id: I6ce7d99cd4a923c43156beb3f2493c649602260e
2024-03-15 09:24:40 -07:00
Kyle Bayes
c7a8b104f9
Add modified callback for VFS resource provider.
...
PiperOrigin-RevId: 616152275
Change-Id: I417f9b204eaa1eb9fc68a15927f86031dcd20575
2024-03-15 09:23:29 -07:00
Kyle Bayes
c42868a91b
Update logic for OS filesystem timestamps for caching.
...
PiperOrigin-RevId: 616138153
Change-Id: I0ce966546bc4af04e57b983e27bbd75a94377237
2024-03-15 08:31:56 -07:00
Yuval Tassa
a23cb4d22c
Cite Vaxenburg et al. in fluid force documentation.
...
PiperOrigin-RevId: 616114884
Change-Id: I0e7db61820c6ece118dee6871b8a526fdb79fb02
2024-03-15 06:57:49 -07:00
Kyle Bayes
9fef77193f
Fix V -> B typo in lookup table for encoding Base64.
...
PiperOrigin-RevId: 615968363
Change-Id: I1dae697462afcae48442610b1fe4acab93b6d62d
2024-03-14 18:29:21 -07:00
Baruch Tabanpour
2386353b02
Throw an error for margin/gap with meshes.
...
PiperOrigin-RevId: 615937263
Change-Id: I3289cf1b1fec93385cc78a01e53866427453db59
2024-03-14 16:21:05 -07:00
Erik Frey
02c62c118c
Fix bug where treedef for mjx.make_data doesn't match mjx.put_data.
...
PiperOrigin-RevId: 615928973
Change-Id: I08af97ac0300b9d51c1f4b46d48dde98d24197fa
2024-03-14 15:51:15 -07:00
Baruch Tabanpour
e5811ce2b4
Further improve edge contact for capsule-convex.
...
PiperOrigin-RevId: 615900645
Change-Id: I7fd495b10b7b3121da7aa5ed15cde413d916bc84
2024-03-14 14:15:44 -07:00
Baruch Tabanpour
f818a16ae4
Fix the bugfix for capsule-convex collisions.
...
PiperOrigin-RevId: 615809115
Change-Id: I183336630a76a9ada5b0730559b49779dd94f8e5
2024-03-14 09:41:33 -07:00
Abhishek Joshi
7013c288bd
bug fix for no camera; changed objid argument to obj_name
2024-03-14 09:02:34 -05:00
Balint-H
c2bef232b6
Handle the implicit auto value for limits now written by the compiler to the xml
2024-03-14 12:38:56 +00:00
Yuval Tassa
069708a599
Fix link to least-squares tutorial in the README.
...
PiperOrigin-RevId: 615604395
Change-Id: If19e7d3eefb4b17b60d328aa3a62e48b8c92b227
2024-03-13 18:05:28 -07:00
Baruch Tabanpour
f2e107f7aa
Fix deep penetration for sphere/capsule-convex.
...
PiperOrigin-RevId: 615539264
Change-Id: I6a5aac0574ddcb39bae8aafaf63f9561ca69288b
2024-03-13 14:12:42 -07:00
Yuval Tassa
adc4b92c1b
Document nonlinear least-squares tutorial.
...
PiperOrigin-RevId: 615496587
Change-Id: I97975a4dc99a599afd1eb6964d0ca0cf3d9fcc0e
2024-03-13 11:56:42 -07:00
Alessio Quaglino
bda03af49a
Add childclass support to frames.
...
PiperOrigin-RevId: 615487831
Change-Id: I0e4d2efd52211701b4286a0b0de84424470a3a47
2024-03-13 11:31:22 -07:00
Kyle Bayes
0d16587135
Don't read from file until mju_readResource is called.
...
PiperOrigin-RevId: 615434757
Change-Id: I96a1e77f74203e91bc62dc24ac9225810fcacb20
2024-03-13 08:55:54 -07:00
Yuval Tassa
40baa51072
Add tutorial notebook for mujoco.minimize module.
...
PiperOrigin-RevId: 615410341
Change-Id: If9748ab56fb04e5203024327e2422a3737d2aab8
2024-03-13 07:34:36 -07:00
Alessio Quaglino
693e3c66c8
Add copy constructors and assignments to user_objects.
...
All of the constructors and assignments operators are declared by this CL, but only those that are currently used are implemented here.
PiperOrigin-RevId: 615369559
Change-Id: I9f8cc4a7cd2070362baba04f2af4c5567a696596
2024-03-13 04:50:05 -07:00
Yuval Tassa
e42f9c6490
Tweaks to basic tutorial notebook.
...
PiperOrigin-RevId: 615368113
Change-Id: I888b252c75a1f6253dc78494e8348d00e8283ed7
2024-03-13 04:42:45 -07:00
Yuval Tassa
b61a09aa95
Delete redundant blank lines.
...
PiperOrigin-RevId: 615359482
Change-Id: If1f850d560938b0c8cf6dd13c83ed72d1faae4cc
2024-03-13 04:03:30 -07:00
Kevin Zakka
c4562ac61b
Cleanup asset/mesh in XML doc.
...
PiperOrigin-RevId: 615156721
Change-Id: Ia2a6051506f9b3f4f2d7919893381f40f3e037df
2024-03-12 13:40:40 -07:00
Yuval Tassa
1fb3ab26f0
Tweaks to LQR tutorial notebook:
...
- Unify all imports in one cell.
- Make final motion more interesting by adding more noise to joints which are not critical to balancing.
PiperOrigin-RevId: 615100505
Change-Id: I8302e441b3ca52d5134c317a35f99c5f74bac36b
2024-03-12 10:52:34 -07:00
Alessio Quaglino
c418139fec
Add copy constructor to mjCBody.
...
PiperOrigin-RevId: 615050891
Change-Id: I420e19a0444e93e5ec99da10f5cc20b429802d3e
2024-03-12 08:33:35 -07:00
Alexis Fraudita
a2a770453e
Copybara import of the project:
...
--
1fcff13dfdc70519c4d33e17ade4be6afb2960a2 by Alexis <cuatroalejandro@gmail.com >:
add multipleBodies test for mj_loadXML
--
34270fa57946e68a82fa55313b64a5a56e5aa080 by Alexis <cuatroalejandro@gmail.com >:
add some space
--
3594020eb9be57cb6a2eef0baeca97cee8f25aab by Alexis <cuatroalejandro@gmail.com >:
remove TODO comment in xml_api_test
COPYBARA_INTEGRATE_REVIEW=https://github.com/google-deepmind/mujoco/pull/1487 from alefram:alexis-test 3594020eb9be57cb6a2eef0baeca97cee8f25aab
PiperOrigin-RevId: 615033458
Change-Id: I05fe5659b07b3226b82d2562e31bcd73f150b089
2024-03-12 07:31:11 -07:00
Alessio Quaglino
93cbdaee07
Move mjC objects attributes to parent classes in user_objects.
...
This is in preparation of adding copy constructors for all of the objects.
PiperOrigin-RevId: 615014168
Change-Id: I24801d71d74dd6756167a6c438f9573825a396b5
2024-03-12 06:06:51 -07:00
Silvio Traversaro
d90d57609e
Copybara import of the project:
...
--
4883e8aacd531d8dbc3551ba7cb4e3b4694dda1e by Silvio Traversaro <silvio@traversaro.it >:
Fix plugin related comment in simulate
The comment was outdated after https://github.com/google-deepmind/mujoco/commit/2ebc5f097b1a5fbbe276250ad1d13966510d1291 .
COPYBARA_INTEGRATE_REVIEW=https://github.com/google-deepmind/mujoco/pull/1499 from traversaro:patch-37 4883e8aacd531d8dbc3551ba7cb4e3b4694dda1e
PiperOrigin-RevId: 615005350
Change-Id: I93d746f996de25b871cc1bc5651308d44382feef
2024-03-12 05:33:33 -07:00