2761 Commits
Author SHA1 Message Date
Erwin Coumans 9e2c39f04f bump up version to 3.08 2020-12-22 17:27:11 -08:00
erwincoumans b1f76960ff Merge pull request #3195 from WenlongLu/kinematic_fix
Disable velocity calculation in kinematic multibody mode by default
2020-12-16 17:42:30 -08:00
WenlongLu 62eb2f7788 Disable velocity calculation in kinematic multibody mode by default
We haven't implemented this for the multi body joints. To be consistent, let's disable it for the base as well, and let user to set the velocities.
2020-12-14 17:19:27 -08:00
David Carlier 3c7cdb498b profile, enable TLS for a handful of BSD platforms. 2020-12-04 09:17:06 +00:00
Erwin Coumans e32fc59c88 bump up version to 3.07 2020-11-26 14:25:33 -08:00
WenlongLu c377260d71 Restrict kinematic multibody use cases to only a full chain of kinematic joints. 2020-11-24 10:36:32 -08:00
WenlongLu 3ef0ce4890 fix the bug where forces are ignore at a static/kinematic link while one of its ancesters is not. 2020-11-19 15:58:28 -08:00
erwincoumans 2c38eea830 Merge pull request #3115 from niello/master
Compilation warning fixes
2020-11-17 16:29:22 -08:00
Erwin Coumans d4d11c417a no btMultiBodyLink.cpp 2020-11-17 23:40:22 -08:00
Erwin Coumans 1c5d67f790 move code from btMultiBodyLink.cpp to btMultiBodyLinkCollider.h (and from btMultiBody.h to btMultiBody.h) 2020-11-17 23:37:45 -08:00
WenlongLu 56b42925d8 Support kinematic multibody joints/links 2020-11-11 22:14:07 -08:00
WenlongLu 622b44d136 fix crashes from accessing base collider when it is not available. 2020-11-10 20:32:26 -08:00
WenlongLu 1a4783a581 Support kinematic multibody base 2020-10-29 23:34:34 -07:00
Vladimir Orlov 35f489f697 Compilation warning fixes:
* new btSdfCollisionShapeInternalData() may not be allocated aligned 16
* Two cases of signed/unsigned mismatch
2020-10-19 20:59:36 +02:00
erwincoumans b12da620ab Merge pull request #3082 from erwincoumans/master
@erwincoumans bump up PyBullet and Bullet version to 3.05 (in sync for this release)
2020-09-24 10:12:24 -07:00
Erwin Coumans e454b90c5b bump up PyBullet and Bullet version to 3.05 (in sync for this release) 2020-09-24 10:11:37 -07:00
erwincoumans 0c563174fc Merge pull request #3037 from issakomi/cwe190-1
CWE-190 integer overflow in btConvexHullComputer
2020-09-22 12:58:43 -07:00
Erwin Coumans 2154aad0ca bump up Bullet to version 2.90 2020-09-21 18:09:08 -07:00
Erwin Coumans d0dc96aa05 Merge remote-tracking branch 'bp/master' 2020-09-20 16:36:45 -07:00
Erwin Coumans 1bd82e7d81 allow rendering of (textured) heightfield in TinyRenderer and EGL.
Also update normals, if heightfield is updated.
2020-09-20 16:03:56 -07:00
Chuyuan Fu f51e92000a initialize default value 2020-09-17 15:38:23 -07:00
Chuyuan Fu 7d8379bad4 add configurable parameters to urdf 2020-09-14 12:34:21 -07:00
Erwin Coumans 1452cae641 * add textured models of ball.vtk (obj/mtl) and torus (obj/mtl) and cloth.
1) allow to render deformables in 'getCameraImage', for TinyRenderer (tested OK) and EGL (untested)
2) allow to have textures for deformables. See deformable_ball.py, deformable_anchor.py and deformable_torus.py for examples
3) deformables: allow to request simulation mesh data (even if there is a render mesh) See deformable_anchor.py for an example usage
   data = p.getMeshData(clothId, -1, flags=p.MESH_DATA_SIMULATION_MESH)
4) fix deletion of deformables, thanks to Fychuyan, https://github.com/bulletphysics/bullet3/pull/3048
5) allow to enable and disable double-sided rendering, p.changeVisualShape(objectUid, linkIndex, flags=p.VISUAL_SHAPE_DOUBLE_SIDED)
6) fix GripperGraspExample, model not found
7) Fix deformable anchor not attaching to multibody with object unique id of 0
8) Fix issue with assignment of unique ids in TinyRenderer/EGL renderer (always use broadphase uid)
9) Avoid crash/issue of simulation with pinned vertices (mass 0) in btDeformableBackwardEulerObjective::applyExplicitForce
10) Store uv/normal in btSoftBody::RenderNode to allow textured meshes
11) (uncomment in btSoftBodyHelpers.cpp): dump vertices and indices in obj wavefront format, when loading a VTK file, for quicker creation of a (textured) surface mesh
12) allow interpolateRenderMesh also for old position-based soft bodies (not only the shiny new FEM deformables)
13) fix a few premake targets
14) update build_visual_studio_vr_pybullet_double_cmake.bat so it suits c:\python37 and installs locally
    for local install of Bullet, see also this example https://github.com/erwincoumans/hello_bullet_cmake
2020-09-12 01:03:04 -07:00
Mihail Isakov db0d6c9292 CWE-190 integer overflow in btConvexHullComputer 2020-09-06 04:02:30 +02:00
erwincoumans ce81073ac3 Merge pull request #3020 from fuchuyuan/fixsegfault
Fixsegfault
2020-09-01 16:54:16 -07:00
erwincoumans db9f989a66 Merge pull request #2938 from MomoDeve/patch-1
applied const modifiers to some RigidBody getters
2020-08-31 17:35:37 -07:00
DarkDefender 85a3cb0ed5 Add ability to get the original vertex index from the convex hull (#3018)
This makes it possible to know which input verticies were picked to
to define the hull.

With this information it is much easier to map certain features from the
input mesh/point cloud to the output convex hull.
2020-08-31 15:05:27 -07:00
Chuyuan Fu 4bc8a4ca79 fix segfault when removing softbody 2020-08-31 10:50:23 -07:00
erwincoumans dda2075f2c Merge pull request #2984 from fuchuyuan/cachebarycenter
Cachebarycenter
2020-08-20 09:43:38 -07:00
Chuyuan Fu 2d42dea27f turn off cache prev collision by default 2020-08-17 10:52:07 -07:00
erwincoumans 0993c9a782 Merge pull request #2855 from asmaloney/fix-pointer-check
Fix parameter check in bFile::safeSwapPtr
2020-08-13 19:35:50 -07:00
Chuyuan Fu 07521869db format file
format

format
2020-08-12 10:46:26 -07:00
Chuyuan Fu 25aa0f5669 clean up code 2020-08-12 10:13:49 -07:00
Chuyuan Fu c5fc913293 fix softbody v 2020-08-12 09:35:35 -07:00
Chuyuan Fu 086638d16e fix bug in multibody point contact with deformable 2020-08-12 09:35:22 -07:00
Chuyuan Fu b8fd4a1060 added caching barycenters for static constraints, with lots of debugging lines 2020-08-12 09:33:49 -07:00
Xuchen Han ae9fb3ca8f Change picking force to implicit for all integration schemes. 2020-08-03 23:04:47 -07:00
#Momo 092de325ae applied const modifiers to RigitBody getters
getPushVelocity and GetTurnVelocity should be marked as const
2020-07-16 13:31:16 +03:00
Erwin Coumans c517c434e6 pybullet allow to enable/change joint limits:
pybullet.changeDynamicsInfo(objectUniqueId, linkIndex, jointLowerLimit=..., jointUpperLimit=...) # jointLowerLimit <= jointUpperLimit

and joint limit max force:
pybullet.changeDynamicsInfo(objectUniqueId, linkIndex, jointLimitForce=...)

For example:
p.changeDynamics(sphereUid,linkIndex, jointLowerLimit=1, jointUpperLimit=3, jointLimitForce=10.5)

add b3ChangeDynamicsInfoSetJointLimit/b3ChangeDynamicsInfoSetJointLimitForce
add getConstraintType for btMultiBodyConstraint
2020-07-07 19:42:23 -07:00
Xuchen Han 70a0ef65d8 fix bug in deformable replulsion force and adjust parameter in deformable self collision 2020-06-26 14:19:44 -07:00
Xuchen Han 4317ddc285 change dynamic_cast to static_cast 2020-06-26 11:47:40 -07:00
Xuchen Han bf8cf19665 support implicit integration in picking force 2020-06-24 17:48:43 -07:00
Xuchen Han 7523861bf5 fix picking issue in Deformable Self Collision demo 2020-06-24 17:48:11 -07:00
Xuchen Han 3f34b6920f revert the max number of solver iteration to previous value 300 2020-06-19 17:26:03 -07:00
Xuchen Han bfaaca81be bug fix in implicit predict motion 2020-06-19 17:04:02 -07:00
Xuchen Han 41210ca37f restore CMakelist and premake.lua 2020-06-19 17:02:36 -07:00
Xuchen Han e0b554787f Merge remote-tracking branch 'origin/master' into implicit-contact 2020-06-19 15:05:34 -07:00
Xuchen Han b969f14d21 run clang format 2020-06-19 14:52:44 -07:00
Xuchen Han 395f8c6117 add implicit point contact for corotated linear elasticity objects 2020-06-19 14:49:58 -07:00
Xuchen Han 92f2f56b3d add mass damping into damping model 2020-06-18 16:43:53 -07:00