Commit Graph
100 Commits
Author SHA1 Message Date
erwincoumans d69fefd7e9 Merge pull request #1559 from shubhtuls/patch-1
minor bugfix in image reshaping in kukaGymEnv.py
2018-03-08 15:16:30 -08:00
erwincoumans 94118bb2aa Merge pull request #1592 from erwincoumans/master
git merge --no-ff a-anik-fix-import-spherical
2018-03-08 15:14:51 -08:00
erwincoumans 31c2e00139 Merge pull request #1587 from a-anik/fix-import-spherical
Fix import of spherical joint state
2018-03-07 15:49:09 -08:00
erwincoumans 047da9dc04 Merge pull request #1591 from erwincoumans/master
Use kF_UseGjkConvexCastRaytest by default for raycast in PyBullet (it…
2018-03-07 15:47:08 -08:00
Erwin Coumans b578361acf Use kF_UseGjkConvexCastRaytest by default for raycast in PyBullet (it is more robust/accurate, but a bit slower)
Use 10*EPSILON, as suggested in Gino's paper:
http://www.continuousphysics.com/ftp/pub/test/files/physics/papers/jgt04raycast.pdf
2018-03-07 14:51:51 -08:00
erwincoumans d77d85edce Merge pull request #1590 from erwincoumans/master
increase shared memory block size, bump up pybullet version, simplify r2d2 stl meshes
2018-03-07 13:29:40 -08:00
erwincoumans 8bde0d35cc Merge pull request #1589 from GaborPuhr/Fix-for-#1567
Fix for #1567
2018-03-05 16:10:46 -08:00
erwincoumans 6d326a79c8 Merge pull request #1575 from erwincoumans/master
fix minor sdf warning in kiva_shelf/model.sdf
2018-03-04 12:34:21 -08:00
Erwin Coumans 4d6e2c1905 update imgui test 2018-02-24 14:57:49 -08:00
erwincoumans 94bc897067 Merge pull request #1574 from erwincoumans/master
fix glx include
2018-02-22 09:41:01 -08:00
Erwin Coumans 05b02d6b3e fix glx include 2018-02-22 09:08:10 -08:00
erwincoumans 90b34680b0 Merge pull request #1572 from erwincoumans/master
explicitly remove textures during resetSimulation
2018-02-22 08:37:03 -08:00
erwincoumans c632fea48d PyBullet: remove VisualLeakDetector 2018-02-21 23:44:57 -08:00
erwincoumans 73a4334e30 explicitly remove textures during resetSimulation
move glViewport to Win32Window
2018-02-21 23:22:16 -08:00
erwincoumans 91f77dfb39 Merge pull request #1571 from erwincoumans/master
fix __init__.py
2018-02-21 12:42:37 -08:00
erwincoumans 3508a4523b Merge pull request #1560 from YunfeiBai/master
Add shader and example for projective texture.
2018-02-21 10:23:18 -08:00
erwincoumans 8bc39ab11e Merge pull request #1569 from erwincoumans/master
allow to build GLFW version of Bullet examples on Linux (use premake4…
2018-02-21 10:07:39 -08:00
erwincoumans 0e0b7cb9f8 glew->glad 2018-02-21 08:59:06 -08:00
erwincoumans f341acc44a glew->glad 2018-02-21 08:50:47 -08:00
erwincoumans 4343d041da more work towards glew->glad 2018-02-21 08:36:53 -08:00
erwincoumans 5679802c24 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-21 08:20:01 -08:00
erwincoumans 483f017613 fix VR build 2018-02-21 08:19:49 -08:00
Erwin Coumans 3a019be57e Merge remote-tracking branch 'bp/master' 2018-02-21 07:31:00 -08:00
Erwin Coumans c2b59776ed CMakeLists glew to glad 2018-02-20 21:09:31 -08:00
Erwin Coumans 92fd206dac bump up pybullet version 2018-02-20 20:59:41 -08:00
Erwin Coumans d583269430 fix glad_glx on linux 2018-02-20 20:57:55 -08:00
Erwin Coumans 850b8b0493 add glad_glx files 2018-02-20 20:15:26 -08:00
Erwin Coumans b0984de046 preparation to replace glew by glad 2018-02-20 19:44:02 -08:00
Erwin Coumans 8bb40b632b allow to build GLFW version of Bullet examples on Linux (use premake4_linux --enable_glfw gmake) 2018-02-20 16:21:22 -08:00
erwincoumans 62b86e6eab Merge pull request #1568 from erwincoumans/master
PyBullet: soft bodies are rendered, so we don't need to also render w…
2018-02-18 16:54:49 -08:00
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 389d7aaa79 Merge pull request #1561 from erwincoumans/master
add HelloPyBullet notebook, random block stacking gym env test
2018-02-17 10:00:58 -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 1dcacbb64e Merge pull request #1564 from radarsat1/master
Fix calculation of startPt for perturbed object A.
2018-02-16 10:16:15 -08:00
erwincoumans d35941ebb8 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-14 16:50:05 -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
erwincoumans a6f3064a65 Merge remote-tracking branch 'bp/master' 2018-02-14 11:49:55 -08:00
erwincoumans e87060dcf4 Merge pull request #1557 from erwincoumans/master
fix premake build for linux, thanks to @consultit
2018-02-10 07:48:19 -08:00
erwincoumans 0421c60515 Merge pull request #1552 from erwincoumans/master
fix include
2018-02-06 19:33:31 -08:00
erwincoumans 8c3016b995 Merge pull request #1551 from erwincoumans/master
C-API/PyBullet: fix issue with plugin manager
2018-02-06 10:48:19 -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 ede8042c2c Merge remote-tracking branch 'bp/master' 2018-02-06 09:13:51 -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
erwincoumans 0cf1b2d801 Merge pull request #1550 from erwincoumans/master
PyBullet/rendering: improve sorting of transparent objects
2018-02-06 08:30:40 -08:00
Erwin Coumans dcdec2236f PyBullet/rendering: improve sorting of transparent objects 2018-02-05 23:48:39 -08:00
erwincoumans 805d4b49b3 Merge pull request #1547 from wenkesj/master
pybullet support for gym BREAKING CHANGES, including v0.9.x
2018-02-05 09:55:26 -08: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 0bebf86b50 Merge pull request #1546 from erwincoumans/master
Add new methods for b3RobotSimulatorClientAPI
2018-02-02 20:52:14 -08:00
erwincoumans b692ec87f7 fix #3 2018-02-02 20:22:53 -08:00
erwincoumans f119cff516 fix #2 for pthread/dl 2018-02-02 19:38:39 -08:00
erwincoumans 64a505ec19 add pthread/DL to App_RobotSimulator_NoGUI for Linux (not Win32/Apple) 2018-02-02 19:12:02 -08:00
erwincoumans c93b9a6165 Merge remote-tracking branch 'bp/master' 2018-02-02 18:33:59 -08:00
erwincoumans df0305462d 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-02 18:33:29 -08:00
erwincoumans b30401c1f7 Add new methods for b3RobotSimulatorClientAPI, thanks to John F. Canny for the contribution! 2018-02-02 16:19:53 -08:00
erwincoumans e66ba45ccd Merge pull request #1540 from erwincoumans/master
bump up pybullet version, update NativeMethods.cs, minor fixes
2018-01-31 22:24:31 -08: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
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
erwincoumans 09ab1d9eec Merge pull request #1532 from cedspam/patch-1
avoid errors in some ide docs system
2018-01-26 11:58:15 -08:00
erwincoumans 90e06c7fc7 Merge pull request #1535 from CuriousRubick/rubyBullet
no need to keep iterating if an object is found awake or unable to sleep
2018-01-26 11:56: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
erwincoumans 0e8097e3a6 Merge pull request #1528 from erwincoumans/master
remove baselines dependency (not needed, since it is a random policy)
2018-01-25 08:53:46 -08:00
erwincoumans c6505d8d2a Merge pull request #1527 from Breush/btthreads-header-warnings-removal
Removed warnings of unused variable in btThreads header
2018-01-25 08:53:17 -08:00
erwincoumans bdd19d619c Merge pull request #1524 from erwincoumans/master
PyBullet Humanoid Flagrun Harder + KUKA diverse objects + fix regression in ExampleBrowser (bus error)
2018-01-24 20:43:27 -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
erwincoumans a92423b6f7 minor clarification in UrdfRenderingInterface 2018-01-21 11:15:35 -08:00
erwincoumans 3e873feac0 Merge pull request #1518 from erwincoumans/master
small refactor of LinkVisualShapesConverter / TinyRendererVisualShape…
2018-01-17 14:30:17 -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
erwincoumans c781e98de4 add a little bit of documentation to the UrdfRenderingInterface 2018-01-17 13:06:44 -08:00
erwincoumans 3073d60845 Update tinyRendererPlugin.cpp 2018-01-17 12:53:00 -08:00
erwincoumans 585f858842 PyBullet: bump up API version due to move of tinyrenderer into a plugin 2018-01-17 12:51:19 -08:00
erwincoumans 012f4534fd Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-01-17 12:49:27 -08:00
erwincoumans 329a1f5a74 PyBullet: move TinyRenderer into a plugin, default statically loaded. You can also dynamically load a render plugin, as shown in renderPlugin.py example. premake has a way to compile the tinyRendererPlugin. 2018-01-17 12:48:48 -08:00
erwincoumans df89ce6f92 small refactor of LinkVisualShapesConverter / TinyRendererVisualShapeConverter, it allows to use it in a Python module and in a PyBullet plugin. 2018-01-16 17:58:19 -08:00
erwincoumans 023ec7ce9e Merge pull request #1515 from erwincoumans/master
apply a maximum velocity for the KUKA arm
2018-01-16 17:28:46 -08:00
erwincoumans 32d615565d Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-01-16 13:39:54 -08:00
erwincoumans 68c2253f82 reduce dependency: PhysicsServerCommandProcessor -> PhysicsCommandProcessorInterface 2018-01-16 13:39:37 -08:00
erwincoumans 603d674e74 Merge remote-tracking branch 'bp/master' 2018-01-16 10:20:37 -08:00
erwincoumans 173eec93fc Merge pull request #1513 from erwincoumans/master
fix wrong enum type
2018-01-16 10:20:14 -08:00
erwincoumans 055930817e apply a maximum velocity for the KUKA arm, otherwise motion can become very unrealistic 2018-01-16 10:17:57 -08:00
erwincoumans 19ecca396a Merge pull request #1512 from erwincoumans/master
Various  PyBullet fixes: slowdown of Roboschool ported Gym envs (reset), fix leaks, add more ported envs, thanks to Benjamin Ellenberger
2018-01-15 14:55:45 -08:00
erwincoumans 851ca5bfb3 Improve PyBullet ports of Roboschool envs: fix reset (it kept adding stadium objects, causing slowdown), now reset uses saveState/restoreState and reset becomes a few orders of magnitude faster.
Use python -m pybullet_envs.examples.testEnv --env AntBulletEnv-v0 --render=1 --steps 1000 --resetbenchmark=1

Added environments: HumanoidFlagrunBulletEnv-v0, HumanoidFlagrunHarderBulletEnv-v0, StrikerBulletEnv-v0, ThrowerBulletEnv-v0, PusherBulletEnv-v0, ReacherBulletEnv-v0, CartPoleBulletEnv-v0 and register them to OpenAI Gym.
Allow numpy/humanoid_running.py to use abtch or non-batch update (setJointMotorControl2/setJointMotorControlArray)
2018-01-15 12:48:32 -08:00
erwincoumans 9ffb05eb3b fix double->float issue by cast, fixes issue #1510
fix possible out-of-bounds access in btMultiBody
2018-01-15 11:59:00 -08:00
erwincoumans 9d405fde67 PyBullet: free cached textures
PyBullet: bool PhysicsServerCommandProcessor::pickBody, disable collision filtering to allow picking of all objects
2018-01-15 08:36:08 -08:00