Commit Graph

1225 Commits

Author SHA1 Message Date
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
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
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
3bdc60c050 fix pybullet inversekinematics argument order (O/i)
add spinning friction to some tutorial
2017-05-12 11:18:33 -07:00
Erwin Coumans
0ad3fade4e physicsClientId always comes last for each pybullet command 2017-05-12 09:38:17 -07: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
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
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
e6d1ed6ffe Merge remote-tracking branch 'bp/master' 2017-05-09 16:24:32 -07: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
051e3f8b0c Merge remote-tracking branch 'bp/master' 2017-05-09 11:37:25 -07: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
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
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
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
Erwin Coumans
3849612403 pybullet benchmark: make some parameters explicit 2017-05-05 17:42:43 -07: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
Erwin Coumans
1e443edc55 minor change in API for CommonGUIHelperInterface 2017-05-05 07:48:05 -07: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