Commit Graph

5237 Commits

Author SHA1 Message Date
erwincoumans
2f3844e5db Merge pull request #1131 from ahundt/cmake
cmake python config bugs fixed
2017-05-22 20:33:45 -07:00
erwincoumans
148716d0ff Merge pull request #1135 from erwincoumans/master
disable Grasp Soft Body/SoftBody coupling demo unless USE_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD is defined, fixed related hang in experimental 'loadBunny' command
2017-05-21 11:00:43 -07:00
Erwin Coumans
fd40ba424b test for knee joint limits under position control 2017-05-21 11:00:15 -07:00
erwincoumans
3c4fd2ce8c Merge pull request #1132 from ahundt/btsoftbody
btsoftbody fix #1106, compiler error in App_PhysicsServer_SharedMemory
2017-05-21 06:59:40 -07:00
erwincoumans
e0865ee8ed Merge pull request #1133 from lunkhound/pr-remove-dcast
fix a crash in example browser when enabling multi-threading
2017-05-21 06:56:14 -07:00
Erwin Coumans
4dcf2b82b6 bump up pybullet to version 1.0.7 2017-05-21 06:53:06 -07:00
Erwin Coumans
b19c209dbc The softbody/bunny test is very experimental and shouldn't be enabled in the example browser, unless USE_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD is defined. I fixed a few bugs that cause the hang. 2017-05-21 06:50:53 -07:00
Andrew Hundt
1e83630c1d cmake minor fixes 2017-05-21 09:32:00 -04:00
Lunkhound
5bc9d431a0 CommonRigidBodyMTBase: replace dynamic_cast (which crashes without RTTI) with static_cast 2017-05-21 03:14:09 -07:00
Andrew Hundt
655def023e python versions can vary by default unless EXACT_PYTHON_VERSION=ON
Still ensures library version matches interpreter version exactly.
2017-05-20 21:58:03 -04:00
Andrew Hundt
e719da3497 btsoftbody fix #1106, compiler error in App_PhysicsServer_SharedMemory
BulletSoftBody was not linking to App_PhysicsServer_SharedMemory when USE_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD was enabled.
2017-05-20 21:14:00 -04:00
Andrew Hundt
263ccec18a cmake python config bugs fixed
Python and pybullet remain optional with these changes.
A specific python version can now be selected by setting PYTHON_VERSION_PYBULLET.
The python library version must now match the interpreter version exactly.
If all required python dependencies are found, pybullet is now enabled by default.
Changes incorporate the following BSD licensed cmake code:
32bf5c7ad8/CMakeScripts/FindNumPy.cmake
https://github.com/NikolausDemmel/CMake/pull/2/files
86578eccf2/Modules/SelectLibraryConfigurations.cmake
2017-05-20 20:47:46 -04:00
erwincoumans
4ba4c11734 Merge pull request #1129 from jietan/pullRequest
remove sonnet dependency
2017-05-18 16:37:49 -07:00
Jie Tan
8a6a46d180 remove sonnet dependency 2017-05-18 16:12:38 -07:00
Erwin Coumans
16a8dceb73 fix warning 2017-05-18 08:31:40 -07:00
Erwin Coumans
b8e20d502b Merge remote-tracking branch 'bp/master' 2017-05-18 08:31:17 -07:00
Erwin Coumans
6722204296 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-05-18 08:31:08 -07:00
Erwin Coumans
f5d7aac5cc bump up pybullet to 1.0.6, prepare to tag Bullet 2.87 release 2017-05-17 21:21:33 -07:00
erwincoumans
d40787f3fd Merge pull request #1128 from erwincoumans/master
.obj file caching, update VR camera even when setRealTimeSimulation(0) + position-only tracking
2017-05-17 21:19:01 -07:00
Erwin Coumans
a2a83975f2 update pybullet quickstart guide pdf from https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit# 2017-05-17 19:42:28 -07:00
Erwin Coumans
c2fdffba35 pybullet.enableJointForceTorqueSensor kwlist was not properly terminated 2017-05-17 19:37:51 -07:00
Erwin Coumans
19295f2859 enable file caching, currently only for Wavefront .obj files. You can disable file caching using
pybullet.setPhysicsEngineParameter(enableFileCaching=0)
Allow VR camera tracking only using position tracking, no orientation tracking (use
pybullet.setVRCamera([posX,posY,posZ],trackObjectFlag=0 or pybullet.VR_CAMERA_TRACK_OBJECT_ORIENTATION)
2017-05-17 19:29:12 -07:00
Erwin Coumans
972660f825 Only initialized values if provided (and don't initialize default if not provided!)
fixes getCameraImage(width,height) crash
2017-05-17 17:25:34 -07:00
Erwin Coumans
9c4a5f9336 update VR camera even if setRealTimeSimulation(0)
also update w component in setVRCameraState orientation
2017-05-17 16:29:30 -07:00
Erwin Coumans
6db6f45135 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-05-17 10:28:19 -07:00
erwincoumans
40f923647a Merge pull request #1127 from erwincoumans/master
fix issue when re-connecting to physics server, after removeBody.
2017-05-16 17:40:40 -07:00
Erwin Coumans
ea10c6d335 fix issue when re-connecting to physics server, after removeBody. 2017-05-16 17:19:45 -07:00
erwincoumans
ba22f4a4dc Merge pull request #1126 from erwincoumans/master
allow to enable/disable VR picking and VR teleport. Disabling VR pick…
2017-05-16 13:55:47 -07:00
Erwin Coumans
2f57c259fd Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-05-16 13:55:29 -07:00
Erwin Coumans
433d11d8cf Add a btIDEbugDraw::clearLines, helps multi-threaded rendering of lines (while updating those lines in a dynamics world in a different thread)
Expose COV_ENABLE_VR_RENDER_CONTROLLERS, to enable/disable rendering of controllers (and some frames) in VR
Expose COV_ENABLE_RENDERING to enable/disable rendering.
Fix some multi-threading issues (potential crashes), related to debug drawing/rendering in one thread, while changing the dynamics world/removing/resetSimulation in a different thread.
2017-05-16 12:19:03 -07:00
Erwin Coumans
4dea68e43e allow to enable/disable VR picking and VR teleport. Disabling VR picking will also disable the rendering of the VR controller frames. 2017-05-15 11:39:39 -07:00
erwincoumans
945b9b1b1d Merge pull request #1125 from erwincoumans/master
GLInstancingRenderer: don't crash but assert/return -1 when exceeding vertex capacity
2017-05-15 09:37:28 -07:00
Erwin Coumans
a554c250a7 GLInstancingRenderer: don't crash but assert/return -1, if the # vertices exceeds the maximum capacity. 2017-05-15 09:02:49 -07:00
Erwin Coumans
dfe618bd62 initialize UrdfGeometry members 2017-05-15 07:59:07 -07:00
erwincoumans
cd78379899 Merge pull request #1124 from erwincoumans/master
initialize alpha component of color
2017-05-14 21:34:56 -07:00
Erwin Coumans
11fa56513b initialize alpha component of color 2017-05-14 21:14:56 -07:00
erwincoumans
4e72ff4a30 Merge pull request #1123 from erwincoumans/master
clear unused visual shape data, bump up pybullet version, update pybullet quickstart guide pdf
2017-05-14 19:29:48 +00:00
Erwin Coumans
59ece491bd Merge remote-tracking branch 'bp/master' 2017-05-14 12:22:02 -07:00
Erwin Coumans
23b8579247 avoid some 'invisible' warning/error (C++/C mix) 2017-05-14 12:00:28 -07:00
Erwin Coumans
987b9541a5 clear unused visual shape data (was de-allocated at the end, not during each 'resetSimulation') 2017-05-14 11:09:32 -07:00
Erwin Coumans
196d3248b4 update pybullet quickstart guide, bump up pybullet to version 1.0.4 (will update pypi) 2017-05-13 19:13:32 -07:00
erwincoumans
f74ef9dd76 Merge pull request #1122 from erwincoumans/master
added getJointStates and make humanoid_running.py use it to reduce Py…
2017-05-14 02:05:44 +00:00
Erwin Coumans
bb4c195118 added getJointStates and make humanoid_running.py use it to reduce Python<->C++ calling overhead a lot. 2017-05-13 18:07:49 -07:00
erwincoumans
6ca6f5541f Merge pull request #1121 from erwincoumans/master
don't render objects with zero alpha, expose the changeVisualShape RGBA color
2017-05-13 21:25:43 +00:00
Erwin Coumans
8b90885cf6 more compile fixes 2017-05-13 13:58:05 -07:00
Erwin Coumans
e954374e56 build system fixes 2017-05-13 13:50:35 -07:00
Erwin Coumans
ef7a7f9004 Potential fix for Linux slow performance (usleep(0) takes a lot of time)
Remove b3RobotSimAPI, use RobotSimulator/b3RobotSimulatorClientAPI.h instead
2017-05-13 13:37:49 -07:00
Erwin Coumans
0944790577 migrating from b3RobotSimAPI to b3RobotSimulatorClientAPI (step by step)
allow to run the client/server code in the example browser without this b3RobotSimAPI hack.
2017-05-13 11:15:20 -07:00
Erwin Coumans
f80838e989 expose the changeVisualShape RGBA color for TinyRenderer, OpenGL3 renderer. 2017-05-13 09:18:36 -07:00
erwincoumans
f445a734a6 Merge pull request #1120 from erwincoumans/master
removeBody: also remove CPU/TinyRenderer visual shapes
2017-05-13 14:41:16 +00:00