822c24e867
Clears body and user data caches when syncBodyInfo and syncUserData are called
Tigran Gasparian
2019-08-08 09:50:32 +02:00
226819b839
premake add enable_stable_pd option, so Bullet can be compiled without C++11 (Visual Studio 2010 etc) PyBullet: improve sleeping: if the base is static and all joints in the chain between this link and the base are fixed, then this link is static too (doesn't merge islands) Fix PyBullet compilation of Visual Studion 2010
erwincoumans
2019-08-07 21:57:05 -07:00
2e64b27a31
bindings for setting warmstarting factor
Chuyuan Fu
2019-08-06 14:04:51 -07:00
02c5b99b2f
add algorithm overview
Xuchen Han
2019-08-06 11:42:48 -07:00
098cde55fd
sync graphics server at resetSimulation, load* and resetJointState
Erwin Coumans
2019-08-06 10:56:21 -07:00
e5231b5cc5
restore behaviors of btSoftBody
Xuchen Han
2019-08-06 10:52:19 -07:00
6a599bde87
setDt in reinitialize and remove unused variables
Xuchen Han
2019-08-06 10:16:56 -07:00
73f5eb6a8f
add profiling and code clean up
Xuchen Han
2019-08-05 16:49:04 -07:00
1cb3655f71
add support to load rigidbody
Chuyuan Fu
2019-08-05 13:38:43 -07:00
02d3a9469f
code clean up + Zlib copyright header
Xuchen Han
2019-08-05 11:54:17 -07:00
bf90b6a1d5
update PyBullet quickstart guide pdf version tweak profileTiming example
Erwin Coumans
2019-08-05 08:32:45 -07:00
c5d84c1a0b
get rid of nullptr and std::function
Xuchen Han
2019-08-03 00:10:36 -07:00
021cbb2a0e
include numeric_limits
Xuchen Han
2019-08-02 23:50:15 -07:00
8c04a78c9b
switch from std::unordered_map to btHashMap
Xuchen Han
2019-08-02 17:46:26 -07:00
dae230912b
typo fix
Xuchen Han
2019-08-02 15:51:38 -07:00
9a5ef6c849
update CMakeList
Xuchen Han
2019-08-02 15:41:10 -07:00
7f33d8cdb9
get rid of 'using'
Xuchen Han
2019-08-02 15:27:10 -07:00
f624b60c19
get rid of auto
Xuchen Han
2019-08-02 15:19:37 -07:00
753b2d9f15
add new demos to CMakeList
Xuchen Han
2019-08-02 15:02:15 -07:00
8cc7cb59d7
clean up examples
Xuchen Han
2019-08-02 14:06:42 -07:00
54303e02b1
perform position correction only when objects are penetrating
Xuchen Han
2019-08-02 13:21:06 -07:00
3dc8abcf36
only call buildIslands once for multibody in each timestep
Xuchen Han
2019-08-02 10:19:31 -07:00
f1e7ce9ce1
add multibody interpolation transform so that collision detection is consistent with rigidbody
Xuchen Han
2019-07-31 20:40:22 -07:00
ec403f790d
factor out force; now btDeformableLagrangianceForce can be specified at configuration time and to specific softbody
Xuchen Han
2019-07-25 13:51:44 -07:00
233a381e7c
add correct impulse matrix to multibody-deformable contact
Xuchen Han
2019-07-24 16:01:47 -07:00
243b9fc8c7
combat friction drift in positionCorrect by changing velocity and change it back (effectively only changing position)
Xuchen Han
2019-07-23 12:15:23 -07:00
a90cad2a96
deformable code refactor
Xuchen Han
2019-07-21 18:32:54 -07:00
dc10336d45
code clean up + check in examples
Xuchen Han
2019-07-18 11:34:06 -07:00
3430192db7
reformulate friction
Xuchen Han
2019-07-18 09:16:01 -07:00
7846dd38dd
switch explicit elastic force
Xuchen Han
2019-07-17 15:58:55 -07:00
2fc376e8f5
bug fix in friction; accumulate friction impulses in cg; forbid switching from static to dynamic friction
Xuchen Han
2019-07-16 15:28:33 -07:00
befab4eab6
reorganize the contact constraints
Xuchen Han
2019-07-15 14:52:24 -07:00
bac7d461c5
fix bugs in poststablize and projection of colinear constraints
Xuchen Han
2019-07-15 10:48:20 -07:00
ac628f4d39
add two way coupled penetration resolution; not momentum conserving, but seem to work fine
Xuchen Han
2019-07-12 13:26:58 -07:00
98cd9a85e4
generalize preconditioner, now supports mass preconditioning
Xuchen Han
2019-07-12 10:35:50 -07:00
696c96f392
bug fix in projection; start friction
Xuchen Han
2019-07-12 10:03:38 -07:00
4e5f4b9fe9
reformulate how constraints are managed in the projection class
Xuchen Han
2019-07-11 11:26:30 -07:00
b28f1fdac3
add support for more than one constraint for a single deformable node
Xuchen Han
2019-07-11 10:14:58 -07:00
b7e512a5f9
sync gravity with substeps
Xuchen Han
2019-07-10 16:09:38 -07:00
77d670ae41
separate external force solve from constraint solve and eliminate damping in external force solve
Xuchen Han
2019-07-10 16:08:46 -07:00
c4e316f005
btDeformableRigidWorld now inherits from btMultiBodyDynamicsWorld instead of btSoftRigidDynamicsWorld
Xuchen Han
2019-07-09 15:27:17 -07:00
13d4e1cc2b
bug fixes in constraints projections; cpplized various functions
Xuchen Han
2019-07-09 14:26:04 -07:00
786b0436ec
fixed gravity issue in rigid body and deformable body contact solve
Xuchen Han
2019-07-07 14:31:19 -07:00
b8997c36b2
update contact projection
Xuchen Han
2019-07-06 20:55:41 -07:00
35ce2ae0e2
add contact constraint as projections in CG
Xuchen Han
2019-07-04 23:07:02 -07:00
32836b0694
set up deformable world and solver (does not support contact or friction yet)
Xuchen Han
2019-07-04 12:49:45 -07:00
7263439c4b
improved for inserting profile timings from Python, to analyzer performance of pybullet programs. See examples/pybullet/examples/profileTiming.py for an example. Note that python and c++ is properly interleaved. Open a timings with a name, close the timing without a name. Note that timings can be recursive, added/popped as a stack.
Erwin Coumans
2019-08-01 19:12:16 -07:00
d58a85fec4
export btHeightfieldTerrainShape to PyBullet. Note that tinyrenderer doesn't support rendering it (it would be too slow on CPU) fix rare getKeyboardEvents threading issue change texture color to default plane.urdf blue
Erwin Coumans
2019-07-29 20:29:07 -07:00
51fba6f78d
export btHeightfieldTerrainShape to PyBullet. Note that tinyrenderer doesn't support rendering it (it would be too slow on CPU) fix rare getKeyboardEvents threading issue change texture color to default plane.urdf blue
Erwin Coumans
2019-07-29 20:23:38 -07:00
4bb5d07e3e
pybullet_envs.deep_mimic: add pretrained spinkick model (only trained for 20 million steps, may need more for nicer mimic)
Erwin Coumans
2019-07-29 08:22:57 -07:00
36f3adc03f
copy/move heightfield files around (part of pybullet_data) prepare for heightfield support in pybullet (first step, needs a bit more)
Erwin Coumans
2019-07-25 13:01:26 -07:00
b433e07d33
pybullet_envs.deep_mimic: use getLinkStates for faster 'getReward' pybullet_envs.deep_mimic: add profile timers for each thread to optimize training
Erwin Coumans
2019-07-22 17:18:41 -07:00