Commit Graph
811 Commits
Author SHA1 Message Date
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
erwincoumans ea715cc3b3 Merge pull request #4196 from erwincoumans/master
remove debugging lines
2022-03-09 20:48:02 -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
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
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 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
Johannes Brust 61d5bdb783 Fix bug due to missing swap 2021-10-21 17:38:13 +02:00
Kentaro Wada 00dcce85f5 Add pybullet.addUserDebugPoints 2021-10-16 17:38:05 +01:00
Johannes Brust 5795bd676f 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
2021-09-28 22:39:31 +02:00
erwincoumans 9c37ca5185 Merge pull request #3950 from bttner/fix_external_force_command
Fix: reference frame issue of external force command processor (Physics Server)
2021-09-20 14:34:52 -07:00
Erwin Coumans 87605ca4c8 revert linkNames in createMultiBody, we cannot pass pointers pointing to local memory (storing the string) around into shared memory or over the network. 2021-09-20 12:22:30 -07:00
erwincoumans b638300fe4 Merge pull request #3951 from erwincoumans/master
implement resetMeshData for deformable bodies, fix tiny_renderer standalone example
2021-09-02 18:03:23 -07:00
Erwin Coumans b6df08b553 implement resetMeshData for deformable bodies, this allows better reset for reinforcement learning algorithms. 2021-09-02 17:27:05 -07:00
Felix Büttner 4b6ec20b30 External force and torque frame fix 2021-09-02 17:40:18 +02:00
Chuyuan Fu e16c9bb1cc implement request deformable contact info 2021-08-18 18:48:35 -07:00