Commit Graph

1450 Commits

Author SHA1 Message Date
Johannes Brust
fa1d1fc8ee Add deformable contact forces info
- add contact information for collisions between rigid and soft bodies
- collisions between different soft bodies are not supported
- uses impulse acting on tetrahedral nodes for calculation of forces
- contact points are approximated by node positions
- multiple forces acting on identical nodes are accumulated

(cherry picked from commit 5795bd676f)
2022-12-19 10:59:29 +01:00
erwin coumans
a899725cc6 clear the m_userVisualShapeHandles at resetSimulation to avoid memory build-up (not a leak at exit, since memory was del-allocated in the destructor) 2022-04-25 19:32:25 -07:00
Erwin Coumans
a3ec165915 remove the 'override' keyword, Bullet is C++2003 2022-04-24 16:12:40 -07:00
erwincoumans
ea715cc3b3 Merge pull request #4196 from erwincoumans/master
remove debugging lines
2022-03-09 20:48:02 -08:00
Chuyuan Kelly Fu
d63a721eaa fix 2022-03-09 10:00:19 -08:00
Chuyuan Kelly Fu
158eb6d63b fix 2022-03-08 22:00:14 -08:00
Erwin Coumans
e942db6f4d remove debugging lines 2022-03-08 07:48:43 -08:00
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
erwincoumans
a8e1ce8273 Merge pull request #3996 from wkentaro/addUserDebugPoints
Add pybullet.addUserDebugPoints
2022-03-06 20:54:09 -08:00
Erwin Coumans
e262b2b7ee fix premake4 build 2022-03-05 18:41:55 -08:00
erwincoumans
b74bdfbbcf Merge pull request #4187 from asuka-mio/master
fix build with bionic c
2022-03-05 13:51:34 -08:00
erwincoumans
0ec6091efb Merge pull request #4170 from fuchuyuan/reconstruct
Reconstruct
2022-03-05 13:49:36 -08:00
erwincoumans
e32c0674e7 Merge pull request #4172 from fuchuyuan/contact
Provide Deformable-Deformable contact for request contact info
2022-03-05 13:48:47 -08:00
Chuyuan Kelly Fu
3fd61413df bug fix 2022-03-03 18:20:35 -08:00
Chuyuan Kelly Fu
cf185a2d53 format files 2022-03-03 18:11:58 -08:00
Chuyuan Kelly Fu
c9fe6638f8 limit num contacts reported. Add distance to Deformable Deformable contact 2022-03-03 18:05:50 -08:00
tarsin
187b2bbc68 fix build with bionic c 2022-03-04 09:28:18 +08:00
Chuyuan Kelly Fu
4b12767b60 add collision info 2022-03-03 12:03:06 -08:00
Chuyuan Kelly Fu
3088db22a2 bug fix 2022-03-02 21:43:01 -08:00
Jingyu Chen
e9a78e460c compile fix 2022-02-28 14:46:44 -08:00
jingyuc
ca9d9b3ee6 Merge branch 'bulletphysics:master' into master 2022-02-28 14:30:10 -08:00
erwincoumans
267f983498 Merge pull request #4178 from RanTig/rb-userdata
Also adds user data specified in URDF files to rigid bodies.
2022-02-24 11:21:46 -08:00
erwincoumans
58cde7b598 Merge pull request #4181 from erwincoumans/master
rename tiny_obj_loader.h namespace to bt_tinyobj to avoid conflicts
2022-02-24 09:22:53 -08:00
Erwin Coumans
9bfca83a8f rename tiny_obj_loader.h namespace to bt_tinyobj to avoid conflicts 2022-02-24 08:32:34 -08:00
Tigran Gasparian
d26dbef2dc Also adds user data specified in URDF files to rigid bodies (previously,
only multi bodies were added correctly).
2022-02-23 16:45:52 +01:00
Chuyuan Kelly Fu
372c8e07bc fix inded in loop 2022-02-18 17:51:47 -08:00
Chuyuan Kelly Fu
807cf3d387 format commit 2022-02-18 17:49:26 -08:00
Chuyuan Kelly Fu
bdba9fa2e0 format changes 2022-02-18 17:49:26 -08:00
Chuyuan Kelly Fu
4e5b3f34c9 add API to get and set mesh velocity 2022-02-18 17:49:26 -08:00
Chuyuan Kelly Fu
236d39d2ec reset deformable velocity 2022-02-18 17:47:54 -08:00
Chuyuan Kelly Fu
07de08a38e request mesh velocity 2022-02-18 17:47:54 -08:00
erwincoumans
22ef34bb69 Revert "Add deformable contact forces info" 2022-02-18 16:14:53 -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
Jingyu Chen
1feb81463a change reduced deformable example set up in pybullet 2021-12-09 14:21:03 -05:00
erwincoumans
578523eab4 Merge branch 'master' into master 2021-12-06 12:38:25 -08:00
jyc-n
a018d63fb3 debug pybullet setup 2021-12-01 22:39:23 -05:00
jingyuc
9fae47667b add a flag to switch between the reduced deformable and full deformable 2021-11-23 17:40:04 -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
erwincoumans
ccafe333d1 Merge pull request #3979 from johbrust/deformableForces
Add deformable contact forces info
2021-11-13 22:32:43 -08:00
erwincoumans
88c04a8eae Merge pull request #4016 from stephentu/patch-1
Fix bug in server handling of inverse dynamics
2021-11-12 05:28:32 +00:00
jingyuc
c2072b5538 add mass scaling for reduced deformable model 2021-11-11 12:27:36 -05:00
jingyuc
7fafbd7718 reduced deformable is now working with pybullet 2021-11-05 18:02:15 -04:00
jingyuc
e386b55543 add reduced deformable urdf parser 2021-11-04 16:12:08 -04:00
jingyuc
0a6f278663 reduced deformable cube free fall example is now working in pybullet 2021-11-02 01:12:09 -04:00
jingyuc
d7fb9e8a92 c++ example for reduced deformable object 2021-11-01 16:10:27 -04:00
Chuyuan Fu
a2aada62ae add user data to deformable urdf 2021-10-29 17:46:03 -07:00
Stephen Tu
63446558cd Fix bug in server handling of inverse dynamics
The current implementation of processInverseDynamicsCommand has two issues:

1. For floating bases, the handler is not properly copying over the position and orientation from the client inputs.
2. For floating bases, the handler is ignoring the position of the joint angles from the client inputs. 

This CL fixes both issues. While the fix for (2) is straightforward, I am not sure whether or not the right pybullet API convention is to have (x, y, z, orn) passed in, or instead (orn, x, y, z). The former makes more sense to me and is what I implemented.
2021-10-28 12:52:15 -07:00
Tigran Gasparian
740d2b9783 Adds a request body info command for the physics direct command. This is
useful to incrementally sync the body state in the physics clients of
plugins (e.g. in response to a Body Added notification).
2021-10-26 18:31:33 +02:00