49a2771522
Implement the pybullet/Python equivalent of vr_kuka_setup_vrSyncPlugin.py In vr_kuka_setup_vrSyncPython.py, the vr controller is synced in Python, introducing a small lag Invr_kuka_setup_vrSyncPlugin.py, the vr controller is synced in C++ at the same frequency as the physics time step (240 Hz by default)
erwincoumans
2017-10-09 10:52:25 -07:00
2dee1638f4
quick update to SAVE_WORLD for JOINT_GEAR.
Jonathan Tompson
2017-10-09 10:48:03 -07:00
a57c7e7fcf
Fixed setting of m_userConstraintResultArgs (not sure how it ever worked for anyone). It was filling up the userConstraintData with stale memory.
Jonathan Tompson
2017-10-08 21:31:29 -07:00
2f2f070ab5
allow changeVisualShape (rgbaColor, specularColor and texture) for maximal coordinates rigid body (btRigidBody) Make the examples\pybullet\examples\createVisualShape.py a bit more interesting
erwincoumans
2017-10-08 11:34:42 -07:00
b81252fbc4
Update btVector3.h
Giuseppe Barbieri
2017-10-08 10:49:20 +02:00
cec8da3d85
Implement first draft of pybullet.createVisualShape and add createVisualShape.py example add normals to duck.obj for nicer appearance fix plane100.urdf (so collision shape matches visual shape size)
erwincoumans
2017-10-07 18:50:23 -07:00
26d32f2aa8
improve loading performance of large textures: option to disable tinyrenderer, use p.configureDebugVisualizer(p.COV_ENABLE_TINY_RENDERER,0) also make sure to use p.configureDebugVisualizer(p.COV_ENABLE_RENDERING,0) before loadURDF, and enable rendering afterwards using p.configureDebugVisualizer(p.COV_ENABLE_RENDERING,1) reorder 2 loops, making the flip texels twice as fast (cache coherency), single memcpy of entire texture in tinyrenderer, instead of per-pixel copy (memory layout is the same) add lots of B3_PROFILE timings, to see where time is going
Erwin Coumans
2017-10-06 13:46:24 -07:00
a1e260f9f1
add tingnan's new minitaur urdf for derpy.
Jie
2017-10-06 13:14:23 -07:00
88b440886d
Merge remote-tracking branch 'bp/master' into pullRequest
Jie
2017-10-06 13:12:23 -07:00
b572fe43f9
fix signal handling in ExampleBrowser on linux/mac on termination expose all analogue axes from OpenVR (5 controllers, each x,y -> 10 floats) in pybullet.getVREvents(allAnalogAxes=1)
erwincoumans
2017-10-05 12:59:58 -07:00
822ff077c7
expose some parameters through pybullet.getPhysicsEngineParameters (C-API: b3InitRequestPhysicsParamCommand + b3GetStatusPhysicsSimulationParameters)
erwincoumans
2017-10-05 11:43:14 -07:00
1262adeaec
build a named tuple for 'getConnectionInfo' remove debug code
erwincoumans
2017-10-05 09:57:17 -07:00
9303891468
Allow to configure Y=up, default is Z=up, using pybullet.configureDebugVisualizer(COV_ENABLE_Y_AXIS_UP,0/1) Implement pybullet.getConnectionInfo, returns [isConnected, connectionMethod], where isConnected=0 or 1
erwincoumans
2017-10-05 09:02:33 -07:00
f467f325f7
store mass matrix in streaming part of shared memory (no support for unlimited mass matrix sizes at the moment)
erwincoumans
2017-10-05 08:23:10 -07:00
05b71a521d
update unity3d/examples/NewBehaviourScript.cs to load a plane and cube, synchronize the world transform added debug rendering from CjLib (with DrawLine from my fork here: https://github.com/erwincoumans/unity-cj-lib)
erwincoumans
2017-10-04 12:21:52 -07:00
1b03871b4d
use explicit size for name, to avoid issue converting/marshalling data to C# example to call b3VisualShapeInformation from C# and marshall b3VisualShapeData (after loadURDF) See examples\pybullet\unity3d\examples\NewBehaviourScript.cs
erwincoumans
2017-10-03 18:01:53 -07:00
acbe457d31
add option to statically link a plugin, select the postFix (to avoid naming conflict of multiple plugins functions ('initPlugin' becomes initPlugin_postFix) pass events (keyboard, mouse, vr controllers etc) to the plugin, and clear them after the tick callback, so that it doesn't interfere with Python 'getEvents'
Erwin Coumans
2017-10-03 15:00:52 -07:00
345836d670
revert to original agents train/visualize scripts, but using pybullet envs in configs.py (agents lacks a convenient way to extend environments)
Erwin Coumans
2017-09-28 10:19:41 -07:00
113e103bc2
Modify the joint damping input check, and output error message when it doesn't pass the size check. Modify the kuka grasping example accordingly. Setting joint damping in this example was a no-op before.
yunfeibai
2017-09-27 15:18:08 -07:00
adcece7927
Adjust the IK setup to address the inverse kinematics issues mentioned in #1249.
yunfeibai
2017-09-27 14:14:57 -07:00
e4a3b3fe38
add TensorFlow Agents PPO training script for various pybullet environments:
Erwin Coumans
2017-09-27 10:20:38 -07:00
36c9f2f93b
bump up pybullet version
Erwin Coumans
2017-09-27 09:09:43 -07:00
c37919604f
add minitaur environment randomizer, enable it by default this improves PPO training ( more stable)
Erwin Coumans
2017-09-27 09:07:21 -07:00