8a265b8af2
expose gear erp/relative position target to C-API/pybullet finish much better C++ vrSyncPlugin, running in-the-loop with the physics at high frequency, see also vr_kuka_setup_vrSyncPlugin.py
erwincoumans
2017-09-26 19:54:36 -07:00
1579b6a707
CMakeLists.txt search for any python version by default
Andrew Hundt
2017-09-26 15:49:35 -04:00
b03e5dec5f
return -1 for debugDrawItems in DIRECT mode, instead of failing the API
Erwin Coumans
2017-09-26 11:40:38 -07:00
b1f8eb74a4
bump up shared memory version number add option to recompute forward kinematics, to be consistent with link velocities in pybullet.getLinkState (..., computeForwardKinematics=0/1), thanks to Jeff Bingham for bringing up this inconsistency
erwincoumans
2017-09-26 10:05:17 -07:00
270a036cd7
add experimental vrSyncPlugin, that syncs the position/orientation of a vr controller to a gripper (through a constraint) This is in C++ and the sync runs at the simulation speed (240 Hz), so there is less lag than in Python. Modify the pybullet/examples/vr_kuka_setup.py at the end to do this:
erwincoumans
2017-09-25 18:14:50 -07:00
6d68a67c79
fix a bug in a changeVisualShape/texture selection, out-of-bounds check was using the wrong array. May fix some internal texture mug bug.
erwincoumans
2017-09-25 11:11:48 -07:00
0f30c95734
fix a compile error on Windows (variables need to be declared together at the start of a block in C)
erwincoumans
2017-09-25 07:38:00 -07:00
2d91e13886
tweak pybullet examples a bit (mac OSX OpenGL runs in mainloop, with python interpreter, so it needs some 'ping' command bump up pybullet to version 1.4.6
Erwin Coumans
2017-09-24 21:37:31 -07:00
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
erwincoumans
2017-09-23 18:05:23 -07:00
5373ca39e1
add example snippet for the testPlugin/testplugin.cpp
erwincoumans
2017-09-23 09:26:51 -07:00
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)
erwincoumans
2017-09-23 09:25:00 -07:00
37cfce99b2
add arguments to plugin system
erwincoumans
2017-09-23 07:52:10 -07:00
5f6cd6a42b
link against DL for dlopen
erwincoumans
2017-09-23 07:26:03 -07:00
2e7c0cef38
pybullet/C-API: fix width/height when getCameraImage has a fallback from OpenGL hardware to TinyRenderer
Erwin Coumans
2017-09-14 15:39:22 -07:00
06b695e051
remove some warning ,see also Pull Request #302 bump up pybullet version
Erwin Coumans
2017-09-14 08:08:24 -07:00
340a8f4704
add sigaction handler to Example Browser, to always shutdown shared memory make GUI_SERVER more reliable next attempt to connect to SHARED_MEMORY in Gym envs, if available, before DIRECT/GUI allow software rendering fallback, even if ER_BULLET_HARDWARE_OPENGL is chosen in getCameraImage
Erwin Coumans
2017-09-13 13:30:16 -07:00
2eaac410b5
remove memory of loadTexture.
Erwin Coumans
2017-09-13 12:07:19 -07:00
c250a5f0b9
re-enable shared memory connection for pybullet Gym envs (with fallback to GUI or DIRECT) suppress shared memory connection warnings add fallback from ER_BULLET_HARDWARE_OPENGL to TinyRenderer if not available
Erwin Coumans
2017-09-13 09:56:39 -07:00
cc9995d44b
fix uninitialized camera position in 'VR' / 'camera rendering' mode (causing broken specular reflections in VR) use debug visualizer camera viewmatrix/projection matrix if not provided, in ER_BULLET_HARDWARE_OPENGL mode. fix broken changeRGBAColor implementation, thanks to Laura for the report!
erwincoumans
2017-09-12 22:14:00 -07:00
9d804cfb97
avoid crash if swRenderInstances are not available
erwincoumans
2017-09-12 17:27:18 -07:00
3d3e391b6a
Support SDF capsule and cylinder.
Erwin Coumans
2017-09-11 21:49:39 -07:00
ec25f663c2
fix getAABB.py on mac osx fix humanoid_benchmark.py and explain how to read/interpret that file in Google Chrome
Erwin Coumans
2017-09-11 19:46:54 -07:00
de6d370b38
bump up pybullet version
Erwin Coumans
2017-09-11 17:36:04 -07:00