Commit Graph
1796 Commits
Author SHA1 Message Date
erwincoumans 01f58f8f02 PyBullet: soft bodies are rendered, so we don't need to also render wireframes in regular mode.
Use glBufferSubData instead of glMapBuffer/glUnmapBuffer, much faster soft body vertex sync.
Don't use a separate btSoftBodyWorldInfo, use the existing one in btSoftMultiBodyDynamicsWorld.
2018-02-18 11:09:42 -08:00
erwincoumans a6849de99c Merge pull request #1555 from JanMatas/softBody-opengl-rendering
Implemented support for softbodies in OpenGL renderer
2018-02-18 10:48:46 -08:00
erwincoumans ddf304ca78 PyBullet: expose internal edge utility, to adjust edge normals to prevent object penetrating along triangle edges of concave triangle meshes
(due to local convex-triangle collisions causing opposite contact normals, use the pre-computed edge normal)
PyBullet: expose experimental continuous collision detection for maximal coordinate rigid bodies, to prevent tunneling.
2018-02-16 19:44:33 -08:00
erwincoumans d3fe21ef17 Add option GUI_MAIN_THREAD for running OpenGL in the main thread (Python thread). This already happens on Mac OSX by default.
Pass all argc/argc from options to InProcessPhysicsClientSharedMemoryMainThread
2018-02-14 16:49:44 -08:00
erwincoumans 5e08d6d334 small test to create / simulate random box stacks 2018-02-14 15:37:50 -08:00
Jan Matas 817fb40fb5 Revert "Create a new pointer in btCollisionShape instead of just using userPtr."
This reverts commit d2d987a5ed.

After discussion, we decided to use userPtr.
2018-02-12 11:26:39 +00:00
Erwin Coumans 68559426cd Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-11 06:59:19 -08:00
Erwin Coumans c143c90c11 add HelloPyBullet notebook 2018-02-11 06:58:45 -08:00
Erwin Coumans c0781fa9f1 fix cmake build 2018-02-09 19:06:00 -08:00
Erwin Coumans 508550c5e9 fix premake build for linux, thanks to @consultit
See also issue #1538
2018-02-09 18:46:26 -08:00
Jan Matas d2d987a5ed Create a new pointer in btCollisionShape instead of just using userPtr. 2018-02-08 13:49:36 +00:00
Jan Matas 82214eb99f Implemented support for softbodies in OpenGL renderer 2018-02-08 13:31:40 +00:00
Erwin Coumans be5e58772e fix include 2018-02-06 11:52:45 -08:00
erwincoumans 19231434c2 gym env backward compatibility due to gym 0.9.6 breaking changes 2018-02-06 10:20:41 -08:00
erwincoumans 82fae36ab9 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-06 08:59:58 -08:00
erwincoumans 3fb26e4835 fix issue with plugin manager (store plugin uid instead of pointer) 2018-02-06 08:56:24 -08:00
Erwin Coumans dcdec2236f PyBullet/rendering: improve sorting of transparent objects 2018-02-05 23:48:39 -08:00
Sam Wenke ad3c236bfd pybullet support for gym.Env, including v0.9.x 2018-02-04 11:35:47 -05:00
erwincoumans d4b834b9f0 fix #3 2018-02-04 11:35:47 -05:00
erwincoumans 9b9a0c5992 fix #2 for pthread/dl 2018-02-04 11:35:46 -05:00
erwincoumans b15ac0c5f6 add pthread/DL to App_RobotSimulator_NoGUI for Linux (not Win32/Apple) 2018-02-04 11:35:46 -05:00
erwincoumans 433f8449f4 refactor b3RobotSimulatorClientAPI into a main part without GUI dependencies (no OpenGL, gwen, glew etc)
so that App_RobotSimulator_NoGUI can link against BulletRobotics and App_RobotSimulator links against BulletRobotics and some extra files.
2018-02-04 11:35:46 -05:00
erwincoumans 7f535367ef Add new methods for b3RobotSimulatorClientAPI, thanks to John F. Canny for the contribution! 2018-02-04 11:35:46 -05:00
erwincoumans a576fd38cd Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-01-31 22:17:39 -08:00
erwincoumans 13d67e8fc3 add bicycle resources and testBike.py script (use python -m pybullet_envs.examples.testBike after pip install pybullet)
center shadow around camera target
2018-01-31 22:17:15 -08:00
Erwin Coumans e88dca3152 update autogenerated NativeMethods.cs from latest PhysicsClientC_Api.h 2018-01-31 09:07:31 -08:00
erwincoumans 40482e0925 fix urdfEditor.py 2018-01-29 19:19:34 -08:00
Erwin Coumans 5776f61a73 fix issue that prevents p/invoke c# generation from PhysicsClientC_API.h 2018-01-29 19:16:01 -08:00
Erwin Coumans cb0e740422 fix error in __init__.py 2018-01-27 10:25:26 -08:00
Erwin Coumans 2b5be5ca8a Merge remote-tracking branch 'bp/master' 2018-01-26 17:36:45 -08:00
erwincoumans 688d750d8a Merge pull request #1531 from AndreaIncertiDelmonte/issue-1525
Override of the reset() public funciton in child classes
2018-01-26 13:10:47 -08:00
cedspam 3011cf1130 avoid errors in some ide docs system
there are some error linked to repeated import of this module in spyder, an env with the same id cannot be registered again
2018-01-26 09:29:39 +00:00
AndreaIncertiDelmonte b908b147a6 Overwrite of the reset() public funciton in child classes 2018-01-26 10:09:14 +01:00
Erwin Coumans bddbb3f9dd TinyRenderer color pick: fix out-of-bounds issue 2018-01-25 16:02:47 -08:00
erwincoumans 0ce40b70c0 Merge pull request #1523 from kimhc6028/master
[fixed] gym_manipulator_envs typo
2018-01-25 13:36:42 -08:00
Erwin Coumans c6fefb1018 remove useless gym env 2018-01-25 12:11:22 -08:00
Erwin Coumans c4a046f16c remove baselines dependency (not needed, since it is a random policy) 2018-01-25 07:34:00 -08:00
erwincoumans 5d45fd5ca5 PyBullet: register KukaDiverseObjectGrasping-v0 to Gym. 2018-01-24 18:27:03 -08:00
erwincoumans 4ea406c73c PyBullet: improve examples/pybullet/gym/pybullet_envs/bullet/kuka_diverse_object_gym_env.py
(thanks to Deirdre Quillen for the environment)
Extend repeat, so gripper reaches the tray bottom.
Fix near plane so Z-Buffer is visible. Add sleep in return motion, in gui mode.
2018-01-24 18:21:59 -08:00
erwincoumans 72ec3effe6 Merge remote-tracking branch 'bp/master' 2018-01-24 18:11:33 -08:00
erwincoumans 1ec0543deb add random urdf zipfile for KUKA grasping env, thanks to Deirdre Quillen 2018-01-24 18:10:55 -08:00
erwincoumans 583b23ea40 PyBullet Humanoid Flagrun Harder: disable collision on target red sphere 2018-01-24 18:02:24 -08:00
erwincoumans aba4671358 Humanoid Flagrun Harder, PyBullet version (request from Danijar)
Fix duplicate ground in all Roboschool converted scenes.
Fix bug in all PyBullet-Roboschool converted Humanoid environments (action needs to be clipped to [-1,1] range)
2018-01-24 17:53:40 -08:00
Erwin Coumans b8362fff94 PyBullet pybullet_envs: fix issue with Humanoid environments (excessive forces, due to lack of action clamping)
PyBullet pybullet_envs: use 1./60 sleep, add enjoy_TF_HumanoidFlagrunHarderBulletEnv_v1_2017jul.py
2018-01-24 16:02:19 -08:00
kimhc6028 0d07ae03b7 [fixed] gym_manipulator_envs typo 2018-01-23 18:22:53 +09:00
erwincoumans a92423b6f7 minor clarification in UrdfRenderingInterface 2018-01-21 11:15:35 -08:00
Erwin Coumans 69007dcc61 fix MJCF loading (use self-collision) 2018-01-20 12:07:35 -08:00
deq2 e30f2624f9 Added kuka environment with multiple diverse objects. (#1508)
* Added new diverse object environment
2018-01-18 08:49:00 -08:00
erwincoumans 1661f25fd8 minor indentation fix 2018-01-17 13:11:02 -08:00
erwincoumans ccde28eb9f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-01-17 13:07:05 -08:00