83f910711aPrepare/allow for non-Bullet2-based physics command processor in pybullet/Bullet-C-API !!! Make sure to add examples/SharedMemory/PhysicsServerExampleBullet2.cpp to your build system, if needed Bump up pybullet to version 1.0.9
erwincoumans
2017-05-30 19:54:55 -07:00
130cd74ecbMerge pull request #1158 from erwincoumans/master
erwincoumans
2017-05-30 10:59:55 -07:00
cc1e6dc269make MultiThreadedDemo available if threadsafe
Lunkhound
2017-05-30 00:47:41 -07:00
a6a0ea5f54add task scheduler implemented with thread support interface
Lunkhound
2017-05-30 00:13:17 -07:00
562858251aremove bad thread affinity mask setting
Lunkhound
2017-05-30 00:09:05 -07:00
ba88d332fbfix crash with out of range thread index
Lunkhound
2017-05-29 23:54:15 -07:00
34e2c1b784add profiling info
Lunkhound
2017-05-29 23:53:35 -07:00
978dd5844ddue to b3Assert, GwenOpenGLTest/premake4.lua depends on Bullet3Common
erwincoumans
2017-05-29 22:09:07 -07:00
4e03c36fa6add pybullet.multiplyTransforms and pybullet.invertTransform use btAssert instead of assert (glGetError is really slow) shift default light-position a little bit, to make faces different color
erwincoumans
2017-05-29 21:55:58 -07:00
cd153eb6a5Remove graphic instances from previous runs. Still non-deterministic unfortunately.
Benelot
2017-05-29 21:56:18 +02:00
f0212cc072Merge remote-tracking branch 'upstream/master' into 3D-NN-walkers-example
Benelot
2017-05-29 21:55:12 +02:00
356d4104f0Merge pull request #1155 from erwincoumans/master
erwincoumans
2017-05-28 17:30:43 -07:00
5436b8f048print better error warning, in case the physics client/server version mismatch. fix in b3HashString remove many unused dependencies from kuka_grasp_block_playback.py (time,math, datetime ,numpy,pylab ,sys, os, fnmatch,argparse were not used!) move block_grasp_log.bin from Bullet3/data to Bullet3/examples/pybullet/examples/data folder. PhysicsServerCommandProcessor, derive from CommandProcessorInterface to prepare for different back-end implementation
erwincoumans
2017-05-28 17:05:18 -07:00
c36792c950fix bodyIndex -> bodyUniqueId in pybullet.
erwincoumans
2017-05-28 13:30:20 -07:00
f9c53b39a2fix pybullet build on some MSVC versions
erwincoumans
2017-05-28 09:48:12 -07:00
dad9bf40a4Merge branch 'master' into 3D-NN-walkers-example
Benelot
2017-05-28 15:10:45 +02:00
225c603a52Merge pull request #1152 from erwincoumans/master
erwincoumans
2017-05-27 09:58:47 -07:00
b645963879expose pybullet changeDynamics(spinningFriction=..., rollingFriction=..., restitution=...) Bullet C-API b3ChangeDynamicsInfoSetSpinningFriction/RollingFriction/Resitution b3PhysicsParamSetRestitutionVelocityThreshold, / pybullet.setPhysicsEngineParameter restitutionVelocityThreshold: if the velocity is below this threshhold, the restitution is zero (this prevents energy buildup at near-resting state) pybullet restitution.py example.
Erwin Coumans
2017-05-26 18:14:38 -07:00
7d2c609bccMerge pull request #1151 from erwincoumans/master
erwincoumans
2017-05-26 10:12:36 -07:00
8c6d4a4c85also initialize near/far for depth shader in TinyRenderer
Erwin Coumans
2017-05-26 09:45:26 -07:00
dcdb3d40baMerge pull request #1149 from erwincoumans/master
erwincoumans
2017-05-25 14:57:45 -07:00
e023c012b4TinyRendererVisualShapeConverter set near/far for its own camera.
Erwin Coumans
2017-05-25 13:39:36 -07:00
e6180ef98ause a fixed joint instead of crashing for unsupported joint types (planar, floating joint)
Erwin Coumans
2017-05-25 13:02:20 -07:00
4388a6ea02Merge pull request #1147 from erwincoumans/master
erwincoumans
2017-05-25 11:24:50 -07:00
f090752cbbbump up VISUAL_SHAPE_MAX_PATH_LEN from 128 to 1024, some google3 directories are loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong :-)
Erwin Coumans
2017-05-25 10:56:01 -07:00
5103f3b72dMerge pull request #1146 from jietan/pullRequest
erwincoumans
2017-05-24 16:26:17 -07:00
044ac8d10bMerge pull request #1145 from erwincoumans/master
erwincoumans
2017-05-24 14:09:17 -07:00
84d09cc18fSplit CommonGfxVertex3D into two different ones, GfxVertexFormat0 and GfxVertexFormat1 Rewrite GLInstancingRenderer::drawTexturedTriangleMesh
Erwin Coumans
2017-05-24 13:05:16 -07:00
1d0db4ec2eupdate to the latest agent and environment.
Jie Tan
2017-05-24 11:20:42 -07:00
db008ab3c2Improve debug text/line rendering, can be use to draw frames and text in local coordinate of an object / link.
Erwin Coumans
2017-05-23 22:05:26 -07:00
18fd1a003fremove redundant and potentially confusing data
Jie Tan
2017-05-23 16:34:13 -07:00
4f3d60f4d0Merge pull request #1142 from jietan/pullRequest
erwincoumans
2017-05-23 10:05:36 -07:00
f63ca87049Merge pull request #1143 from YunfeiBai/master
erwincoumans
2017-05-23 10:05:15 -07:00
d77c3d5b68fix compile errors in non-threadsafe build
Lunkhound
2017-05-23 02:34:29 -07:00
dfe184e8d3Bullet 2 threading refactor: moved parallel-for calls into core libs
Lunkhound
2017-05-22 00:47:11 -07:00
dacdcb0508Add the pybullet example.
yunfeibai
2017-05-22 22:26:57 -07:00
3eb974f66fAdd kuka grasping block playback.
yunfeibai
2017-05-22 22:23:01 -07:00
671c4bf10eadd back sonnet dependency. If sonnet is not installed, fall back to simpleAgent that does not need sonnet.
Jie Tan
2017-05-22 20:57:18 -07:00
2f3844e5dbMerge pull request #1131 from ahundt/cmake
erwincoumans
2017-05-22 20:33:45 -07:00
aa2787520bexamples\pybullet\examples\humanoid_knee_position_control.py : allow both knees to be actuated against limit
Erwin Coumans
2017-05-21 11:35:06 -07:00
148716d0ffMerge pull request #1135 from erwincoumans/master
erwincoumans
2017-05-21 11:00:43 -07:00
fd40ba424btest for knee joint limits under position control
Erwin Coumans
2017-05-21 11:00:15 -07:00
3c4fd2ce8cMerge pull request #1132 from ahundt/btsoftbody
erwincoumans
2017-05-21 06:59:40 -07:00
e0865ee8edMerge pull request #1133 from lunkhound/pr-remove-dcast
erwincoumans
2017-05-21 06:56:14 -07:00
4dcf2b82b6bump up pybullet to version 1.0.7
Erwin Coumans
2017-05-21 06:53:06 -07:00
b19c209dbcThe 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.
Erwin Coumans
2017-05-21 06:50:53 -07:00
1e83630c1dcmake minor fixes
Andrew Hundt
2017-05-21 09:32:00 -04:00
5bc9d431a0CommonRigidBodyMTBase: replace dynamic_cast (which crashes without RTTI) with static_cast
Lunkhound
2017-05-21 03:09:57 -07:00
655def023epython versions can vary by default unless EXACT_PYTHON_VERSION=ON Still ensures library version matches interpreter version exactly.
Andrew Hundt
2017-05-20 21:58:03 -04:00
e719da3497btsoftbody 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.
Andrew Hundt
2017-05-20 21:14:00 -04:00
c2fdffba35pybullet.enableJointForceTorqueSensor kwlist was not properly terminated
Erwin Coumans
2017-05-17 19:37:51 -07:00
19295f2859enable 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)
Erwin Coumans
2017-05-17 19:29:12 -07:00
972660f825Only initialized values if provided (and don't initialize default if not provided!) fixes getCameraImage(width,height) crash
Erwin Coumans
2017-05-17 17:25:34 -07:00
9c4a5f9336update VR camera even if setRealTimeSimulation(0) also update w component in setVRCameraState orientation
Erwin Coumans
2017-05-17 16:29:30 -07:00
433d11d8cfAdd 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.
Erwin Coumans
2017-05-16 12:19:03 -07:00
4dea68e43eallow to enable/disable VR picking and VR teleport. Disabling VR picking will also disable the rendering of the VR controller frames.
Erwin Coumans
2017-05-15 11:39:39 -07:00
945b9b1b1dMerge pull request #1125 from erwincoumans/master
erwincoumans
2017-05-15 09:37:28 -07:00
a554c250a7GLInstancingRenderer: don't crash but assert/return -1, if the # vertices exceeds the maximum capacity.
Erwin Coumans
2017-05-15 09:02:49 -07:00
dfe618bd62initialize UrdfGeometry members
Erwin Coumans
2017-05-15 07:59:07 -07:00
cd78379899Merge pull request #1124 from erwincoumans/master
erwincoumans
2017-05-14 21:34:56 -07:00