Commit Graph

5787 Commits

Author SHA1 Message Date
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
Erwin Coumans
1034c7e720 reorder initializer 2017-10-06 17:30:10 -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
erwincoumans
3821f85019 Merge pull request #1357 from erwincoumans/master
update unity3d/examples/NewBehaviourScript.cs to load a plane and cub…
2017-10-04 12:30:19 -07:00
erwincoumans
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)
2017-10-04 12:21:52 -07:00
erwincoumans
26ed9b9796 Merge pull request #1356 from erwincoumans/master
improve plugin system,  search for the controller
2017-10-04 07:13:31 -07:00
erwincoumans
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
2017-10-03 18:01:53 -07:00
erwincoumans
9577875fe9 remove debug printf 2017-10-03 16:16:09 -07:00
Erwin Coumans
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'
2017-10-03 15:00:52 -07:00
Erwin Coumans
0be9dde36c Merge remote-tracking branch 'bp/master' 2017-10-03 09:09:56 -07:00
erwincoumans
0e893d4c56 Merge pull request #1353 from srajangarg/compound
add new example for btCompoundShape
2017-10-03 09:09:51 -07:00
Jie Tan
d0a14743c1 add the urdf from system id from tingnan 2017-10-02 15:58:26 -07:00
Srajan Garg
05ad68015d add new example for btCompoundShape 2017-10-03 01:38:20 +05:30
Erwin Coumans
cd88614a22 search for the controller, instead of using a hard-coded number. 2017-10-02 12:22:46 -07:00
Jeffrey Bingham
e04820af73 Add calculateMassMatrix to pybullet.c 2017-09-30 20:39:56 -07:00
Jeffrey Bingham
d9782f953d Add calculateMassMatrix to physics server command processor. 2017-09-30 13:56:40 -07:00
Jeffrey Bingham
7dfed65287 Add calculateMass to shared memory interface. 2017-09-30 13:39:11 -07:00
Jeffrey Bingham
31ee8bf8bc Fix small typo in b3PluginArguments. 2017-09-30 13:17:48 -07:00
Jeffrey Bingham
febbb92fb6 Fix compile warnings for GwenOpenGLTest and Test_enet_chat_client. 2017-09-30 13:13:46 -07:00
erwincoumans
6e4707df5f Merge pull request #1349 from piluke/patch-1
Fix a shadow warning by renaming a parameter in btInfMaskConverter
2017-09-29 16:20:39 -07:00
erwincoumans
d881d15f10 Merge pull request #1340 from ahundt/cmake
CMakeLists.txt search for any python version by default
2017-09-29 16:20:04 -07:00
erwincoumans
f402d91db0 Merge pull request #1348 from erwincoumans/master
remote b3GjkPairDetector,  Update pybullet autogenerated C# bindings (for Unity 3D),  update pybullet_quickstartguide.pdf
2017-09-29 16:16:31 -07:00
Andrew Hundt
4810b99155 Add special search paths for linux python libraries such as libpython3.5m.so 2017-09-29 17:38:40 -04:00
Luke
1360641ad9 Fix a shadow warning by renaming a parameter in btInfMaskConverter 2017-09-29 15:44:14 -05:00
Erwin Coumans
abdcb0a5a1 remove b3GjkPairDetector.cpp from cmake 2017-09-29 12:53:34 -07:00
erwincoumans
a632b6c6a4 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-09-29 08:01:11 -07:00
erwincoumans
c9b76e1760 update pybullet_quickstartguide.pdf 2017-09-29 08:00:35 -07:00
erwincoumans
e0dbd25cb7 remove some unneeded/debug BT_PROFILE markers 2017-09-29 07:50:48 -07:00
erwincoumans
17115f38c2 add some timings, small fix in btSoftBody related to btMultiBody interaction 2017-09-29 07:50:04 -07:00
erwincoumans
dd2c7af2b2 Update pybullet autogenerated C# bindings, with very basic example script that runs inside Unity 3D 2017-09-29 07:47:31 -07:00
Erwin Coumans
dae8af0a78 remote b3GjkPairDetector, it is obsolete and unused, causing clang compile problems
see https://github.com/bulletphysics/bullet3/issues/1347
2017-09-28 15:45:14 -07:00
erwincoumans
a6ca5632b2 Merge pull request #1346 from erwincoumans/master
revert to original agents train/visualize scripts (from github)
2017-09-28 11:36:15 -07:00