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
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
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
Johannes Brust
61d5bdb783
Fix bug due to missing swap
2021-10-21 17:38:13 +02: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
erwin coumans
adcf785a4a
re-enable eGUIHelperSetRgbBackground
2021-05-07 09:07:40 -07:00
Erwin Coumans
cd76d605a9
more fixes for tsan
2021-05-07 15:37:56 +00:00
erwin coumans
f14911c998
fix a tsan test failure
2021-05-06 18:34:43 -07:00
erwin coumans
e952ac6f63
Add pybullet.configureDebugVisualizer(rgbBackground=[red,green,blue]) (each component a float in the range [0,1])
...
This is an alternative to passing options="--background_color_red=red --background_color_green=green --background_color_blue=blue" in the connect method.
2021-05-06 18:08:22 -07:00
erwin coumans
b696ed7d7b
enable roll angle in pybullet.computeViewMatrixFromYawPitchRoll / b3ComputeViewMatrixFromYawPitchRoll
2021-04-28 12:13:31 -07:00
Erwin Coumans
c915e82d49
Merge branch 'master' of github.com:erwincoumans/bullet3
2021-04-22 16:20:31 -07:00
erwin coumans
a5761f2b10
pybullet: getDynamicsInfo report local inertia diagonal for useMaximalCoordinates
2021-04-20 20:20:55 -07:00
erwin coumans
e58e5bdf95
PyBullet:
...
expose pybullet.changeDynamics(sleepThreshold), default 0.05, for both useMaximalCoordinates=False and True
When the dot(vel,vel) < sleepThreshold for longer than 2 seconds (this timeout is hard coded) objects that have the ACTIVATION_STATE_ENABLE_SLEEPING enabled with be deactivated
Example:
p.changeDynamics(ob, -1, activationState=p.ACTIVATION_STATE_ENABLE_SLEEPING, sleepThreshold=0.05)
2021-04-20 11:29:27 -07:00
erwin coumans
78f5b141f9
fix for 'useMaximalCoordinates' rigid body in PyBullet: activate a rigid body after picking
2021-04-20 10:24:09 -07:00
erwin coumans
84a63cf221
allow to use the useMultiBody argument for loadMJCF command
...
note that for dynamic and static objects (without joints) it is best to set useMultiBody=False
2021-04-19 20:37:26 -07:00
Erwin Coumans
973d8c128f
Merge branch 'master' of github.com:erwincoumans/bullet3
2021-04-07 22:13:18 -07:00
erwin coumans
8b8c1af6a4
Cleaned-up/fixed version of this Pull Request #3239 , thanks to Wenlong Lu
2021-04-05 11:40:45 -07:00