Commit Graph

6070 Commits

Author SHA1 Message Date
erwincoumans
e5d4c73c40 fix very rare threading issue, let main thread compute the UID for user debug items
add collision model to cartpole.urdf
2017-10-09 22:40:53 -07:00
Erwin Coumans
a141b29d89 Merge remote-tracking branch 'bp/master' 2017-10-09 21:48:59 -07:00
erwincoumans
6b4f69f733 Merge remote-tracking branch 'bp/master' 2017-10-09 21:09:23 -07:00
erwincoumans
0be7584eee Merge pull request #1376 from YunfeiBai/master
Modify inverse kinematics to also support robot model with fixed joint.
2017-10-09 19:17:24 -07:00
yunfeibai
55b60e90f7 Modify inverse kinematics to also support robot model with fixed joint. 2017-10-09 18:28:52 -07:00
Erwin Coumans
d48e2a20af fix a string check issue 2017-10-09 12:28:39 -07:00
Erwin Coumans
91e08ec986 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-10-09 12:28:07 -07:00
erwincoumans
7c7b9735c4 Merge pull request #1373 from jonathantompson/save_world_fix
quick update to SAVE_WORLD for JOINT_GEAR.
2017-10-09 11:38:15 -07:00
erwincoumans
03450a7804 Merge pull request #1374 from erwincoumans/master
Implement the pybullet/Python equivalent of vr_kuka_setup_vrSyncPlugi…
2017-10-09 10:56:28 -07:00
erwincoumans
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)
2017-10-09 10:52:25 -07:00
Jonathan Tompson
2dee1638f4 quick update to SAVE_WORLD for JOINT_GEAR. 2017-10-09 10:48:03 -07:00
Erwin Coumans
91d164d886 remove obsolete CartPoleBulletEnv 2017-10-09 09:44:54 -07:00
erwincoumans
7d7f5ee7d4 Merge pull request #1371 from jonathantompson/userConstraintResultArgs_fix
Fixed setting of m_userConstraintResultArgs.
2017-10-08 22:56:56 -07:00
Jonathan Tompson
a57c7e7fcf Fixed setting of m_userConstraintResultArgs (not sure how it ever worked for anyone). It was filling up the userConstraintData with stale memory. 2017-10-08 21:31:29 -07:00
erwincoumans
bbe77d34e9 Merge pull request #1370 from erwincoumans/master
@erwincoumans erwincoumans allow changeVisualShape (rgbaColor, specularColor and texture) for maximal coordinate body (btRigidBody)
2017-10-08 19:37:14 -07:00
Erwin Coumans
463e3d3a1a Merge remote-tracking branch 'bp/master' 2017-10-08 18:46:23 -07:00
erwincoumans
434d48bf95 Merge pull request #1368 from elect86/patch-4
Update btVector3.h
2017-10-08 18:45:03 -07:00
erwincoumans
64b2164eee Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-10-08 11:35:06 -07:00
erwincoumans
2f2f070ab5 allow changeVisualShape (rgbaColor, specularColor and texture) for maximal coordinates rigid body (btRigidBody)
Make the examples\pybullet\examples\createVisualShape.py a bit more interesting
2017-10-08 11:34:42 -07:00
Giuseppe Barbieri
b81252fbc4 Update btVector3.h 2017-10-08 10:49:20 +02:00
erwincoumans
f230011028 Merge pull request #1367 from erwincoumans/master
Implement first draft of pybullet.createVisualShape, see Bullet/examples/pybullet/examples/createVisualShape.py
2017-10-07 19:52:14 -07:00
erwincoumans
b2edd81ef6 touch up createVisualShape.py example 2017-10-07 19:00:44 -07:00
erwincoumans
3826dddc83 fix asset paths, createVisualShape.py and duck.obj 2017-10-07 18:52:22 -07:00
erwincoumans
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)
2017-10-07 18:50:23 -07:00
erwincoumans
fe38e827cd Merge pull request #1363 from elect86/patch-1
Typo
2017-10-07 16:33:12 -07:00
erwincoumans
192d778cd9 Merge pull request #1364 from elect86/patch-2
Typo
2017-10-07 16:32:40 -07:00
Giuseppe Barbieri
8755f51bec Typo 2017-10-07 16:58:38 +02:00
Giuseppe Barbieri
b31f372e3b Typo 2017-10-07 13:47:34 +02:00
erwincoumans
5161b44c37 Merge pull request #1362 from erwincoumans/master
reorder initializer
2017-10-06 17:44:35 -07:00
Erwin Coumans
1034c7e720 reorder initializer 2017-10-06 17:30:10 -07:00
erwincoumans
48d2048a79 Merge pull request #1361 from erwincoumans/master
fix some compile issues/bugs
2017-10-06 17:23:04 -07:00
Erwin Coumans
93810d50e2 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-10-06 17:19:26 -07:00
Erwin Coumans
dbd82f26ba fix TinyRenderer activateShapeTexture 2017-10-06 17:19:14 -07:00
Erwin Coumans
127982ab88 fix more bugs, introduced in previous recent commits 2017-10-06 16:00:33 -07:00
Erwin Coumans
98e03108cc Merge remote-tracking branch 'bp/master' 2017-10-06 15:59:55 -07:00
Erwin Coumans
027178ae6f fix some compile issues/bugs 2017-10-06 15:34:25 -07:00
erwincoumans
571d9d3137 Merge pull request #1360 from erwincoumans/master
improve loading performance of large textures:
2017-10-06 15:04:06 -07:00
erwincoumans
3c9c88b650 Merge pull request #1359 from jietan/pullRequest
Pull request
2017-10-06 14:21:41 -07:00
Erwin Coumans
4d803c104b #include <string.h> // for memcpy 2017-10-06 14:04:43 -07:00
Erwin Coumans
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
2017-10-06 13:46:24 -07:00
Jie
a1e260f9f1 add tingnan's new minitaur urdf for derpy. 2017-10-06 13:14:23 -07:00
Jie
88b440886d Merge remote-tracking branch 'bp/master' into pullRequest 2017-10-06 13:12:23 -07:00
erwincoumans
b4af0e618a Merge pull request #1358 from erwincoumans/master
pybullet.getConnectionInfo, store mass matrix in streaming part of shared memory etc.
2017-10-05 14:00:56 -07:00
erwincoumans
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)
2017-10-05 12:59:58 -07:00
erwincoumans
822ff077c7 expose some parameters through pybullet.getPhysicsEngineParameters (C-API: b3InitRequestPhysicsParamCommand + b3GetStatusPhysicsSimulationParameters) 2017-10-05 11:43:14 -07:00
erwincoumans
1262adeaec build a named tuple for 'getConnectionInfo'
remove debug code
2017-10-05 09:57:17 -07:00
erwincoumans
905d62a5c6 update pybullet quickstart guide 2017-10-05 09:08:01 -07:00
erwincoumans
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
2017-10-05 09:02:33 -07:00
erwincoumans
f467f325f7 store mass matrix in streaming part of shared memory (no support for unlimited mass matrix sizes at the moment) 2017-10-05 08:23:10 -07:00
erwincoumans
a2d6a2e822 Merge pull request #1350 from bingjeff/add_mass_matrix
[pybullet] Add calculateMassMatrix.
2017-10-05 07:45:30 -07:00