Commit Graph

1688 Commits

Author SHA1 Message Date
erwincoumans
e0bb359804 report the camera target in the ExampleBrowser StatusBarMessage
(so the parameters reported are compatible with the resetDebugVisualizerCamera API)
2017-12-14 09:36:36 -08:00
Erwin Coumans
8c0913d96b Merge remote-tracking branch 'bp/master' 2017-12-01 10:25:43 -08:00
Erwin Coumans
c556ad651d expose pybullet 'enableConeFriction' to switch between pyramid and cone friction model. 2017-12-01 10:07:07 -08:00
erwincoumans
5cada6a78d
Merge pull request #1464 from erwincoumans/master
add pybullet unittests.py with travis support
2017-11-29 10:38:36 -08:00
Erwin Coumans
ec0a182a12 add pybullet unittests.py with travis support 2017-11-28 21:53:26 -08:00
erwincoumans
e76804173a
Merge pull request #1463 from erwincoumans/master
fixes related to torsional friction, due to recent cone friction update.
2017-11-28 21:18:57 -08:00
erwincoumans
8ff75e11cd fixes related to torsional friction, due to recent cone friction update. 2017-11-28 20:09:56 -08:00
Avik De
fd24219f36 Added note that license is same as bullet3 2017-11-27 09:50:18 -05:00
Avik De
29d72a9fee Hopefully fixed compile on gcc/clang 2017-11-27 09:44:54 -05:00
Avik De
a6d527cca9 added including for cstring... strange that it compiled in VS without it 2017-11-26 21:39:42 -05:00
Avik De
863292fa3d replaced C++11 code 2017-11-26 21:09:57 -05:00
Avik De
5a1c4b7946 added TwoJoint example 2017-11-26 20:38:50 -05:00
Erwin Coumans
6baf82d6d8 improve testrender/np to render faster/interactive on Mac with matplotlib 2017-11-24 18:57:16 -08:00
erwincoumans
c5f79fe979 pybullet testrender.py/testrender_np.py examples, improve matplotlib rendering performance (headless DIRECT and OpenGL/GUI) 2017-11-24 18:09:20 -08:00
erwincoumans
b1c2bdc72a pybullet: fix numpy compile issue on Windows, another fix 2017-11-24 16:50:36 -08:00
Erwin Coumans
82b51ac78d pybullet: fix Windows numpy build 2017-11-24 14:33:24 -08:00
erwincoumans
9936a1cc92 friction cone test 2017-11-23 18:14:29 -08:00
erwincoumans
874d764051 add missing file in CMakeLists.txt 2017-11-23 09:32:31 -08:00
erwincoumans
29aa9cb789 Bullet bump up to version 2.88
add preliminary support to import btMultiBody from a .bullet file (will help save/restore state)
fix some Windows char/widechar issues
2017-11-22 18:12:02 -08:00
erwincoumans
76772fd301 reduce stack usage 2017-11-22 15:30:56 -08:00
erwincoumans
ab843b26f0 expose a maximum velocity due to the joint motor in position control.
see also pybullet/examples/motorMaxVelocity.py
this fixes issue 1444
2017-11-21 17:05:28 -08:00
Erwin Coumans
3e17f3387a reduce MAX_SDF_BODIES to 512, it causes stack overflow failures in some internal tests 2017-11-20 11:05:31 -08:00
Erwin Coumans
88289c032e fix canvas issues from previous commit 2017-11-18 17:20:21 -08:00
Erwin Coumans
c88132b80f fix issue in pybullet_envs.agents
bump up to pybullet 1.6.9
2017-11-18 17:07:27 -08:00
erwincoumans
099a6f65f3 tweak zbuffer visualization, show targetpos in example browser 2017-11-18 15:18:46 -08:00
erwincoumans
81146a4090 pybullet: move RGB,depth, segmentation mask preview windows to the right
remove some dead code from PhysicsServerCommandProcessor.cpp
2017-11-18 13:21:20 -08:00
erwincoumans
b2a1eeb754 Merge remote-tracking branch 'bp/master' 2017-11-17 16:21:09 -08:00
erwincoumans
a9b59b4511 Finally refactored the PhysicsServerCommandProcessor::processCommand switch statements into over 50 separate functions.
Over time, some of those functions can be moved into separate plugins, similar to vrSyncPlugin (either statically/dynamically linked plugins or dynamically loaded at run-time)
2017-11-17 16:14:18 -08:00
erwincoumans
848be4710e
Merge pull request #1440 from erwincoumans/master
remove obsolete 'register' from BussIK
2017-11-17 14:13:16 -08:00
erwincoumans
e2d29d4048 also enable depth and segmentation mask preview window in example browser/pybullet
You can disable/enable all preview windows using:

p.configureDebugVisualizer(p.COV_ENABLE_RGB_BUFFER_PREVIEW,0/1)
p.configureDebugVisualizer(p.COV_ENABLE_DEPTH_BUFFER_PREVIEW,0/1)
p.configureDebugVisualizer(p.COV_ENABLE_SEGMENTATION_MASK_PREVIEW,0/1)
2017-11-17 13:33:27 -08:00
Erwin Coumans
e35b0c5643 remove obsolete 'register' from BussIK 2017-11-17 12:09:21 -08:00
erwincoumans
f31f552ee3
Merge pull request #1439 from mbreyer/bugfix-TinyRenderer
Fix wrong depth values returned by TinyRenderer
2017-11-17 09:39:55 -08:00
Michel Breyer
f7e593f8e9 Simplify the depth value transformations to reduce the number of operations 2017-11-17 15:15:11 +01:00
Michel Breyer
bb2ee12b86 Initialize TinyRenderer's depth buffer properly. 2017-11-17 14:59:24 +01:00
Michel Breyer
8257429964 Fix error discarding fragments in our_gl 2017-11-17 14:49:12 +01:00
Michel Breyer
5138fe2c55 Fix wrong depth values returned by TinyRenderer 2017-11-17 14:48:41 +01:00
Erwin Coumans
f483ccd8ef remote org configs 2017-11-16 16:49:25 +00:00
Erwin Coumans
7b030426c1 add a temp copy of TF agents (until the API stops changing or configs.py are included) 2017-11-16 16:47:14 +00:00
erwincoumans
e982efc18a fix in previous commit related to pybullet.c changeUserConstraint / pybullet_internalSetMatrix 2017-11-12 21:53:14 -08:00
erwincoumans
6be7e34dd6 pybullet vr_kuka_setup.py: add a gear joint, to keep the gripper centered,
vr_kuka_control.py: control all joints, use analogue button to close gripper
remove some debug warnings/prints
pybullet, avoid crash in changeUserConstraint if not passing a [list]
allow some gym environments (pybullet_pendulum and locomotors) to re-use an existing physics client connection.
2017-11-12 10:36:30 -08:00
erwincoumans
b5bf70cb80 fix potential memory leak when manually loading a texture (pybullet.loadTexture), due to URDF/SDF texture caching (manually loading textures are not cached) 2017-11-09 11:09:07 -08:00
Erwin Coumans
d570730b8e fix pybullet and bump up version to 1.6.4 2017-11-07 21:11:16 -08:00
Erwin Coumans
344005a8f0 catch invalid mass/inertia instead of division by zero/nan. also, avoid indexing <0 2017-11-07 19:25:14 -08:00
erwincoumans
493d7bc94d obj2sdf, add option to merge shapes with same materials, add support for transparent objects
tiny_obj_loader, load the "d" and "Tr" transparant tag
2017-11-04 19:17:20 -07:00
Erwin Coumans
5701b5b152 expose COV_ENABLE_Y_AXIS_UP to pybullet
increase MAX_SDF_BODIES from 512 to 1024 (botlab needs it)
2017-11-04 12:51:13 -07:00
Erwin Coumans
4798d66f19 fixes in kuka/racecar environment. kuka still doesn't train well, work-in-progress 2017-11-01 18:06:47 -07:00
Erwin Coumans
e4f58ddc33 fix typo, add train_ppo kuka task 2017-10-31 16:33:13 -07:00
Erwin Coumans
3709e68645 fix discrete versions of kuka grasping environment
should fix issue 1386
2017-10-31 16:14:20 -07:00
Erwin Coumans
33d32d7ab4 add continuous version of kuka cam gym env test 2017-10-31 16:10:02 -07:00
Erwin Coumans
4e2dfbe58e add minitaur duck environment
see also  https://www.youtube.com/watch?v=SLwUCMZdKLo and
evolution strategies (hardmaru):
https://twitter.com/hardmaru/status/925074585984237568
2017-10-31 16:05:52 -07:00