Commit Graph

5066 Commits

Author SHA1 Message Date
yunfeibai
1841a41f2a Add pybullet example for resetting dynamics. 2017-05-03 21:30:42 -07:00
yunfeibai
c7e9a31898 Add API to get user constraint id. 2017-05-03 18:25:25 -07:00
yunfeibai
4da2c076a7 Add API to reset mass. 2017-05-01 22:18:54 -07:00
erwincoumans
fbd1a4ec2c Merge pull request #1075 from devnexen/build_fix_bsd
forgotten setup.py build part
2017-04-26 14:43:41 +00:00
erwincoumans
09280d6f7b Merge pull request #1084 from erwincoumans/master
fix some potentially uninitialized variable
2017-04-26 05:29:38 +00:00
Erwin Coumans
e4ace90980 fix some potentially uninitialized variable 2017-04-25 21:37:04 -07:00
erwincoumans
2b4f6d7997 Merge pull request #1082 from benelot/feature/link-names
Add link name to getJointInfo(...).
2017-04-26 02:29:04 +00:00
erwincoumans
e3a7023ef5 Merge pull request #1083 from YunfeiBai/master
Use float when clipping the shadow map index, because the index befor…
2017-04-26 02:26:39 +00:00
yunfeibai
56f9c38226 Use float when clipping the shadow map index, because the index before clipping can be out of the range for int. 2017-04-25 18:28:56 -07:00
Benelot
55414f5b20 Add link name to getJointInfo(...). 2017-04-25 23:58:30 +02:00
erwincoumans
a159709820 Merge pull request #1080 from erwincoumans/master
add option to calibrate individual fingers for the vr glove
2017-04-25 16:41:31 +00:00
Erwin Coumans
771b197131 add option to calibrate individual fingers for the vr glove 2017-04-25 09:40:18 -07:00
erwincoumans
1dd3a0f9c9 Merge pull request #1079 from erwincoumans/master
tinyrenderer: disable backface culling. expose lightpos to glinstancingrenderer. bump up pybullet setup.py version
2017-04-25 16:10:57 +00:00
Erwin Coumans
5ba6e11454 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-24 09:57:19 -07:00
Erwin Coumans
d41a2fdfd4 change hand.ino/py to match hardware changes (use pullup resistor, connect to gnd, instead of 5V + pull down resistor) 2017-04-24 09:56:27 -07:00
Erwin Coumans
552c85617f fix compile issue 2017-04-23 17:12:40 -07:00
Erwin Coumans
4759e5a590 tinyrenderer: disable triangle backface culling (doesn't work well, cull triangles that should be visible)
GLInstancingRenderer: allow to set the light position
2017-04-23 07:35:13 -07:00
Erwin Coumans
e8c1602232 add vrhand for vive tracker
tweak 'saveWorld' feature a bit (mjcf, gui fallback if shared memory server is not available)
2017-04-21 10:28:20 -07:00
Erwin Coumans
14edf72695 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-20 14:45:40 -07:00
Erwin Coumans
d2ff554e37 tweak hand.py script to automatically find the port on Windows (COM0 to COM30) and Mac OSX. 2017-04-20 14:44:47 -07:00
Erwin Coumans
87b0838624 Merge remote-tracking branch 'bp/master' 2017-04-20 13:10:55 -07:00
Erwin Coumans
c24b81dd68 Merge remote-tracking branch 'bp/master' 2017-04-20 09:32:30 -07:00
erwincoumans
5b789ed67b reduce max ray hits to 256 2017-04-19 12:06:26 -07:00
Erwin Coumans
8cc1f51862 Merge remote-tracking branch 'bp/master' 2017-04-17 19:58:24 -07:00
Erwin Coumans
e8a07e31e6 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-17 19:57:48 -07:00
erwincoumans
73b4c0092c Merge pull request #1076 from YunfeiBai/master
Modify the link index when computing Jacobian.
2017-04-18 01:03:33 +00:00
yunfeibai
a7068bb57a Modify the link index when computing Jacobian. Add a test for end effector orientation IK. Inverse dynamics Jacobian uses zero-based indexing of bodies, not starting from -1 for base. 2017-04-17 16:54:45 -07:00
David Carlier
a95f5e06db forgotten setup.py build part 2017-04-17 20:05:01 +01:00
erwincoumans
ee753eef6f Merge pull request #1073 from devnexen/build_fix_bsd
build fix for BSD systems
2017-04-17 18:19:10 +00:00
erwincoumans
381eace157 Merge pull request #1072 from erwincoumans/master
TinyRenderer, apply backface culling
2017-04-17 18:15:28 +00:00
Erwin Coumans
ad2099e107 address 2 issues pointed out by PVS-Studio:
https://github.com/bulletphysics/bullet3/issues/1074
2017-04-17 10:01:44 -07:00
Erwin Coumans
3c22e10456 Merge remote-tracking branch 'bp/master' 2017-04-17 09:48:51 -07:00
Erwin Coumans
2989217b65 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-17 07:46:45 -07:00
David Carlier
756568ad9c build fix for BSD systems 2017-04-16 17:53:44 +01:00
Erwin Coumans (google)
c2b80c562b fix TinyAudioExample 2017-04-14 19:33:52 +00:00
Erwin Coumans
eef76af663 create basic audio, towards sound sensors etc. 2017-04-14 12:22:38 -07:00
Erwin Coumans
747ccf2c85 bump up pybullet setup.py 2017-04-14 07:28:16 -07:00
Erwin Coumans
fec96ab17f pybullet setup.py: enable numpy if found 2017-04-13 12:46:16 -07:00
Erwin Coumans
c3cc53d5aa TinyRenderer, apply backface culling 2017-04-13 11:06:38 -07: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