Xuchen Han
4efc983ca5
bug fixes and parameter tuning
2020-03-04 17:22:46 -08:00
Xuchen Han
1cb9a0630f
bug fix in barycentric weight calculation
2020-03-02 22:48:25 -08:00
Xuchen Han
62537436f2
more Motor->NonContactInner
2020-03-02 16:03:27 -08:00
Xuchen Han
4f36e09747
Motor->NonContactInner
2020-03-02 16:00:40 -08:00
Xuchen Han
2869a386a7
prevent geometric collision for sleeping deformable objects
2020-03-02 13:32:04 -08:00
Xuchen Han
c86da93d58
fix type error
2020-03-02 13:29:59 -08:00
Xuchen Han
a6bc125945
formatting
2020-03-02 12:12:04 -08:00
Xuchen Han
dbf2050269
extrapolate render mesh
2020-03-02 12:12:04 -08:00
erwincoumans
44ddb17c0c
Merge pull request #2645 from xhan0619/master
...
Separate motor constraint iterations and expose API.
2020-03-01 21:48:22 -08:00
erwincoumans
35fa7f908d
Merge pull request #2648 from erwincoumans/master
...
workaround for Tensorflow 2.x breaking API:
2020-02-29 21:41:58 -08:00
Erwin Coumans
8e8955571f
workaround for Tensorflow 2.x breaking API:
...
try:
import tensorflow.compat.v1 as tf
except Exception:
import tensorflow as tf
2020-02-29 20:35:05 -08:00
Xuchen Han
7ad19fde6f
formatting
2020-02-26 14:16:51 -08:00
Xuchen Han
84117b8440
separate motor constraint iterations and expose API
2020-02-26 14:11:41 -08:00
erwincoumans
dc11c43666
Merge pull request #2641 from erwincoumans/master
...
fix memleak due to custom container, release memory of m_deformableBodySolver in ClothFriction demo
2020-02-22 11:18:41 -08:00
Erwin Coumans
dc19da18ee
fix memory leak due to custom container not handling copy operator for recursive containers
2020-02-22 10:54:23 -08:00
Erwin Coumans
36738b7676
release memory of m_deformableBodySolver in ClothFriction demo.
2020-02-22 10:40:31 -08:00
erwincoumans
279a5c19d5
Merge pull request #2640 from erwincoumans/master
...
PyBullet: add option to merge fixed links in URDF file, capsule field init
2020-02-21 17:49:51 -08:00
erwincoumans
3f4299d588
Merge pull request #2630 from vabr-g/vabr-g-dlerror-patch
...
Include dlerror() in handling of failed dlopen()
2020-02-21 17:26:13 -08:00
erwincoumans
e78eb2706d
Merge pull request #2627 from araffin/feat/sb-enjoy
...
Add enjoy script for Stable Baselines
2020-02-21 17:25:39 -08:00
erwincoumans
49960d18df
Update UrdfParser.cpp
...
fix cast
2020-02-21 16:49:05 -08:00
Erwin Coumans
0fd8598ca3
fix pybullet constants in previous commit
2020-02-21 16:16:13 -08:00
Erwin Coumans
f5afe9a1d1
Merge remote-tracking branch 'bp/master'
2020-02-21 15:12:17 -08:00
Erwin Coumans
6e18cd0fd7
bump up pybullet version to 2.6.6
2020-02-21 15:05:37 -08:00
Erwin Coumans
e29ba9fe5c
add option to merge fixed links in URDF file (improves performance, can handle URDF files with many fixed links)
...
add option to ignore visual and collision shapes in URDF file
2020-02-21 15:04:26 -08:00
Erwin Coumans
6910fc9229
initialize capsule from_to field
2020-02-21 02:05:01 -08:00
erwincoumans
981d5f2bf3
Merge pull request #2634 from stephengold/safeNormalize
...
use safeNormalize() to avoid assert failure in btVector3::normalize()
2020-02-20 10:57:42 -08:00
erwincoumans
bfba4ac2b6
Merge pull request #2637 from drigz/tf-compat
...
Replace tensorflow with tf.compat.v1
2020-02-20 10:56:21 -08:00
erwincoumans
e8e0673e34
Merge pull request #2626 from erwincoumans/master
...
unsupported: expose collisionMargin to changeDynamics/getDynamicsInfo
2020-02-20 10:55:42 -08:00
Rodrigo Queiro
d18531cc6a
Replace tensorflow with tf.compat.v1
...
This means they won't break when using TensorFlow 2.0.
2020-02-19 17:35:48 +01:00
Stephen Gold
43877214bd
use safeNormalize() to avoid assert failure in btVector3::normalize()
2020-02-17 22:45:22 -08:00
Antonin RAFFIN
21efd84c18
Add enjoy script for Stable Baselines
2020-02-15 21:06:10 +01:00
Erwin Coumans
0617f4f3cd
expose computeDofCount to pybullet
...
expose computeDofCount and calculateMassMatrix to BulletRobotics C++ API
(all untested)
2020-02-14 19:58:32 -08:00
Erwin Coumans
56e6893ed9
Merge remote-tracking branch 'bp/master'
2020-02-14 17:37:18 -08:00
Erwin Coumans
6afa0a463d
unsupported: expose collisionMargin to changeDynamics/getDynamicsInfo.
...
add cube_convex.urdf for testing this collisionMargin. Test script:
import pybullet as p
import time
p.connect(p.GUI)
plane = p.loadURDF("plane_implicit.urdf")
cube = p.loadURDF("cube_convex.urdf",[0,0,1])
p.setGravity(0,0,-10)
while (1):
p.stepSimulation()
pts = p.getContactPoints()
p.changeDynamics(plane,-1,collisionMargin=0.3)
p.changeDynamics(cube,-1,collisionMargin=0.3)
print("===================")
print("cube pos=", p.getBasePositionAndOrientation(cube)[0])
print("margin=", p.getDynamicsInfo(plane,-1)[11])
#time.sleep(1./10.)
2020-02-14 17:36:40 -08:00
erwincoumans
cbede4eb6c
Merge pull request #2625 from xhan0619/master
...
swap->btSwap
2020-02-14 17:05:49 -08:00
Xuchen Han
d72b8b50a0
swap->btSwap
2020-02-14 15:30:35 -08:00
erwincoumans
665c04fbed
Merge pull request #2622 from marcel303/NoGL-fixes
...
NoGL fixes
2020-02-14 14:54:14 -08:00
erwincoumans
f80806db49
Merge pull request #2623 from marcel303/TinyRender-namespace2
...
Put TinyRender functions and classes inside a TinyRender namespace.
2020-02-14 14:53:33 -08:00
erwincoumans
04f069ee2f
Merge pull request #2624 from marcel303/LuaDemo-CompileFix
...
LuaDemo compile fix.
2020-02-14 14:52:24 -08:00
vabr-g
dd8fcad6d8
Include dlerror() in handling of failed dlopen()
...
X11OpenGLWindow::X11OpenGLWindow() ends up calling dlopen() to get libX11.
When this fails, it only reports that it failed, and what filename it was looking for.
This commit adds dlerror() to the error message, which makes investigating failures easier.
2020-02-14 15:32:40 +01:00
Marcel Smit
bdb0cc2f3e
LuaDemo compile fix.
2020-02-14 12:07:39 +01:00
Marcel Smit
40e44caedd
Put TinyRender functions and classes inside a TinyRender namespace. The TinyRender library defines some classes with very generic names, such as vec, Matrix, Model, which in my case, when compiling the example browser using a different library for graphics, is giving me name clashes.
2020-02-14 11:54:25 +01:00
Marcel Smit
3b0f5812c9
NoGL: double to btScalar.
2020-02-14 11:30:45 +01:00
Marcel Smit
04f03d78af
NoGL: Update ExampleBrowserInterface and EmptyBrowser, with interface methods added to the OpenGL example browser, but didn't get added to the interface and empty interface. Required to compile the in-process example browser without OpenGL dependency.
2020-02-14 11:23:28 +01:00
Marcel Smit
df0910e5a8
NoGL: Cleanup inverse kinematics example. It was still including an OpenGL-related header file, even though not using any OpenGL.
2020-02-14 11:12:47 +01:00
erwincoumans
b06cdd5fc1
Merge pull request #2612 from xhan0619/master
...
Improve intra-deformable collision and deformable self collision
2020-02-12 19:30:46 -08:00
Erwin Coumans
b3ff3ebcb1
add pendulum of 5 links
2020-02-12 13:05:51 -08:00
Erwin Coumans
e7ad8a9d67
add urdf file for testing
2020-02-11 15:10:22 -08:00
erwincoumans
8504dc7816
Merge pull request #2611 from erwincoumans/master
...
bump up pybullet version to 2.6.5, fix compile issue
2020-02-10 08:47:49 -08:00
Xuchen Han
60f73963a8
add poly34.cpp to setup.py
2020-02-08 21:21:43 -08:00