Erwin Coumans
bdf366b045
implement pybullet.getDebugVisualizerCamera, width, height, providing viewmatrix, projection matrix
2017-04-10 11:03:41 -07:00
Erwin Coumans
82b6bc8770
apply the deviceTypeFilter also to VR state logging.
2017-04-08 11:48:12 -07: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
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
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
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
Erwin Coumans
473196a492
remove vld.h
2017-03-30 13:56:37 -07:00
Erwin Coumans
a7c67b4d9d
avoid memory leaks, even if a the python interpreter exits without calling 'disconnect' on all physics servers
...
(register a Py_AtExit function that cleans all up), to avoid memory leaks
2017-03-30 13:50:02 -07:00
Erwin Coumans
cebed74454
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2017-03-30 13:30:52 -07:00
Erwin Coumans
b1cbc3d4b0
fix a potential memory leak for URDF files with multiple materials using the same name
2017-03-30 13:30:38 -07:00
Erwin Coumans
1c5e5d2b3f
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2017-03-30 12:39:18 -07:00
Erwin Coumans
2211a20ab6
remove 20 second time limit for ffmpeg
2017-03-30 12:38:13 -07:00
Erwin Coumans
9d05b46de2
expose width/height as ExampleBrowser options.
...
suppress lack of 'site' support message in MJCF importer
suppress lack of 'plane' visual support in urdf/sdf import
getBodyName default to "" to avoid breaking cloudsim
expose bodyName when requesting body info (sdf/mjcf import)
pass optional "options" string to pybullet.connect method. this can be used for --opengl2 flag in GUI mode (or other flags)
2017-03-30 11:01:33 -07:00
erwincoumans
dae13eee7f
Merge pull request #1048 from erwincoumans/master
...
expose linkIndexA/B as filter option in pybullet.getContactPoints
2017-03-29 18:19:23 -07:00
Erwin Coumans
711431db5c
first draft of VR controller state logging
2017-03-29 16:29:34 -07:00
yunfeibai
f062847038
Replace spaces with tabs.
2017-03-29 15:37:33 -07:00
yunfeibai
66a8685816
Merge remote-tracking branch 'upstream/master'
2017-03-29 15:06:15 -07:00
yunfeibai
64573c38e4
Remove getBodyName API.
2017-03-29 15:03:29 -07:00
yunfeibai
de3f91b64e
Get body name from getBodyInfo.
2017-03-29 14:56:05 -07:00
Erwin Coumans
5899425774
expose linkIndexA/B as filter option in pybullet.getContactPoints
2017-03-29 12:04:23 -07:00
Erwin Coumans
eb8c31ae82
move pybullet examples to Bullet/examples/pybullet/examples
2017-03-29 09:40:56 -07:00
erwincoumans
0750d502a8
Merge pull request #1041 from olegklimov/master
...
Random improvements (MJCF, error messages, gravity)
2017-03-29 09:12:48 -07:00
Erwin Coumans
fffa17dd35
little tuning for rendering
2017-03-28 08:20:10 -07:00
Erwin Coumans
46c5b00964
report actual number of instances (enable sync transforms for physics server)
2017-03-27 23:09:24 -07:00
Erwin Coumans
b9642e8e68
enable base OpenGL2 rendering as fallback for more demos including physics server (use --opengl2 flag in Example Browser), no shadows yet.
2017-03-27 21:42:37 -07:00
Erwin Coumans
fd2c0f58bc
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2017-03-27 17:25:40 -07:00
Oleg Klimov
77608154a3
MJCF: fix capsule length when given in size="", fix slider joint limits
2017-03-27 22:54:20 +03:00
Oleg Klimov
3048326add
C API: fix b3SetContactFilterLink() when using b3RequestContactPoint()
2017-03-27 22:54:20 +03:00
Oleg Klimov
dcb7e25f34
MJCF: improve error messages
2017-03-27 22:54:20 +03:00
Oleg Klimov
634f4cfdbc
MJCF: support for angle units in <compile angle="...">, kill two stdout messages
2017-03-27 22:54:20 +03:00
Erwin Coumans
38ad1bfb89
revert to m_jointFriction (from m_jointFriction1)
2017-03-27 10:16:55 -07:00
Erwin Coumans
4911916937
Expose 'flags' option for loadURDF, to allow customization of the URDF loading process while maintaining backward compatibility.
...
For example: URDF_USE_INERTIA_FROM_FILE flag. By default, URDF2Bullet will re-compute the inertia tensor based on mass and volume, because most URDF files have bogus Inertia values.
2017-03-27 08:30:20 -07:00