Commit Graph

9062 Commits

Author SHA1 Message Date
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
ce26271923
Merge pull request #3930 from ffontaine/master
Extras/VHACD/inc/vhacdMutex.h: fix musl build
2021-09-20 14:38:30 -07:00
erwincoumans
cc84887919
Merge pull request #3945 from craftablescience/master
Fix: remove cmake policy 0115 errors
2021-09-20 14:37:29 -07:00
erwincoumans
289a1b3f6e
Merge pull request #3931 from notrabs/bugfix/softbody-compound-crash
Fix crash when btSoftBody collides with btCompoundShape
2021-09-20 14:37:01 -07: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
erwincoumans
c57d6f0163
Merge pull request #3964 from erwincoumans/master
pybullet bump up to 3.19
2021-09-20 13:29:39 -07:00
Erwin Coumans
143f87abcf pybullet bump up to 3.19 2021-09-20 13:16:13 -07:00
erwincoumans
47c3f5e994
Merge pull request #3963 from erwincoumans/master
revert linkNames in createMultiBody, we cannot pass pointers pointing… …
2021-09-20 13:07:30 -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
Brendan L
9675e3d39b
Merge branch 'bulletphysics:master' into master 2021-09-18 21:37:53 -04:00
erwincoumans
101c98cfb8
Merge pull request #3954 from aaronfranke/url
Update Bullet URL in copyright statements
2021-09-15 14:56:18 -07:00
Aaron Franke
ad74cfe6c8
Update Bullet URL in copyright statements 2021-09-13 09:06:14 -05:00
Brendan Lewis
b1927a4f92
Merge branch 'bulletphysics:master' into master 2021-09-05 19:31:37 -04:00
Erwin Coumans
4e881118ef bump up pybullet/bullet version to 3.18 2021-09-03 17:06:01 -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
erwin coumans
3577ef8108 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-09-01 15:00:10 -07:00
erwin coumans
7de63bdbc5 fix tiny_renderer standalone example 2021-09-01 15:00:01 -07:00
erwincoumans
3fee64fb95
Merge pull request #3949 from fuchuyuan/fixasan
Fixasan
2021-09-01 13:58:57 -07:00
Chuyuan Fu
9b3c8c8dbb fix format 2021-09-01 13:18:58 -07:00
Chuyuan Fu
b795243cc5 fix asan 2021-09-01 13:18:58 -07:00
erwincoumans
31b8841efc
Merge pull request #3948 from erwincoumans/master
add low-resolution Laikago (for faster rendering in CPU renderer) and cleanup sdf files
2021-08-30 13:01:15 -07:00
Erwin Coumans
68424feb2d don't use empty frame for pose in sdf files
use hint for clang that if (0) is intentional
2021-08-30 19:40:20 +00:00
erwincoumans
5ec0820c0e
Merge pull request #3920 from araffin/feat/sb3
Migrate to Stable-Baselines3
2021-08-29 15:01:27 -07:00
Brendan Lewis
090f8369f8
Fix: remove cmake policy 0115 errors 2021-08-24 21:39:12 -04:00
erwincoumans
41158a4be8
Merge pull request #3937 from fuchuyuan/deformableContact
implement request deformable contact info
2021-08-23 12:25:55 -07:00
Chuyuan Fu
107295db5f fix typo 2021-08-19 09:32:49 -07:00
Chuyuan Fu
e16c9bb1cc implement request deformable contact info 2021-08-18 18:48:35 -07:00
erwin coumans
7ac95be8cd add training and run/eval scripts to train envs_v2 Laikago pmtg 2021-08-17 08:56:30 -07:00
notrabs
b2fd9a492d Fix crash when btSoftBody collides with btBvhTriangleMeshShape inside a btCompoundShape
- The triBody->getCollisionShape() returns the btCompoundShape again, which does not implement the btConcaveShape interface required
- The crash happens when processAllTriangles is called below
2021-08-08 01:11:04 +02:00
Fabrice Fontaine
dd37b97e79 Extras/VHACD/inc/vhacdMutex.h: fix musl build
Fix the following build failure on musl (which does not provide
PTHREAD_MUTEX_RECURSIVE_NP):

In file included from /tmp/instance-5/output-1/build/bullet-3.09/src/LinearMath/btScalar.h:289,
                 from /tmp/instance-5/output-1/build/bullet-3.09/src/LinearMath/btVector3.h:19,
                 from /tmp/instance-5/output-1/build/bullet-3.09/src/LinearMath/btConvexHullComputer.h:18,
                 from /tmp/instance-5/output-1/build/bullet-3.09/Extras/VHACD/src/VHACD.cpp:28:
/tmp/instance-5/output-1/build/bullet-3.09/Extras/BulletRobotics/../../Extras/VHACD/inc/vhacdMutex.h: In constructor 'VHACD::Mutex::Mutex()':
/tmp/instance-5/output-1/build/bullet-3.09/Extras/BulletRobotics/../../Extras/VHACD/inc/vhacdMutex.h:97:54: error: 'PTHREAD_MUTEX_RECURSIVE_NP' was not declared in this scope; did you mean 'PTHREAD_MUTEX_RECURSIVE'?
   97 |   VHACD_VERIFY(pthread_mutexattr_settype(&mutexAttr, PTHREAD_MUTEX_RECURSIVE_NP) == 0);
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/79cd2024b3dfc8d3e896cdacf67fb891df81ca6e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-08-07 17:17:41 +02:00
erwin coumans
e399944982 add simplified Laikago model for faster CPU rendering (getCameraImage in direct mode using TinyRenderer) 2021-08-03 13:26:39 -07:00
Antonin Raffin
13f3778c22 Fix SB3 comment 2021-07-29 15:24:46 +02:00
Antonin Raffin
2f8b44c702 Migrate to Stable-Baselines3 2021-07-29 15:21:49 +02:00
erwincoumans
0e124cb2f1
Merge pull request #3841 from erwincoumans/master
fix some msan (memory sanitizer) issues
2021-05-12 13:54:56 -07:00
erwincoumans
a435fb7a41
Merge pull request #3819 from cadop/bullet-client-subprocess-safety
Fix for bullet_client to be used from a class instance during multiprocessing
2021-05-12 13:54:00 -07:00
erwincoumans
3e0a211868
Merge pull request #3840 from fuchuyuan/fixmsan
initialize unused fields for deformable collision detection
2021-05-12 13:53:11 -07:00
Erwin Coumans
92fb2db0a3 fix some msan (memory sanitizer) issues 2021-05-12 20:14:15 +00:00
Chuyuan Fu
88112560a1 initialize unused fields for deformable collision detection 2021-05-11 22:13:42 -07:00
erwincoumans
ebe1916b90
Merge pull request #3834 from erwincoumans/master
bump up pybullet version (and c++ version) to 3.17/3.1.7
2021-05-07 11:04:02 -07:00
Erwin Coumans
092b7bc3d9 bump up pybullet version (and c++ version) to 3.17/3.1.7 2021-05-07 11:03:21 -07:00
erwincoumans
39d981bce6
Merge pull request #3832 from erwincoumans/master
expose roll angle, fix python 2.x compatibility
2021-05-07 10:40:43 -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
8e85dedaa9 PyUnicode_AsUTF8 breaks python 2.x compatibility 2021-05-06 10:19:15 -07:00
erwin coumans
e4ff5a45d4 Merge branch 'master' of github.com:erwincoumans/bullet3 into master 2021-04-28 12:13:44 -07:00