Commit Graph

5474 Commits

Author SHA1 Message Date
erwincoumans
9d0f875c5b fix compile issues due to API change (additional argument) 2017-08-15 09:34:44 -07:00
Erwin Coumans
60b60ef9fd add pybullet.connect(pybullet.GUI_SERVER) option. This allows shared memory connections, acting as a physics server. You can connect using SHARED_MEMORY to this GUI_SERVER. 2017-08-14 17:02:20 -07:00
Erwin Coumans
aafaa7e33e Expose optional "globalScaling" factor to pybullet.loadURDF and pybullet.loadSDF. This will scale the visual, collision shapes and transform locations.
Fix two_cubes.sdf (was lacking collision shape for second cube)
2017-08-14 14:59:41 -07:00
erwincoumans
dfaa717fed Merge pull request #1252 from erwincoumans/master
fix pybullet GUI performance issue on Mac OSX, fix potential memory leak in loadSDF when visuals have the same name.
2017-08-11 18:11:53 -07:00
erwincoumans
457312f94f fix leak in loadSDF in case of visuals with duplicate/identical names that have a material.
fix GUI performance issue on Mac OSX
fix issue introduced in previous commit (in btConvexHullComputer.cpp)
2017-08-11 17:14:52 -07:00
Erwin Coumans
c67a70cb09 compile fixes 2017-07-29 13:40:03 +02:00
erwincoumans
0eb3898c76 Merge pull request #1244 from erwincoumans/master
add 'createObstacleCourse.py' example, helps reproducing
2017-07-29 13:20:14 +02:00
Erwin Coumans
d28dd2f80a add 'createObstacleCourse.py' example, helps reproducing
Parkour paper: https://arxiv.org/abs/1707.02286
2017-07-29 13:18:49 +02:00
erwincoumans
53808e70ff Merge pull request #1235 from YunfeiBai/master
Add init function and module for pybullet with EGL.
2017-07-21 18:08:04 +02:00
yunfeibai
cfc7917586 Add init function and module for pybullet with EGL. 2017-07-18 13:52:29 -07:00
erwincoumans
63ef78afe1 Merge pull request #1232 from erwincoumans/master
improve pybullet performance of loadURDF/SDF/MJCF and 'createCollisio…
2017-07-16 11:29:02 +01:00
Erwin Coumans
c9b41737c0 add example of faster URDF/SDF loading in VR/GUI mode,
by temporary disabling rendering
2017-07-14 23:32:53 +01:00
Erwin Coumans
0df8887990 improve pybullet performance of loadURDF/SDF/MJCF and 'createCollisionShape'/'createMultiBody' for GUI/VR/SHARED_MEMORY,
use p.configureDebugVisualizer(p.COV_ENABLE_RENDERING,0) before loading and
p.configureDebugVisualizer(p.COV_ENABLE_RENDERING,1) afterwards
2017-07-14 23:12:16 +01:00
erwincoumans
afd6db7c40 Merge pull request #1217 from erwincoumans/master
texture check fix
2017-07-01 12:37:09 -07:00
Erwin Coumans
b63023c692 add transparent plane 2017-07-01 11:47:57 -07:00
Erwin Coumans
e6f7eb486a bump up pybullet setup.py version 2017-07-01 10:55:13 -07:00
Erwin Coumans
6e40f41dc6 bump up pybullet version 2017-07-01 10:43:02 -07:00
Erwin Coumans
5178ad4abc add proper pointer casts 2017-07-01 10:28:28 -07:00
Erwin Coumans
9cf747b35b a few compile/warning fixes 2017-07-01 10:01:55 -07:00
Erwin Coumans
c17625a4d0 texture check fix 2017-07-01 09:15:00 -07:00
erwincoumans
743d69ef69 Merge pull request #1216 from erwincoumans/master
implement pybullet.changeTexture, fix loadTexture for OpenGL
2017-06-30 21:07:28 -07:00
Erwin Coumans
88897cc744 implement pybullet.changeTexture. For now, the width/height has to match the target texture unique id, otherwise crashes may happen (a check for width/height match will be added)
See also examples\pybullet\examples\changeTexture.py
2017-06-30 19:11:43 -07:00
Erwin Coumans
dd3d55610b fixes in pybullet.loadTexture, changeVisualShape replacing texture.
(also works for OpenGL3 renderer now)
2017-06-30 13:35:07 -07:00
Erwin Coumans
dcaaed9238 also generate TinyRendererVisualShapeConverter for programmatically generated collision shapes
use similar random colors for TinyRenderer (if rgba colors are not specified)
2017-06-29 22:06:27 -07:00
erwincoumans
6dfb320b8f Merge pull request #1214 from erwincoumans/master
Added manually converted widowx.urdf from https://github.com/Robotnik…
2017-06-29 19:19:04 -07:00
Erwin Coumans
bf800e30d5 Added manually converted widowx.urdf from https://github.com/RobotnikAutomation/widowx_arm
Added simple pybullet file in Bullet/examples/pybullet/examples/widows.py (preliminary, both URDF and py file needs more work to be useful)
https://github.com/RobotnikAutomation/widowx_arm/blob/master/widowx_arm_description/package.xml
See also http://www.trossenrobotics.com/widowxrobotarm
2017-06-29 17:54:04 -07:00
erwincoumans
b4f21e77af Merge pull request #1206 from erwincoumans/master
Allow to create concave collision meshes. Transparency (only OpenGL 3.x renderer, not tinyrenderer/gl2)
2017-06-24 20:07:17 -07:00
erwincoumans
d5fe67cf57 Add pybullet transparent.py example, transparency with global per-object sort in GLInstancingRenderer 2017-06-24 19:38:31 -07:00
erwincoumans
a651cb9ab4 Implement first pass of transparent graphics object for GLInstancingRenderer
remove 'enableBlend' from API, graphics instances use alpha component instead
fix forward axis for SimpleCamera
2017-06-24 13:41:33 -07:00
erwincoumans
c777e61d48 fix pybullet compilation on some WIN32 version of MSVC 2017-06-23 20:36:19 -07:00
Erwin Coumans
65e22ba3e9 allow auxilary link to be used for gear btMultiBodyGearConstraint. 2017-06-23 20:24:04 -07:00
Erwin Coumans
8e9f5ef3f3 fix compile issue 2017-06-23 16:22:38 -07:00
Erwin Coumans
9672c3a330 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-06-23 16:19:10 -07:00
Erwin Coumans
9aed6b08f1 don't set the numSolverIterations that high, was a debug left-over 2017-06-23 16:18:42 -07:00
Erwin Coumans
2ab56b4d62 Allow to create concave collision meshes. Note that this is only supported for static (mass 0) multibodies. 2017-06-23 14:43:28 -07:00
Erwin Coumans
a136098120 add a few more discrete actions to cartpole_bullet.py so it trains faster + add option to train without rendering, enjoy with rendering. 2017-06-22 16:49:14 -07:00
Erwin Coumans
31fb1c2e79 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-06-22 16:30:03 -07:00
erwincoumans
40dae99435 Merge pull request #1203 from erwincoumans/master
add kukaCamGymEnv.py with camera observations (preliminary)
2017-06-22 10:58:51 -07:00
Erwin Coumans
fbff4c57ca update include after stb_image changes 2017-06-22 09:03:10 -07:00
Erwin Coumans
9e5e0da9f4 move stb_image/stb_truetype.h and stb_image/stb_image_write.h to ThirdPartyLibs/stb_image folder 2017-06-22 08:48:18 -07:00
Erwin Coumans
97f6a161f1 fix stb_image.h include path to be consistent. 2017-06-22 08:09:33 -07:00
Erwin Coumans
d1481c78ba Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-06-21 12:00:53 -07:00
Erwin Coumans
9213f944f1 add kukaCamGymEnv.py with camera observations (preliminary)
show camera position in example browser
disable per-vertex and per-fragment profile timings
2017-06-21 09:33:46 -07:00
erwincoumans
e24d79a2c0 Merge pull request #1202 from erwincoumans/master
reduce stack usage (cause some crashes in low-stack tests)
2017-06-20 20:57:48 -07:00
Erwin Coumans
71170d6384 reduce stack usage (cause some crashes in low-stack tests)
fix crashing bug in changeVisualShape
add differential gear version of racecar (only 2 back wheels are powered)
2017-06-20 20:22:14 -07:00
erwincoumans
c48f5b1546 Merge pull request #1182 from lunkhound/pr-fix-solver-simd
SequentialImpulseConstraintSolver: fix bugs with SOLVER_SIMD flag
2017-06-20 12:19:15 -07:00
erwincoumans
99d2ab7871 Merge pull request #1200 from erwincoumans/master
also add baseInertialFramePositionObj and baseInertialFrameOrientatio…
2017-06-19 17:36:18 -07:00
Erwin Coumans
5f770a833d Merge remote-tracking branch 'bp/master' 2017-06-19 17:19:24 -07:00
Erwin Coumans
18564be837 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-06-19 17:19:15 -07:00
Erwin Coumans
61f27a5c72 also add baseInertialFramePositionObj and baseInertialFrameOrientationObj to pybullet.createMultiBody
updated createMultiBodyLinks.py example.
2017-06-19 17:13:20 -07:00