Commit Graph

5648 Commits

Author SHA1 Message Date
Erwin Coumans
c06ea72a4c improve the new pybullet gym environments, follow camera, disable 2D GUI, disable rendering during loading (makes it faster)
disable vsync on Mac
fix setup.py file
2017-08-20 18:11:53 -07:00
Erwin Coumans
c4112ec5cc Merge remote-tracking branch 'bp/master' 2017-08-19 16:16:56 -07:00
Erwin Coumans
b80a387a1e upgrade to latest OpenVR 1.0.9 (https://github.com/ValveSoftware/openvr)
enable experimental Mac OSX OpenVR, tested using Apple External Graphics Development Kit.
2017-08-19 09:48:32 -07:00
erwincoumans
a4f28e1589 Merge pull request #1219 from lunkhound/pr-nncg
NNCG solver: apply rolling friction consistently
2017-08-18 13:31:54 -07:00
erwincoumans
b940a83797 Merge pull request #1257 from erwincoumans/master
bump up pybullet setup.py version, make B3_NO_PYTHON_FRAMEWORK defaul…
2017-08-18 13:30:03 -07:00
erwincoumans
c0984b80e5 Merge pull request #1231 from benelot/bullet-gym
Add nearly all gym environments using pybullet together with the…
2017-08-18 13:29:43 -07:00
Erwin Coumans
226aaedc46 bump up pybullet setup.py version, make B3_NO_PYTHON_FRAMEWORK default on Mac
minor fixes (arg name in header/cpp the same)
2017-08-18 08:53:46 -07:00
Benelot
3191291748 Split pendula robot from the pendula envs due to changes in the underlying mujoco xml base env. 2017-08-17 00:25:16 +02:00
Benelot
9f20e40541 Rename old humanoid gym to simple humanoid gym. 2017-08-17 00:06:01 +02:00
Benelot
aed57d130e Update mjcf files!
----------------------------------
Git did not realize I changed those.
2017-08-17 00:04:21 +02:00
erwincoumans
bc1a039d26 Merge pull request #1256 from erwincoumans/master
revert API to be backward compatible, add b3CreateInProcessPhysicsSer…
2017-08-16 14:02:53 -07:00
Benelot
f74a9299a8 Unversion manipulators for now. They come back as they are ready. 2017-08-16 22:43:40 +02:00
Erwin Coumans
a66576f034 revert API to be backward compatible, add b3CreateInProcessPhysicsServerAndConnectSharedMemory
same for BulletURDFImporter constructor
2017-08-16 12:33:25 -07:00
erwincoumans
b7579cbdda Merge pull request #1254 from erwincoumans/master
Expose optional "globalScaling" factor to pybullet.loadURDF/SDF, and add pybullet.connect(p.GUI_SERVER option, that allows shared memory connections.
2017-08-16 09:30:23 -07:00
Benelot
68106d66dd Split locomotion environments. 2017-08-16 08:08:24 +02:00
erwincoumans
2e0a987750 pybullet only allow one GUI/GUI_SERVER instance.
Fix LINK_FRAME/WORLD_FRAME coordinate issue in pybullet applyExternalForce
2017-08-15 14:15:30 -07:00
Erwin Coumans
99beb44625 fix build issues in previous commit 2017-08-15 10:46:09 -07:00
erwincoumans
9d0f875c5b fix compile issues due to API change (additional argument) 2017-08-15 09:34:44 -07:00
Benelot
cab3de35e4 Remove duplicate assets and use other assets. Rename classes appropriately for robot-scene-env split refactoring. 2017-08-15 15:31:24 +02: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
Benelot
4771bae9fa Merge branch 'master' into bullet-gym 2017-08-10 22:50:12 +02:00
Benelot
7572d505dc Add pyc to gitignore. 2017-08-10 22:46:34 +02: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
Benjamin Ellenberger
a6aade2e21 Add nearly all gym environments using pybullet together with the latest tf model from the roboschool model zoo. 2017-07-14 23:38:15 +02:00
Wugand
b7011a864b Fix for memory leak at btCreateCompoundFromGimpactShape
This is an fix for issue #1213
2017-07-03 11:08:36 +02:00
Lunkhound
b7f35000aa NNCG solver: apply rolling friction consistently regardless of the solver flags 2017-07-02 21:12:25 -07:00
Lunkhound
e85e2ee127 MultiThreadedDemo: make it possible to dial in a single large island, and
tilt the ground and adjust rolling friction
2017-07-02 21:05:51 -07: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