Commit Graph

174 Commits

Author SHA1 Message Date
Erwin Coumans
ee3680765e fixes for RemoteGUIHelper 2019-06-14 14:34:56 -07:00
Erwin Coumans
f598aad3d4 update pybullet version 2019-05-08 14:07:31 -07:00
Erwin Coumans
ef9570c315 add yapf style and apply yapf to format all Python files
This recreates pull request #2192
2019-04-27 07:31:15 -07:00
Erwin Coumans
1c6aa4b67e bump up PyBullet to 2.4.9 2019-04-25 08:07:36 -07:00
Jannik Vogel
4ca8b997f9 Reduce visibility of Bullet symbols in PyBullet
Avoids version conflicts in programs using PyBullet, which also link against Bullet libraries
2019-04-08 02:59:24 +02:00
erwincoumans
4ea907aacf expose maxJointVelocity through PyBullet.changeDynamics, this Fixes Issue #1890
bump up PyBullet to version 2.4.8
2019-03-09 09:23:16 -08:00
Erwin Coumans
b072f2fdc8 bump up PyBullet version to 2.4.7 2019-03-07 22:05:15 -08:00
Dave Jones
7b5f81958a Limit compilation parallelism
On smaller platforms like the Raspberry Pi, which have a deficit of
physical memory, the default algorithm for determining compilation
parallelism is far too optimistic and usually results in crashing the
platform.

This modification limits the number of parallel jobs to the size of RAM
in Gb. On a mid-size PC (e.g. quad-core with 8+Gb of RAM), this will
make no difference. On a Pi (quad-core with 1Gb of RAM), this will limit
it to 1 job at a time (which is ideal).
2019-02-20 22:52:29 +01:00
Erwin Coumans
127cde6ec7 bump up to PyBullet 2.4.5 2019-02-18 19:11:42 -08:00
Erwin Coumans
225d823e4d bump up pybullet version 2019-02-13 17:10:01 -08:00
Erwin Coumans
9392b05d53 bump up to PyBullet 2.4.3 2019-01-29 12:05:15 -08:00
Erwin Coumans
be7ebe22a0 PyBullet: fix for Mac OSX not finding standard libraries 2019-01-28 10:02:53 -08:00
Erwin Coumans
77a9a77b60 create some 'Unity Build' cpp files, to work-around setuptools on Windows creating >32k command-line
see 'won't fix' in https://bugs.python.org/issue1539295
2019-01-24 10:32:15 -08:00
erwincoumans
dbf93b7129 remove Rand.cpp from setup.py 2019-01-23 17:36:30 -08:00
Erwin Coumans
2f5c93a0f4 PyBullet: enable DeepMimic code as 'plugin' for stable PD control of spherical joints
enabling STATIC_LINK_SPD_PLUGIN
2019-01-23 10:42:59 -08:00
Erwin Coumans
a23cfd0782 bump up pybullet version to 2.4.0 2018-11-29 16:50:37 -08:00
erwincoumans
8c0b4d9e12 bump up pybullet version to 2.3.9 2018-11-17 14:12:10 -08:00
Erwin Coumans
ccc26260b6 bump up pybullet version to 2.3.8 2018-11-13 15:39:54 -08:00
erwincoumans
7dd524075c Implement btMultiBodySphericalJointMotor, able to track a quaternion position target.
Expose this btMultiBodySphericalJointMotor through PyBullet.setJointMotorControlMultiDof
Expose PyBullet.getQuaternionSlerp
Improve PyBullet.setJointMotorControlMultiDof
Improve humanoidMotionCapture.py with slerp and using setJointMotorControlMultiDof
Expose  btMultiBody::spatialTransform
Fix btMultiBody::setupPlanar from DeepMimic codebase
Add support for multidof joints in btMultiBody::compTreeLinkVelocities, thanks to DeepMimic codebase @xbpeng
2018-11-13 14:32:18 -08:00
Erwin Coumans
036d75bc04 fix issue that cause hanging/stallig setup.py due to monkey-patch,
see also https://github.com/bulletphysics/bullet3/issues/1956
2018-11-08 11:33:45 -08:00
Erwin Coumans
6e169ada80 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-11-06 12:33:53 -08:00
Erwin Coumans
5d20b2d346 bump up pybullet version 2018-11-06 12:33:46 -08:00
erwincoumans
f34aec941b
Merge pull request #1960 from BlGene/pip-egl
pip egl install: added btThreads.cpp
2018-10-28 19:54:38 -07:00
Max Argus
fc4d531e3c pip egl install: added btThreads.cpp 2018-10-27 21:54:33 +02:00
Erwin Coumans
bebe12d6d8 tweak tensorflow humanoid_running.py demo to be more robust against mouse dragging
(mouse dragging adds energy in the system that can cause explosions/instability):
use solverResidualThreshold and increase number of sub steps, also clamp the max force.
2018-10-27 11:48:21 -07:00
Erwin Coumans
0511a36a67 add Laikago quadruped model, thanks to Unitree for the cad meshes.
If you use the Laikago URDF, please add a citation to PyBullet:

@MISC{coumans2018,
author =   {Erwin Coumans and Yunfei Bai},
title =    {PyBullet, a Python module for physics simulation for games, robotics and machine learning},
howpublished = {\url{http://pybullet.org}},
year = {2016--2018}
}
2018-10-26 18:49:58 -07:00
Erwin Coumans
f1ac24cc60 make pybullet setup.py use threadsafe version by default 2018-10-26 18:37:28 -07:00
Erwin Coumans
eb490351ec bump up PyBullet version to 2.3.2 2018-10-16 19:04:49 -07:00
Erwin Coumans
e776408c19 add missing file to MANIFEST.in, bump up PyBullet version 2018-10-16 19:03:24 -07:00
Erwin Coumans
c441a9469c enable fileIOPlugin and loading from zipfile in PyBullet,
bump up to version 2.3.0
2018-10-11 17:44:54 -07:00
Erwin Coumans
8a0d96edce tweaks in pybullet/examples for Mac OSX 2018-10-05 19:40:52 -07:00
bla
0f8b8388a6 eglPlugin, one more fix, remove graphics instances at resetAll 2018-10-02 08:13:51 -07:00
bla
ae93c0878d bump up pybullet version to 2.2.7 (fixing egl/segmask took a few iterations) 2018-10-02 07:51:09 -07:00
bla
1609f7da4c bump up pybullet version again 2018-10-01 18:54:35 -07:00
erwincoumans
5bcd43711a PyBullet OpenGL/EGL hardware getCameraImage: use glViewport to reduce the glReadPixels calling cost dramatically for small images
PyBullet Allow OpenGL/EGL hardware to render segmentation mask. Use pybullet.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX or pybullet.ER_SEGMENTATION_MASK
PyBullet.removeBody fix indexing bug (use foundIndex, not i)
PyBullet bump up version to 2.2.3
2018-09-30 07:10:40 -07:00
Erwin Coumans
cd2f111a10 update pybullet version, include *.* from OpenGLWindow 2018-09-25 17:06:32 -07:00
Erwin Coumans
47efe66017 disable eglPlugin from setup.py / pip pybullet on Windows and Mac (only enable on Linux) 2018-09-21 09:55:57 -07:00
bla
3de295ca41 add missing files to MANIFEST.in for pybullet pip version 2018-09-19 08:43:55 -07:00
Erwin Coumans
d909448ee3 bump up pybullet version again 2018-09-12 21:03:07 -07:00
Erwin Coumans
c8fe0f7fbc bump up pybullet version to 2.1.5 2018-09-12 20:33:52 -07:00
Erwin Coumans
23ecbab7b3 fix setup.py and pybullet to work better with eglPlugin on Linux 2018-09-11 13:24:35 -07:00
bla
36c900e384 linux fixes related to egl 2018-09-10 23:52:53 -07:00
erwincoumans
684a9f6a99 move stb_image/stb_image_write.cpp into a cpp file instead of random files with the magic 'STB_IMAGE_WRITE_IMPLEMENTATION' define
move setup.py back to eglRenderer extension, use pkgutil.get_loader('eglRenderer').get_filename()
disable dlmopen by default, unless B3_USE_DLMOPEN is defined.
2018-09-10 23:18:34 -07:00
bla
8f711462e0 fix setup.py to work better on Windows and Linux (with default eglPlugin static built-in,
just use pybullet.loadPlugin("eglRendererPlugin") before loading/creating any objects.
use end/startRendering (swap buffers) before the rendering in the eglPlugin
2018-09-09 22:58:08 -07:00
erwincoumans
9698c3d600 PyBullet setup.py: only enable BT_USE_EGL on Linux, but allow to run the eglPlugin on Windows and Mac as well (using their default opengl window).
postpone the 'loadPlugin' for static eglPlugin, so that the init and exit happen in the same thread.
When you don't call unloadPlugin, the program may crash when exiting in SHARED_MEMORY_SERVER mode.
2018-09-09 21:08:47 -07:00
erwincoumans
7369005402 pybullet, use eglPlugin statically instead of dynamic loading an Extension -DSTATIC_EGLRENDERER_PLUGIN
Fix compile errors of pybullet on Windows.
2018-09-09 15:23:26 -07:00
erwincoumans
233a7083d1
Merge pull request #1790 from BlGene/egl-plugin
OpenGL render plugin
2018-09-09 09:27:15 -07:00
Erwin Coumans
bc0a201bd1 update quickstart guide from https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.2ye70wns7io3
bump up pybullet version to 2.1.4
2018-09-08 12:48:26 -07:00
Max Argus
425ab144bb fix setup.py 2018-08-30 13:24:25 +02:00
Max Argus
4d6c610682 enable egl by default for pybullet SimpleOpenGL3App 2018-08-30 13:24:25 +02:00