83f910711a
Prepare/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
ba88d332fb
fix crash with out of range thread index
Lunkhound
2017-05-29 23:54:15 -07:00
34e2c1b784
add profiling info
Lunkhound
2017-05-29 23:53:35 -07:00
978dd5844d
due to b3Assert, GwenOpenGLTest/premake4.lua depends on Bullet3Common
erwincoumans
2017-05-29 22:09:07 -07:00
4e03c36fa6
add 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
cd153eb6a5
Remove graphic instances from previous runs. Still non-deterministic unfortunately.
Benelot
2017-05-29 21:56:18 +02:00
5436b8f048
print 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
b645963879
expose 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
f090752cbb
bump 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
9743bb387c
give some pure-virtual methods default empty implementation, avoid breaking some internal research code
Erwin Coumans
2017-05-24 19:30:06 -07:00
84d09cc18f
Split CommonGfxVertex3D into two different ones, GfxVertexFormat0 and GfxVertexFormat1 Rewrite GLInstancingRenderer::drawTexturedTriangleMesh
Erwin Coumans
2017-05-24 13:05:16 -07:00
1d0db4ec2e
update to the latest agent and environment.
Jie Tan
2017-05-24 11:20:42 -07:00
db008ab3c2
Improve 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
18fd1a003f
remove redundant and potentially confusing data
Jie Tan
2017-05-23 16:34:13 -07:00
3eb974f66f
Add kuka grasping block playback.
yunfeibai
2017-05-22 22:23:01 -07:00
671c4bf10e
add 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
aa2787520b
examples\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
4dcf2b82b6
bump up pybullet to version 1.0.7
Erwin Coumans
2017-05-21 06:53:06 -07:00
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.
Erwin Coumans
2017-05-21 06:50:53 -07:00
1e83630c1d
cmake minor fixes
Andrew Hundt
2017-05-21 09:32:00 -04:00
5bc9d431a0
CommonRigidBodyMTBase: replace dynamic_cast (which crashes without RTTI) with static_cast
Lunkhound
2017-05-21 03:09:57 -07:00
655def023e
python 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
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.
Andrew Hundt
2017-05-20 21:14:00 -04:00
c2fdffba35
pybullet.enableJointForceTorqueSensor kwlist was not properly terminated
Erwin Coumans
2017-05-17 19:37:51 -07:00
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)
Erwin Coumans
2017-05-17 19:29:12 -07:00
972660f825
Only 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
9c4a5f9336
update VR camera even if setRealTimeSimulation(0) also update w component in setVRCameraState orientation
Erwin Coumans
2017-05-17 16:29:30 -07:00
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.
Erwin Coumans
2017-05-16 12:19:03 -07:00
4dea68e43e
allow 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
a554c250a7
GLInstancingRenderer: don't crash but assert/return -1, if the # vertices exceeds the maximum capacity.
Erwin Coumans
2017-05-15 09:02:49 -07:00
dfe618bd62
initialize UrdfGeometry members
Erwin Coumans
2017-05-15 07:59:07 -07:00