Alessio Quaglino
2da15cf137
Add flex elasticity stiffness matrix to mjModel.
...
PiperOrigin-RevId: 675101645
Change-Id: Ic169c108b9eece3657ea4ec211df357abe615b7e
2024-09-16 05:00:54 -07:00
Alessio Quaglino
33e56ccb88
Remove edge length computations from elasticity plugins.
...
Read the lengths from mjModel and mjData flex arrays.
PiperOrigin-RevId: 673116608
Change-Id: Iffa209abb7443707effaffb5bda99345399fac1c
2024-09-10 14:54:53 -07:00
Alessio Quaglino
4862b9e765
Remove plugin support from Composite particles.
...
This functionality is replaced by FlexComp.
PiperOrigin-RevId: 672503965
Change-Id: I58953267de285f82e416f9f60576a336b7d0da4c
2024-09-09 04:58:26 -07:00
Alessio Quaglino
195bd32aa6
Add a check for mesh dimension in the elasticity.solid plugin. Fixes #1647 .
...
PiperOrigin-RevId: 637905358
Change-Id: I1432a8fe054752bc962174548da3c1f81deb6555
2024-05-28 08:18:12 -07:00
Alessio Quaglino
80674149ce
Allow pinning flexes to non-simple bodies. Fixes #1270 .
...
PiperOrigin-RevId: 598865882
Change-Id: I105ff1910a7d67f5b7bcb46bcef0e5e388ec08ea
2024-01-16 09:32:26 -08:00
Alessio Quaglino
7d8d4d398e
Make elasticity plugins compatible with flex pins. Fixes #1235 .
...
Before change:
poncho 18.20s
poncho_flex 44.60s
floppy 4.70s
floppy_flex 6.43s
After change:
poncho 18.23s
poncho_flex 44.62s
floppy 4.67s
floppy_flex 6.57s
PiperOrigin-RevId: 585952587
Change-Id: I0e7c1513f64c7ab1e6ad71e2168b4467c042b46f
2023-11-28 06:13:43 -08:00
Alessio Quaglino
40d927c9fa
Move 2d and 3d plugin force computation to elasticity.h.
...
Change physical properties of `floppy_flex.xml` to resemble `floppy.xml`.
Make `Membrane` backward compatible with `Composite`.
PiperOrigin-RevId: 577190384
Change-Id: I5bc56ec62faa134156e839bec45d685c22eba5c4
2023-10-27 07:18:08 -07:00
Alessio Quaglino
d67b8c6251
Add membrane plugin (2D Flex elastic stiffness).
...
PiperOrigin-RevId: 574109411
Change-Id: I4a701d8189cecf540cd200bd30cb4582f3c7dd43
2023-10-17 04:55:33 -07:00
Alessio Quaglino
110ade1435
Update Solid and Shell plugins to use FlexComp.
...
PiperOrigin-RevId: 573755821
Change-Id: I3b8d7fb27f0e940038fa9fd2b26ecc746df4f7ac
2023-10-16 03:03:06 -07:00
Alessio Quaglino
273c23038c
MakeParticle and elasticity plugin refactoring.
...
- Removed the explicit dependency on a plugin name.
- Creation of particles from user-defined vertices (if a plugin is present).
- Add skin support for an irregular mesh
- Fixes #642 and #674 .
PiperOrigin-RevId: 561313771
Change-Id: I450f91f0d3b578cc18d97ed7180a0a8944b7dd41
2023-08-30 05:40:27 -07:00
Yuval Tassa
30b4309af9
Rename mjpPlugin.capabilities -> mjpPlugin.capabilityflags
...
PiperOrigin-RevId: 495080532
Change-Id: I81743472b816a331890a7cb05bfb7a89ebf07ff9
2022-12-13 11:33:27 -08:00
Alessio Quaglino
b712e0757e
Define kNumEdges and kNumVerts constants in Solid plugin.
...
PiperOrigin-RevId: 493587525
Change-Id: Ifa82211a4dfc3b288825b0961c48fc679aae204c
2022-12-07 06:30:40 -08:00
Saran Tunyasuvunakool
e4f1d584ad
Add control plugin API.
...
PiperOrigin-RevId: 493311715
Change-Id: Iccd99fb26004f39832818e378f01f9149a0e3e3b
2022-12-06 08:23:49 -08:00
Alessio Quaglino
b14d9bf75b
Fix duplicate symbols in plugin DLL.
...
PiperOrigin-RevId: 491340247
Change-Id: If559d60371ad604b94b92efd01ed6de9ecf6f2b0
2022-11-28 07:39:01 -08:00
Alessio Quaglino
d0b1a97338
Deformable solid plugin for particles.
...
Using coordinate-free formula equivalent to linear finite elements.
PiperOrigin-RevId: 491317615
Change-Id: I096b9a56075bbb630f64bfffac8a8d66457e5e2d
2022-11-28 05:32:30 -08:00