Commit Graph

5187 Commits

Author SHA1 Message Date
Erwin Coumans
ef7a7f9004 Potential fix for Linux slow performance (usleep(0) takes a lot of time)
Remove b3RobotSimAPI, use RobotSimulator/b3RobotSimulatorClientAPI.h instead
2017-05-13 13:37:49 -07:00
Erwin Coumans
0944790577 migrating from b3RobotSimAPI to b3RobotSimulatorClientAPI (step by step)
allow to run the client/server code in the example browser without this b3RobotSimAPI hack.
2017-05-13 11:15:20 -07:00
Erwin Coumans
f80838e989 expose the changeVisualShape RGBA color for TinyRenderer, OpenGL3 renderer. 2017-05-13 09:18:36 -07:00
Erwin Coumans
7cb763e4c8 don't render objects with zero alpha color (RGBA) 2017-05-13 07:38:00 -07:00
Erwin Coumans
f692973f47 update pybullet quickstart guide. See also pip install pybullet. 2017-05-12 20:45:22 -07:00
Erwin Coumans
e2d596f4d0 remove visual shape from CPU/TinyRenderer with removeBody
(thanks to Jeff Bingham for reporting the bug!)
2017-05-12 20:24:10 -07:00
Erwin Coumans
845eb43610 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-05-12 17:18:10 -07:00
Erwin Coumans
85c84ce09a remove other humanoids in single humanoid_running.py example 2017-05-12 17:18:04 -07:00
Erwin Coumans
79e2c10506 add second humanoid_running_3.py example with 3 humanoids, for testing. Created a humanoid_symmetric_no_ground.xml and ground.xml:
if the ground is duplicated, simulation is unstable (too many contacts in the same area?)
2017-05-12 17:17:27 -07:00
Erwin Coumans (google)
c068cb8297 bump up pybullet to 1.0.3,
allow humanoid_running.py to run on Python 2.7
2017-05-12 21:21:03 +00:00
Erwin Coumans (google)
aaea92e589 Merge remote-tracking branch 'bp/master' 2017-05-12 20:58:40 +00:00
erwincoumans
3480574e60 Merge pull request #1118 from erwincoumans/master
fix in pybullet pybullet_calculateInverseKinematics: physicsClientId should always go last
2017-05-12 20:56:46 +00:00
erwincoumans
9356019572 Merge pull request #1116 from olegklimov/master
Rewrite collision filtering code for C API
2017-05-12 20:56:26 +00:00
Erwin Coumans (google)
b2c1bcfa59 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-05-12 20:53:24 +00:00
Erwin Coumans
3bdc60c050 fix pybullet inversekinematics argument order (O/i)
add spinning friction to some tutorial
2017-05-12 11:18:33 -07:00
Erwin Coumans
3bcdd29bf5 Merge remote-tracking branch 'bp/master' 2017-05-12 10:17:31 -07:00
Erwin Coumans
0ad3fade4e physicsClientId always comes last for each pybullet command 2017-05-12 09:38:17 -07:00
Erwin Coumans
f482a3c7cc Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-05-12 07:58:19 -07:00
erwincoumans
233717625b Merge pull request #1117 from erwincoumans/master
googley colors, textured sphere, capsule, multi-sphere shapes
2017-05-12 06:55:41 +00:00
Erwin Coumans
8085068603 Merge remote-tracking branch 'bp/master' 2017-05-11 23:00:00 -07:00
Erwin Coumans
b22ffcf61c Use more googley colors in the examples.
Add high-resolution textured sphere, and automatically convert sphere, capsule and multi-sphere shape to use this, with caching to avoid duplicates.
2017-05-11 22:59:27 -07:00
erwincoumans
ac7518d24b Update humanoid_running.py
remove obsolete fps comment, runs at > 1000FPS on my laptop
2017-05-11 22:51:50 -07:00
erwincoumans
0e12277cfb Update humanoid_running.py
disable sleep and use GUI mode by default
2017-05-11 22:26:49 -07:00
erwincoumans
d4ec33d8e4 Merge pull request #1115 from erwincoumans/master
added the humanoid_running.py from this pull request, modified so it …
2017-05-12 05:16:50 +00:00
Erwin Coumans
951da22e59 Merge remote-tracking branch 'bp/master' 2017-05-11 17:50:48 -07:00
Erwin Coumans
424a29474f fix for division by zero, in case angular velocity goes close to zero
(but not zero)
2017-05-11 17:45:01 -07:00
Oleg Klimov
f4943c3ed5 Fix self-collision code again (in case both flags are set) 2017-05-11 14:30:07 +03:00
Oleg Klimov
d755513146 Rewrite collision filtering code 2017-05-11 12:59:11 +03:00
Erwin Coumans
97235578fb added the humanoid_running.py from this pull request, modified so it works with plain pybullet. 2017-05-10 18:08:43 -07:00
erwincoumans
f74adffb84 Merge pull request #1114 from YunfeiBai/master
Add an example to decode the packed button events from vr log.
2017-05-10 23:41:12 +00:00
erwincoumans
9a80b529d8 Merge pull request #1112 from erwincoumans/master
bump up setup.py pybullet pypi pip version to 1.0.2
2017-05-10 23:19:21 +00:00
yunfeibai
c9aad0b6b0 format change 2017-05-10 16:15:13 -07:00
yunfeibai
719dba5cd1 keep the original dumpLog, and create a dumpVrLog 2017-05-10 16:12:45 -07:00
yunfeibai
c3e3e1e983 modify vr button log parse example 2017-05-10 15:33:58 -07:00
yunfeibai
cfb8316297 Add an example to decode the packed button events from vr log. 2017-05-10 15:07:49 -07:00
Erwin Coumans
53a82819a0 expose b3LoadMJCFCommandSetFlags / pybullet.pybullet_loadMJCF(fileName,flags=pybullet.URDF_USE_SELF_COLLISION_EXCLUDE_ALL_PARENTS) 2017-05-10 15:01:25 -07:00
Erwin Coumans
fc6fb7b14c initialize values (padding etc) help asan/msan tests 2017-05-09 18:00:28 -07:00
Erwin Coumans
d54eab16e1 bump up setup.py pybullet pypi pip version to 1.0.2 2017-05-09 16:57:56 -07:00
erwincoumans
7da4a362e1 Merge pull request #1111 from erwincoumans/master
fix hash functions,  pybullet: implement setJointMotorControlArray
2017-05-09 23:56:43 +00:00
Erwin Coumans
0d3940b8bd fix signed-integer-overflow issue:
Hash functions rely on 2's complement behaviour. Use unsigned integers to get that.
2017-05-09 16:36:11 -07:00
Erwin Coumans
e6d1ed6ffe Merge remote-tracking branch 'bp/master' 2017-05-09 16:24:32 -07:00
erwincoumans
beec3f1025 Merge pull request #1110 from YunfeiBai/master
Fix the z-buffer fighting by adding back face culling. Optimize tinyrender by precompute matrix multiplication in vertex shader.
2017-05-09 21:43:57 +00:00
yunfeibai
c938e42a19 Optimize tinyrender by precompute matrix multiplication in vertex shader. 2017-05-09 14:11:01 -07:00
yunfeibai
28de699e70 Add back face culling based on world space coordinates. 2017-05-09 13:49:13 -07:00
Erwin Coumans
c1474c8684 Merge remote-tracking branch 'bp/master' 2017-05-09 11:57:53 -07:00
Erwin Coumans
051e3f8b0c Merge remote-tracking branch 'bp/master' 2017-05-09 11:37:25 -07:00
erwincoumans
566a59295b Merge pull request #1103 from YunfeiBai/master
Add default specular value and an example for rendering specular reflection. Add API to get dynamic info.
2017-05-09 18:29:46 +00:00
yunfeibai
a587d4fec4 Use "change" instead of "reset" for changing dynamics info. 2017-05-09 10:44:33 -07:00
yunfeibai
98654a0cb4 Change dynamic to dynamics in dynamics info. 2017-05-09 10:31:28 -07:00
Erwin Coumans
0f5b400895 pybullet: implement setJointMotorControlArray, the array version of setJointMotorControl2. This can improve performance in reinforcement learning loops (training / inference) by reducing Python/C-API/shared memory calling overhead. 2017-05-08 13:41:07 -07:00