Commit Graph

3731 Commits

Author SHA1 Message Date
ctingley
2c7918423d Quaternion to Euler correction 2024-02-27 07:17:48 -08:00
Erwin Coumans
fcef2c81f2 expose max_num_object_capacity and max_shape_capacity_in_bytes to override the graphics VBO buffer allocations. This allows to load larger triangle meshes in pybullet.
Example:
p.connect(p.GUI, options="--max_num_object_capacity=131072 --max_shape_capacity_in_bytes=1073741824")

Use MAX_NUM_PARTS_IN_BITS=4 by default, this allows to use 134 million triangles in each concave triangle mesh in PyBullet (instead of 2 Million)
2023-11-28 14:21:33 -08:00
Xinlei Wang
d9a4a7e703 fix child transforms of a compound 2023-04-11 22:21:21 +08:00
erwincoumans
0e59474e1c Merge pull request #4413 from aprilprojecteu/master
re-enable softbody/rigidbody contact report
2023-02-24 10:54:03 -08:00
Maarten Behn
e323404ac3 ok it's working I guess 2022-12-27 20:28:50 +01:00
Maarten Behn
5c8dfe4b21 got the data tunnelt with getMeshData 2022-12-27 19:46:22 +01:00
Maarten Behn
54cdf39933 extending wrapper 2022-12-22 19:27:16 +01:00
Maarten Behn
2b4757f512 extend wrapper 2022-12-21 14:44:35 +01:00
Maarten Behn
9dd446609a Adding getTetraMeshData() 2022-12-19 15:31:21 +01:00
Johannes Brust
60512c7872 Fix bug due to missing swap
(cherry picked from commit 61d5bdb783)
2022-12-19 11:00:27 +01:00
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
yo
8549f00502 Added fix for deleting debug points with life time. 2022-12-13 18:39:21 +01:00
Hill Ma
dfdb6e2db9 Use OpenGL 3.3 core profile in eglCreateContext().
- Similar attributes are already used in GLFWOpenGLWindow.cpp.
- This could avoid setting environment variables when using old Mesa where OpenGL compatibility profile is limited to 3.1.
2022-08-07 11:46:02 -07:00
Erwin Coumans
b9df2190f1 OpenAI Gym API change: add mode argument to render method 2022-05-20 11:16:19 -07: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
957a46d840 Merge branch 'master' of github.com:erwincoumans/bullet3 2022-04-24 16:13:14 -07:00
Erwin Coumans
a3ec165915 remove the 'override' keyword, Bullet is C++2003 2022-04-24 16:12:40 -07:00
Erwin Coumans
f263c422e2 Merge branch 'master' of github.com:erwincoumans/bullet3 2022-04-23 14:00:22 -07:00
Erwin Coumans
31b9be82a1 revert lines glsl shader, and add points glsl shader for instanced rendering of point cloud. 2022-04-23 13:56:40 -07:00
Erwin Coumans
4f0673810c move loadDeformableState into CustomSoftBodyHelper, Bullet/src is not allowed to depend on Bullet/Examples 2022-04-18 21:17:21 -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
erwincoumans
2e4e25b330 Merge pull request #4190 from erwincoumans/master
fix build
2022-03-06 18:54:04 -08:00
erwincoumans
2b685e98ee Merge pull request #4161 from r-a-sattarov/master
E2K: fixed build by MCST lcc compiler when using BUILD_EXTRAS=ON option
2022-03-05 19:12:40 -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
0c40b73b0e Merge pull request #4167 from simjaecheol/master
urdfEditor - handle joint limits
2022-03-05 13:50:58 -08:00
erwincoumans
103db13379 Merge pull request #4175 from cmower/cmower-fix-import-error
Fix import error in humanoid running examples.
2022-03-05 13:50:07 -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
jingyuc
5fd7ec99ba Merge branch 'master' of github.com:jyc-n/bullet3 2022-02-28 17:16:57 -08:00
jingyuc
2c1cd798ea revert RobotSimulatorMain.cpp 2022-02-28 17:15:49 -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
9f3c4123a2 Merge pull request #4174 from sippeyxp/substep_rand
Fix incorrect application of disturbance push.
2022-02-28 07:41:58 -08:00
jingyuc
c89a7054e9 pybullet reduced deformable examples setup updated 2022-02-28 01:04:14 -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
r-a-sattarov
6038bb2993 E2K: fixed build by MCST lcc compiler when using BUILD_EXTRAS=ON option
re-implementation of previous patch - https://github.com/bulletphysics/bullet3/pull/3060/
2022-02-24 22:08:05 +03: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