Commit Graph

5028 Commits

Author SHA1 Message Date
David Carlier
756568ad9c build fix for BSD systems 2017-04-16 17:53:44 +01:00
erwincoumans
874d02d7aa Merge pull request #1070 from erwincoumans/master
re-create debug drawer after 'resetSimulation', also avoid memory lea…
2017-04-12 22:40:06 +00:00
Erwin Coumans
5158c1ae98 add python dumpLog.py utility to view log files created using 'startStateLogging'
don't enable <CTRL> for hotkeys yet
add some more profile markers
log objectId and linkIndex as signed int ('i') and not unsigned int 'I'
fix issue in startStateLogging: number of parameters was wrong
2017-04-12 15:02:47 -07:00
Erwin Coumans
f73b54e4ab testing ImGUI 2017-04-11 20:16:49 -07:00
Erwin Coumans
a43f3b026a testing ImGui, nice and simple!
https://github.com/ocornut/imgui
This would replace GWEN.
2017-04-11 17:10:25 -07:00
Erwin Coumans
80e87d5ccb re-create debug drawer after 'resetSimulation', also avoid memory leak after doing so.
this fixes wireframe.
Also use <CTRL>+hotkey, to avoid conflicts with user-specified keyboard functions.
2017-04-11 16:03:07 -07:00
erwincoumans
92a3444076 Update CMakeLists.txt
remove 'experimental' from Python bindings, since it has been in use for quite a while without issues.
2017-04-11 13:07:29 -07:00
erwincoumans
d201c422da Merge pull request #1069 from erwincoumans/master
fix typo
2017-04-11 19:24:48 +00:00
Erwin Coumans
fe199bea09 fix typo 2017-04-11 12:24:17 -07:00
erwincoumans
f17ba3bd8e Merge pull request #1068 from erwincoumans/master
pybullet: add support for Anaconda install on Mac OSX, for pip instal…
2017-04-11 19:19:13 +00:00
Erwin Coumans
0a42ad6a88 pybullet: add support for Anaconda install on Mac OSX, for pip install pybullet, python setup.py install and cmake.
Usage:

Also updated pypi to latest, see https://pypi.python.org/pypi?:action=display&name=pybullet&version=0.1.7
Here are a few options for Mac OSX + Anaconda:

1) In the root of the Bullet Physics SDK source tree, run
CFLAGS="-DB3_NO_PYTHON_FRAMEWORK" python setup.py install

2) cmake, add the flag -DBUILD_PYBULLET_MAC_USE_PYTHON_FRAMEWORK=OFF

3) Globally, just use pip or pip3:
CFLAGS="-DB3_NO_PYTHON_FRAMEWORK" pip install pybullet

Option (3) may have an out-of-date pybullet/bullet version.
2017-04-11 12:17:08 -07:00
erwincoumans
93bef00fba Merge pull request #1067 from erwincoumans/master
implement pybullet.getDebugVisualizerCamera, width, height, providing…
2017-04-10 19:39:06 +00:00
Erwin Coumans
bdf366b045 implement pybullet.getDebugVisualizerCamera, width, height, providing viewmatrix, projection matrix 2017-04-10 11:03:41 -07:00
erwincoumans
6237a73bfc Merge pull request #1065 from erwincoumans/master
apply the deviceTypeFilter also to VR state logging.
2017-04-09 03:09:56 +00:00
Erwin Coumans
82b6bc8770 apply the deviceTypeFilter also to VR state logging. 2017-04-08 11:48:12 -07:00
erwincoumans
39f9ff5490 Merge pull request #1064 from erwincoumans/master
also report VR events for HMD and generic tracked devices.
2017-04-08 17:50:44 +00:00
erwincoumans
2e47310e76 fix enum (has to be power of 2, to allow combination of devices)
add vrtracker.py
2017-04-08 10:37:32 -07:00
Erwin Coumans
8b2491f84f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-07 22:54:04 -07:00
Erwin Coumans
440d445a02 also report VR events for HMD and generic tracked devices. Also expose those VR events to pybullet: expose a deviceTypeFilter, that defaults to VR_DEVICE_CONTROLLER 2017-04-07 22:53:36 -07:00
erwincoumans
e1874c6b54 Update MacOpenGLWindow.cpp 2017-04-06 22:41:04 -07:00
erwincoumans
c8cdedcd75 Merge pull request #1063 from erwincoumans/master
TinyRenderer: implement triangle clipping against near-plane, uv repeat
2017-04-07 04:44:28 +00:00
Erwin Coumans
82b576a390 fixed a bug that prevented kitchens/1.sdf to render properly (local scaling was double applied)
disable some left-over clipping that was moved to another part of the code
2017-04-06 21:13:23 -07:00
Erwin Coumans
d6125ecb8c fix in tinyrenderer clipping logic 2017-04-06 17:43:40 -07:00
Erwin Coumans
deb95c758b TinyRenderer: implement triangle clipping against near-plane
TinyRenderer: implement texture UV-repeat by default (instead of clamp(0,1))
2017-04-06 14:31:34 -07:00
erwincoumans
0f2771b1d1 Merge pull request #1059 from jietan/pullRequest
make the URDF and the minitaur.py consistent with the real robot
2017-04-06 04:57:26 +00:00
erwincoumans
2e13531493 Merge pull request #1061 from erwincoumans/master
Implement rayTestBatch. At the moment, it is still testing individual…
2017-04-06 04:56:49 +00:00
Erwin Coumans
6cbb00fd6b Implement rayTestBatch. At the moment, it is still testing individual rays on the physics server. We can enable multi-threaded version later. At least the python + shared-memory IPC overhead will be much lower. 2017-04-05 15:21:26 -07:00
erwincoumans
8658682d2a Merge pull request #1060 from erwincoumans/master
improvements in MJCF importer: cylinder support, fix capsule shape inertia (for fromto …
2017-04-05 20:26:08 +00:00
Erwin Coumans
e32debdca4 improvements in MJCF importer: fix capsule shape inertia (for fromto definition)
add cylinder support
don't crash when no "quat" is provided
inertia fix in btMinkowskiSumShape (based on AABB)
2017-04-05 12:22:38 -07:00
Jie Tan
1cd513024a make the URDF and the minitaur.py consistent with the real robot 2017-04-05 11:54:54 -07:00
erwincoumans
ac91896025 Merge pull request #1054 from erwincoumans/master
pybullet setup.py / pip support for Windows, Linux and Mac! just run 'pip install pybullet' and wait until all compiled (like numpy, it is mainly source, except for a few wheels Mac 2.7 and Win32 3.5). Expose URDF_USE_SELF_COLLISION flag.
2017-04-04 23:36:32 +00:00
erwincoumans
814e901a20 Merge pull request #1053 from YunfeiBai/master
Add logging for contact information.
2017-04-04 23:34:33 +00:00
yunfeibai
fedf718d9e minor fix for pybullet comment. 2017-04-04 13:45:49 -07:00
Erwin Coumans
b095e1d917 expose pybullet.URDF_USE_SELF_COLLISION flag, experimental (likely doesn't work well for many URDF files) 2017-04-04 12:47:34 -07:00
yunfeibai
b168f53ed9 Rename body index to body unique id. 2017-04-04 10:38:25 -07:00
Erwin Coumans
239ef81364 pybullet pip/setup.py: enable double precision, tcp, udp 2017-04-04 08:11:18 -07:00
Erwin Coumans
322c7d4b7e add missing files in pip, bump version 2017-04-04 00:01:12 -07:00
erwincoumans
fa023cb14b fix syntax error in setup.py,
update pybullet quickstart guide PDF from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.6c3uot59qod4
2017-04-03 23:39:22 -07:00
erwincoumans
7a314fd62a pybullet/pip setup.py bump up to 0.1.4, add categories 2017-04-03 23:25:12 -07:00
erwincoumans
025687627d remove Linux preprocessor define from win32 setting in setup.py 2017-04-03 22:54:44 -07:00
erwincoumans
217dfef12b fix Windows pip / setup.py 2017-04-03 22:39:33 -07:00
Erwin Coumans (Google)
c4cee21225 pybullet pip/setup.py Linux fixes 2017-04-03 09:50:01 -07:00
Erwin Coumans
463cbf93de minor fix in setup.py, disable udp/tcp for now (not setup yet) 2017-04-02 23:12:02 -07:00
Erwin Coumans
9507e8b4a1 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-02 23:02:26 -07:00
Erwin Coumans
e487bc360b add support for setuptools setup.py pybullet for 'pip install pybullet'
rewrite MacOpenGLWindow.mm into .m version, so that setup.py can handle it.
See also test at https://pypi.python.org/pypi/pybullet/0.1.0
2017-04-02 23:00:06 -07:00
yunfeibai
1e91e78469 Add pybullet API for logging contacts. 2017-04-02 16:03:20 -07:00
yunfeibai
0d83667817 Add C API to log contact points. 2017-04-02 15:45:48 -07:00
yunfeibai
7c7d831767 Add contact point logger. 2017-04-02 15:09:40 -07:00
erwincoumans
0c6b0d52c6 Merge pull request #1050 from erwincoumans/master
remove 20 second time limit for ffmpeg recording
2017-03-30 14:57:47 -07:00
Erwin Coumans
473196a492 remove vld.h 2017-03-30 13:56:37 -07:00