Commit Graph

5417 Commits

Author SHA1 Message Date
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
erwincoumans
36f011857b Merge pull request #1097 from erwincoumans/master
pybullet benchmark: make some parameters explicit
2017-05-06 00:43:17 +00:00
Erwin Coumans
3849612403 pybullet benchmark: make some parameters explicit 2017-05-05 17:42:43 -07:00
erwincoumans
729fc6ff99 Merge pull request #1096 from erwincoumans/master
add simple humanoid_benchmark.py and mjcf file
2017-05-06 00:31:54 +00:00
Erwin Coumans
385156cbc5 add simple humanoid_benchmark.py and mjcf file 2017-05-05 17:24:35 -07:00
Erwin Coumans
09caa599ff avoid an assert when removing a non-existing graphics index in debug mode 2017-05-05 10:38:16 -07:00
erwincoumans
49eda303bc Merge pull request #1095 from erwincoumans/master
minor change in API for CommonGUIHelperInterface
2017-05-05 17:02:08 +00:00
Erwin Coumans
1e443edc55 minor change in API for CommonGUIHelperInterface 2017-05-05 07:48:05 -07:00
erwincoumans
f76f3e2ba7 Merge pull request #1093 from erwincoumans/master
expose profileTiming to pybullet/b3RobotSimulatorClientAPI.h
2017-05-05 01:29:26 +00:00
Erwin Coumans
cb1f5c74ea add missing files to projects 2017-05-04 18:04:32 -07:00
Erwin Coumans
1f64a87abe Improve ChromeTraceUtil logging, allow filename to be specified.
Expose this ChromeTraceUtil  logging to C-API: start/statelogging and submitProfileTiming
pybullet.submitProfileTiming, and STATE_LOGGING_PROFILE_TIMINGS used in startStateLogging
added example for Python profileTiming.py and C++ b3RobotSimulatorClientAPI::submitProfileTiming
2017-05-04 17:51:40 -07:00
erwincoumans
d6c3a76bf2 Merge pull request #1092 from erwincoumans/master
fix error, m_userConstraintUIDGenerator should be m_data->m_userConst…
2017-05-04 20:52:31 +00:00
Erwin Coumans
a8bf53b494 fix error, m_userConstraintUIDGenerator should be m_data->m_userConstraintUIDGenerator 2017-05-04 13:52:02 -07:00