Commit Graph

76 Commits

Author SHA1 Message Date
Yuval Tassa 431f96572e Remove unused mjOption.apirate.
PiperOrigin-RevId: 815633571
Change-Id: Ib98f3eb2df47f96fa1fe6e987a3a0cd23a9479f6
2025-10-06 02:51:17 -07:00
Bálint Hodossy 3a035fc0a9 Remove trailing whitespaces from MjMeshfilter 2025-06-17 19:32:24 +02:00
Balint-H a58f8d0033 Add OBJ mesh support to Unity plugin 2025-01-21 15:11:27 +00:00
Bálint Hodossy 36cbef50b7 Allow loading obj meshes 2025-01-20 11:09:18 +00:00
Copybara-Service 4a40e3fd15 Merge pull request #1721 from stonfute:main
PiperOrigin-RevId: 704632980
Change-Id: Iaf90ef7443dd1c519a6df237dfbc4c33c28f179e
2024-12-10 03:17:08 -08:00
Balint-H 6b3d34d9be Fix swapped params in tendons on XML import 2024-11-14 17:32:28 +00:00
Yuval Tassa 088079eff0 Rename mpr_tolerance and mpr_iterations to ccd_tolerance and ccd_iterations.
PiperOrigin-RevId: 666438658
Change-Id: I23dbdf939b9ab581f0fca4445f95c5bb36f6b463
2024-08-22 12:01:54 -07:00
Bálint Hodossy 8ab7abf5af Use MuJoCo calculated cartesian axes for hinge and slide 2024-06-25 14:12:04 +01:00
stonfute 6147c2fc6e Fix MjHingeJoint.cs range with MakeLocaleInvariant 2024-06-05 15:56:23 +02:00
Copybara-Service d6712f2944 Merge pull request #1646 from Balint-H:fix/unity-sensornoise
PiperOrigin-RevId: 639722238
Change-Id: I80a941e97923169150f665fb3411605affcc0702
2024-06-03 03:49:20 -07:00
Bálint Hodossy 2aa30b188c Adjust formatting 2024-05-27 11:49:26 +01:00
Bálint Hodossy adbbcc4ff5 Track separate kv property for position actuators 2024-05-27 11:48:11 +01:00
Bálint Hodossy 161ed22299 Fix Unity tests for sensornoise attribute 2024-05-27 11:29:04 +01:00
Bálint Hodossy a9308a4420 Remove sensor noise properties 2024-05-10 16:12:51 +01: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
Copybara-Service 0631a406c4 Merge pull request #1470 from Balint-H:bugfix/unity-tendon-rendering
PiperOrigin-RevId: 612839845
Change-Id: Idf5b5cec4adc350b3ed36e902e2e52fbe9080281
2024-03-05 07:49:57 -08:00
Balint-H f70db6b0ee Remove unnecessary using 2024-03-04 13:51:08 +00:00
Balint-H 2f64cf36c5 Conditional compilation for Tendon visualization 2024-03-04 13:49:00 +00:00
Balint-H 1baa478b64 Fix rendering of tendons 2024-03-04 13:41:50 +00:00
Bálint Hodossy ee071242c6 Constrain MjScene EventHandlers as events, consistently use MjStepArgs 2024-01-26 14:35:03 +00:00
Copybara-Service 3b440921df Merge pull request #1268 from Balint-H:feature/unity-hmap-dyn
PiperOrigin-RevId: 598652839
Change-Id: I3285f041c5c2e3e9286f1bb106825ee20e7147e3
2024-01-15 12:54:06 -08:00
Tom Erez 2388b651e8 Unity plug-in: Fix for when xml file has no <compiler> section.
PiperOrigin-RevId: 598646137
Change-Id: Id27635dc3064f8568ae0d86c2cdee8c2d414dd2f
2024-01-15 12:04:26 -08:00
Copybara-Service c77f984d9b Merge pull request #1330 from Balint-H:fix/unity-joint-limits
PiperOrigin-RevId: 598603093
Change-Id: I441631e33e812988694f8eed48c719c6bab86148
2024-01-15 07:08:03 -08:00
Bálint Hodossy 66a0cd3b0b Perform autolimit check on actuators 2024-01-11 16:29:08 +00:00
Bálint Hodossy 3a00450d00 Rephrase condition for default limited definition so it's more intuitive 2024-01-11 16:20:13 +00:00
Bálint Hodossy 56b30d9d15 Check the autolimits attribute before assigning default values for joint limitedness 2024-01-11 16:09:06 +00:00
Bálint Hodossy 2c024164ea Edit hfield_data in Unity 2023-12-21 16:04:25 +00:00
Bálint Hodossy d0b505c67b Reformat scripts to better follow guidelines 2023-12-19 13:54:49 +00:00
Bálint Hodossy 28f19fbe7c Merge branch 'feature/unity-hmap-dyn' of https://github.com/Balint-H/mujoco into feature/unity-hmap-dyn
Merge in format from GitHub
2023-12-11 14:56:19 +00:00
Bálint Hodossy af133f4022 Fix whitespace placements 2023-12-11 14:54:55 +00:00
Balint-H d3429f97cc Merge branch 'main' into feature/unity-hmap-dyn 2023-12-07 14:07:21 +00:00
Bálint Hodossy 0b413656b8 Restrict access to height range properties of the HField shape 2023-12-07 14:02:21 +00:00
Bálint Hodossy 2adfd09b87 Rebuild scenes on terrain changes for dynamic heighfields 2023-12-07 13:34:33 +00:00
Copybara-Service e4359c04df Merge pull request #1253 from Balint-H:feature/unity-hmap
PiperOrigin-RevId: 588420615
Change-Id: I2340f2fc025017133644eeedacf94b5c83e04669
2023-12-06 07:32:45 -08:00
Bálint Hodossy 3e3687d022 Add functionality to synchronise rendered terrain to position of the geom 2023-12-05 18:49:32 +00:00
Bálint Hodossy f5a2879f9d Fix braces convention 2023-12-04 14:00:24 +00:00
Bálint Hodossy 8ec1e4e2b8 Add heightfield geom type with Unity terrain, import not yet supported 2023-12-04 13:55:38 +00:00
Bálint Hodossy d37881d241 Fix wrong units indicated in ball joint tooltip. 2023-11-23 11:38:21 +00:00
Bálint Hodossy 4fb1787a3b Use default value of memory option if not present in imported XML 2023-11-17 12:46:55 +00:00
Tom Erez 9952f1708c Remove collision option from Unity plug-in GUI.
PiperOrigin-RevId: 582978831
Change-Id: I97275438c730655a9c942526fa410bf006189968
2023-11-16 03:24:05 -08:00
Joss Moore ef699d4b6d Allow mocap bodies to be loaded by the Unity plugin.
PiperOrigin-RevId: 558735711
Change-Id: Ibc9a81cbf8ec4b979d5b325c822c1bffc1408509
2023-08-21 03:28:45 -07:00
Tom Erez 31c265782b add support for implicitfast integrator from GUI.
PiperOrigin-RevId: 532109571
Change-Id: Id9fbfad232ee7fdee8aff486b2d2b9b1b1eab258
2023-05-15 07:50:18 -07:00
Tom Erez 139328f86e Clarify error messages when Unity fails to step the scene.
PiperOrigin-RevId: 527486144
Change-Id: I4e889977e035e13557c114e875ea0ba32da79002
2023-04-26 23:30:06 -07:00
Benjamin Nauck 42c3faa462 Add support for fluid coefficients to Unity plugin 2023-02-20 18:46:16 +01:00
Benjamin Nauck 09bc934f25 Add support for fluid shapes to Unity plugin 2023-02-17 13:15:29 +01:00
Benjamin Nauck 5228ad1b2e Change default wind to the value from the doc 2023-02-13 10:21:30 +01:00
Benjamin Nauck e7a9447c03 Add gravcomp to body in unity plugin
The unity plugin is missing gravcomp which makes it impossible for buoyancy
2023-02-13 10:21:09 +01:00
Benjamin Nauck 9971993cdb Add support for implicit integrator type
The `implicit` option was added in the IntegratorType enum.
Using `@` prefix to avoid collision with reserved keyword.
2023-02-13 10:20:42 +01:00
Tom Erez f3c966796f Allow models without numerical suffixes.
This is important for MJPC, where some element special names (e.g., a site called "trace0", or different custom numeric fields) are used.

PiperOrigin-RevId: 502338391
Change-Id: I632b5d633c92b82b60160daeeb169693225640a3
2023-01-16 02:59:11 -08:00
Tom Erez eb8389fead Find MjScene at OnEnable: ensure MuJoCo compilation happens only once at startup.
PiperOrigin-RevId: 498655077
Change-Id: Ibed8f36a880426063b7729fc66b15c67adcc9a65
2022-12-30 18:37:59 -08:00