Commit Graph

5168 Commits

Author SHA1 Message Date
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
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
erwincoumans
47eae8db35 Merge pull request #1105 from erwincoumans/master
optimizations for btMultiBodyJointMotor, btMultiBodyJointLimitConstraint
2017-05-08 16:34:28 +00:00
Erwin Coumans
18dbf6f018 Merge remote-tracking branch 'bp/master' 2017-05-08 09:08:50 -07:00
Erwin Coumans
a69442d119 Some optimizations for btMultiBodyJointMotor (skip constraint generation if maxImpulse/maxForce = 0) and
skip constraint row generation if joint limit is not violated.
2017-05-08 09:06:39 -07:00
yunfeibai
92de4ecd31 Add pybullet example to get dynamic info. 2017-05-07 22:41:05 -07:00
yunfeibai
5fe4c6bb5b Add API to get dynamic info. 2017-05-07 22:21:38 -07:00
yunfeibai
e363e12ea4 Add default specular when there is not specular map. Add example for adjusting specular coefficient. 2017-05-07 21:09:08 -07:00
erwincoumans
67392b85d5 Merge pull request #1099 from gregeryb/patch-4
getSolveSwingLimit() returns wrong value
2017-05-06 16:47:33 +00:00
erwincoumans
c4844c650f Merge pull request #1078 from olegklimov/master
Random improvements 2
2017-05-06 16:46:59 +00:00
Oleg Klimov
acf57f25e6 MJCF: change default link name to be more unique 2017-05-06 16:00:14 +03:00
Oleg Klimov
2c6b2211fc Friction typo 2017-05-06 16:00:14 +03:00
Oleg Klimov
b8afb4d7aa Memory leaks 2017-05-06 14:49:51 +03:00
Oleg Klimov
5a40b5aaae Compile fix 2017-05-06 14:49:51 +03:00
Oleg Klimov
1524004aa8 MJCF: support for "axisangle", small code improvements 2017-05-06 14:49:43 +03:00
Gregery Barton
72b0b76b64 getSolveSwingLimit() returns wrong value
Should return m_solveSwingLimit instead of m_solveTwistLimit
2017-05-06 11:45:26 +10:00
erwincoumans
7e5e48eee6 Merge pull request #1098 from erwincoumans/master
update benchmark
2017-05-06 01:06:29 +00:00
Erwin Coumans
6767b986d0 tuned the benchmark a little bit, start with the humanoid on the floor 2017-05-05 18:05:36 -07:00
Erwin Coumans
7003401605 use DIRECT mode for benchmark 2017-05-05 17:57:07 -07:00