Commit Graph

5931 Commits

Author SHA1 Message Date
Erwin Coumans
63ee841bea trigger build system 2017-09-23 21:01:56 -07:00
erwincoumans
e95a15dabe Revert "Cmake pybullet fix" 2017-09-23 20:58:14 -07:00
Jeffrey Bingham
1727e47beb [pybullet] Add calculateJacobian.
* Add the calculateJacobian method to the pybullet API.
* Adjust the shared memory interface to handle fixed/floating bases
  in the calculateJacobian method.
* Fix a few comments.
2017-09-23 19:58:59 -07:00
erwincoumans
8e496036c6 More work on the C/C++ plugin system for pybullet/C-API:
Add preTickPluginCallback/postTickPluginCallback
User pointer for b3PluginContext, to store objects (class/struct instances)
Pass ints and floats as optional argument for plugin executePluginCommand
2017-09-23 18:05:23 -07:00
erwincoumans
5373ca39e1 add example snippet for the testPlugin/testplugin.cpp 2017-09-23 09:26:51 -07:00
erwincoumans
815a56c9bc Allow to load a urdf file in the testplugin.cpp, as first quick test, example pybullet script:
import pybullet as p
p.connect(p.GUI)
pluginUid = p.loadPlugin("E:/develop/bullet3/bin/pybullet_testplugin_vs2010_x64_debug.dll")
commandUid = 0
argument = "plane.urdf"
p.executePluginCommand(pluginUid,commandUid,argument)
p.unloadPlugin(pluginUid)
2017-09-23 09:25:00 -07:00
erwincoumans
37cfce99b2 add arguments to plugin system 2017-09-23 07:52:10 -07:00
erwincoumans
5f6cd6a42b link against DL for dlopen 2017-09-23 07:26:03 -07:00
erwincoumans
240fff575d Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-23 07:22:50 -07:00
Erwin Coumans
3783dccaa3 create a C/C++ plugin system for pybullet / C-API. 2017-09-22 19:17:57 -07:00
erwincoumans
312e35964f make some code const correct. 2017-09-22 07:53:21 -07:00
erwincoumans
a506879d6c Merge pull request #1327 from erwincoumans/master
Quick first prototype/test to integrate pybullet into Unity,
2017-09-21 21:16:47 -07:00
erwincoumans
2ee89797ad Merge pull request #1331 from ahundt/cmake
Cmake pybullet fix
2017-09-21 21:16:10 -07:00
Andrew Hundt
b720bd6290 cmake python fix typos for linux #1322 2017-09-21 23:47:31 -04:00
Andrew Hundt
ff15f2e702 cmake python fix for linux #1322
Search did not cover inconsistent lib location defined within python under linux versions
https://stackoverflow.com/questions/20582270/distribution-independent-libpython-path
2017-09-21 23:42:52 -04:00
Erwin Coumans
5f3066e2b9 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-21 16:43:58 -07:00
Erwin Coumans
b9b1b2dbca add B3_SHARED_API to the remaining PhysicsClientC_API APIs 2017-09-21 16:40:19 -07:00
Erwin Coumans
37253443f9 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-21 14:24:44 -07:00
Erwin Coumans
cc0c46c4b0 re-update the VR camera 2017-09-21 14:24:22 -07:00
Erwin Coumans
77166b068a Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-21 12:44:18 -07:00
Erwin Coumans
176c2512de add B3_SHARED_API definition for Mac / Linux / gcc 2017-09-21 08:37:00 -07:00
erwincoumans
6a7efac4c3 Quick first prototype/test to integrate pybullet into Unity,
see readme.txt for details.
2017-09-20 23:18:18 -07:00
Erwin Coumans
94de75facc Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-20 18:04:59 -07:00
erwincoumans
4d0d9f9870 Merge pull request #1325 from erwincoumans/master
enable option to use GLFW, disabled by default, premake has some option:
2017-09-20 14:13:11 -07:00
Erwin Coumans
ae8f12e8ba more fixes for retina + glfw + opengl2 fallback 2017-09-20 13:09:18 -07:00
Erwin Coumans
fb05763093 support retina / scale factor between pixel size and screen coordinate size 2017-09-20 10:07:18 -07:00
Erwin Coumans
c47019e0af fix Windows build for premake
d
2017-09-20 08:18:42 -07:00
Erwin Coumans
3e0b72b632 allow to configure glfw on Mac OSX, disabled by default 2017-09-20 08:12:59 -07:00
erwincoumans
b079277d51 minor fixes in GLFWOpenGLWindow 2017-09-19 21:40:17 -07:00
erwincoumans
cadce37141 add GLFWOpenGLWindow and glad (replacement for glew) 2017-09-19 21:16:24 -07:00
erwincoumans
f5e88a3e69 Merge pull request #1323 from erwincoumans/master
attempt to re-enable pybullet in cmake
2017-09-19 21:12:58 -07:00
erwincoumans
aaf403c805 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-19 21:12:30 -07:00
erwincoumans
390f111547 enable option to use GLFW, instead of our own cross-platform X11/Cocoa/Windows OpenGLWindow classes 2017-09-19 21:10:54 -07:00
Erwin Coumans
739728c8af revert to FIND_PACKAGE(PythonLibs), the new solution doesn't work with Travis 2017-09-19 10:50:24 -07:00
Erwin Coumans
420042c628 try to re-enable continuous integration 2017-09-19 10:28:52 -07:00
Erwin Coumans
2d3cd8d091 disable NUMPY build by default 2017-09-18 18:14:46 -07:00
Erwin Coumans
4108211ec8 attempt to re-enable pybullet in cmake 2017-09-18 18:11:08 -07:00
erwincoumans
de62dc6f4b Merge pull request #1318 from erwincoumans/master
fix pybullet pendulums/pendula gym environments
2017-09-17 18:18:56 -07:00
erwincoumans
2919e51d9d fix loading of empty file (after header)
remove debug printf
2017-09-17 15:44:14 -07:00
Erwin Coumans
f4b28dddce fix rendering ("rgb_array") for pendulums/pendula 2017-09-15 16:33:22 -07:00
erwincoumans
1881f6679a fix issue with rendering of certain capsules from MJCF files. 2017-09-15 15:38:24 -07:00
Erwin Coumans
81bf709ad7 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-15 13:12:06 -07:00
Erwin Coumans
3d7ee317db fix pybullet gym environments: InvertedDoublePendulumBulletEnv-v0,
InvertedPendulumBulletEnv-v0, InvertedPendulumSwingupBulletEnv-v0

motors were not disabled, extra gains applied etc.
2017-09-15 13:09:05 -07:00
erwincoumans
fa85bdcf73 Merge pull request #1317 from erwincoumans/master
remove some warning ,see also Pull Request #302, various other fixes.
2017-09-14 17:16:58 -07:00
Erwin Coumans
2e7c0cef38 pybullet/C-API: fix width/height when getCameraImage has a fallback from OpenGL hardware
to TinyRenderer
2017-09-14 15:39:22 -07:00
Erwin Coumans
06b695e051 remove some warning ,see also Pull Request #302
bump up pybullet version
2017-09-14 08:08:24 -07:00
erwincoumans
4a6bc7c95f Merge pull request #1289 from lolengine/fix-one-sided-softbodies
Fix one-sided soft bodies.
2017-09-14 07:42:41 -07:00
erwincoumans
ffb05d74da Merge pull request #1308 from benelot/fix-gyms
Fix gyms to make them work just like robotschool
2017-09-14 07:40:51 -07:00
erwincoumans
d2d9e7750f Merge pull request #1315 from erwincoumans/master
fix pybullet, checked wrong type after connection
2017-09-14 07:37:11 -07:00
Benelot
3f57fb655a Enable randomized reset for Humanoid. 2017-09-14 12:53:12 +02:00