Commit Graph

92 Commits

Author SHA1 Message Date
erwincoumans
4fbecfeddc
Revert "Revert "Reduced Deformable Model"" 2022-03-07 16:35:07 -08:00
erwincoumans
3df6e1a721
Revert "Reduced Deformable Model" 2022-03-07 15:38:32 -08:00
jingyuc
41ce1cca24 clean up initialization and the rigid flag 2022-02-20 02:27:18 -08:00
Jingyu Chen
ca334946a7 fixed the uninitialized values in FreeFall example 2022-02-18 11:18:04 -08:00
Jingyu Chen
c159305910 fixed the incorrect solverBody pairing issue of the reduced deformable solver. still have the problem that the reduced deformable sometimes doesn't show up 2022-02-13 21:30:11 -08:00
jingyuc
f8abdd1fe1 clean up: remove unused example, rename the benchmark example 2022-01-30 22:33:24 -08:00
jingyuc
11b79c3838 clean up: rename folder 2022-01-30 21:30:43 -08:00
jingyuc
6a78b4bb07 clean up: rename the *ReducedSoftBody* as *ReducedDeformableBody* for clarity 2022-01-30 21:12:05 -08:00
jingyuc
bfef75f871 clean up: reverted some unnecessary changes 2022-01-30 17:41:44 -08:00
Jingyu Chen
c9a2d733ad modified benchmark example 2021-12-09 20:39:40 -05:00
Jingyu Chen
f19133e410 allow multiple reduced deformable object in one sim 2021-12-09 16:55:10 -05:00
jingyuc
0b641b51d7 add benchmark comparison example. change ReduceddMotorGrasp example to the real world dimensions 2021-11-21 02:11:55 -05:00
jingyuc
0279a5a500 add reduced deformable torus. minor clean up in btReducedSoftBodyHelpers 2021-11-17 01:09:18 -05:00
jingyuc
007eea15cb no longer need to use start_modes, because all the rigid modes are not saved in .bin files in the preprocessor 2021-11-16 21:05:48 -05:00
jingyuc
18f81dcaea re-compute all the modes using the new python preprocessor. clean up initialization 2021-11-16 17:23:19 -05:00
jingyuc
676221fb3e clean up the binary files loader, so that it can work with files without the non-rigid modes 2021-11-14 02:17:22 -05:00
jingyuc
c2072b5538 add mass scaling for reduced deformable model 2021-11-11 12:27:36 -05:00
jingyuc
e386b55543 add reduced deformable urdf parser 2021-11-04 16:12:08 -04:00
jingyuc
3ec4d68323 add grasping comparison 2021-11-02 17:54:56 -04:00
jingyuc
df661fde15 allow set gravity in deformable world. add transformTo for the reduced deformable object 2021-11-01 15:49:00 -04:00
jingyuc
2255e26e14 add a function to compute the total angular momentum 2021-10-28 14:12:19 -04:00
jingyuc
e2f6430d19 fixed a assertion error in btReducedDeformableSolver. clean up outputs 2021-10-25 17:28:19 -04:00
jingyuc
b5325a265f much better convergence after separating impulse in different directions 2021-10-22 01:44:02 -04:00
jingyuc
3a3d8c7a3a re-write the fixed constraint. the drift is smaller, but still need some improvements 2021-10-21 23:14:12 -04:00
jingyuc
d945e48af2 clean up the damping codes 2021-10-13 23:39:36 -04:00
jingyuc
07cfa9a433 add cfm and penetration correction to the velocity error for the contact constraint. clean up btReducedSoftBody class. momenumtum conservation WIP 2021-10-07 15:10:57 -04:00
jingyuc
1949710131 clean up momentum conservation test example and the springboard example 2021-10-04 17:36:17 -04:00
jingyuc
c4da596778 now support scaling of reduced deformable object. the order of applying impulse is changeable now 2021-10-04 11:56:29 -04:00
jingyuc
1bee1ba4c4 support applying impulse in alternating order. change several example setups. 2021-09-28 00:55:12 -04:00
jingyuc
107c5526eb reduced motor grasp example is working 2021-09-24 13:16:33 -04:00
jingyuc
5e0a805d73 separate two tangential direction for the multibody vs reduced deformable contact 2021-09-21 17:35:35 -04:00
jingyuc
9de3d25172 testing multibody vs reduced deformable friction. save files 2021-09-21 16:22:12 -04:00
jingyuc
bfd3d1cd8d normal impulse for multibody vs reduced deformable contact is working 2021-09-15 16:45:20 -04:00
jingyuc
19375d6569 grasping cube set up 2021-09-13 23:05:21 -04:00
jingyuc
593f387a06 demo setup 2021-09-13 22:48:08 -04:00
jingyuc
1c8afcf54f clean up reduced body creation 2021-09-12 23:21:20 -04:00
jingyuc
b4efd91476 add support for damping. the fixed constraint is working again with the deltaImpulse form 2021-09-12 21:53:23 -04:00
jingyuc
9d1aafc51c better support of initial rotation. 2021-09-10 13:34:34 -04:00
jingyuc
e62c42f54c rotate the modes when the mesh has a initial transformation. new grasping example with motor WIP 2021-09-09 18:35:07 -04:00
jingyuc
ce765a8a88 friction is now applied in a way similar to what the rigid body solver does 2021-09-08 19:00:55 -04:00
jingyuc
eef3b73cd2 fixed a sign issue in the friction of the reduced deformable vs moving rigid body contact 2021-09-07 18:38:13 -04:00
jingyuc
3a84b05058 Added a new friction slope example (ground is rotating). Fixed a problem in the reduced deformable's friction (now clamp the maximum tangential impulse based on the tangential velocity impulse at the current iteration, not the total tangential velocity at the beginning) 2021-09-06 17:56:32 -04:00
jingyuc
df07b42318 contact with moving rigid body is working. There is a sign error when calculating the deltaVelocity of the solverBody 2021-09-03 17:32:26 -04:00
jingyuc
f2e114fc81 fixed the wrong dimension used to calculate the inertia tensor in btReducedSoftBodyHelpers 2021-09-03 14:47:31 -04:00
jingyuc
e70fc6453b add support for initial rotation 2021-09-02 21:32:16 -04:00
jingyuc
93e00054e3 set up reduced grasping example 2021-09-02 13:35:14 -04:00
jingyuc
c2601663e4 debugging moving rigid vs reduced deformable contact 2021-09-01 16:36:52 -04:00
jingyuc
42fac2e364 fixed a minor issue: disable deactivation for the reduced collision example 2021-08-31 01:33:38 -04:00
jingyuc
b1803afbb9 collision with moving rigid body seems to be working. checking why there is side motion 2021-08-30 13:19:33 -04:00
jingyuc
3e76b11d46 add check for momentum conservation 2021-08-26 13:41:26 -04:00