Commit Graph

4820 Commits

Author SHA1 Message Date
Erwin Coumans
e524b22fd6 relax the UseTab in _clang-format, see
https://github.com/bulletphysics/bullet3/issues/1007#issuecomment-286264717
2017-03-13 15:52:52 -07:00
Erwin Coumans
bdaadf57e0 apply _clang-format to Bullet/src/LinearMath/btScalar.h, disable around preprocessor defines
(issue with clang-format lacking preprocessor indentation support, see
https://bugs.llvm.org//show_bug.cgi?id=17362
and possibly apply this patch:
https://github.com/mkurdej/clang/tree/indent-pp-directives
)
2017-03-13 11:17:42 -07:00
Erwin Coumans
b088f7febe Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-03-13 11:02:10 -07:00
Erwin Coumans
e36b7e02aa Fix for issue 1007
_clang-format file and applied to HelloWorld.cpp
usage:
clang-format -style=file -i examples/HelloWorld/HelloWorld.cpp
THere are still some issues with clang-format and its style
2017-03-13 11:00:56 -07:00
Erwin Coumans
ca31bb2bbd pybullet.ER_BULLET_HARDWARE_OPENGL and ER_TINY_RENDERER exposed (for getCameraImage, renderer=pybullet.ER_BULLET_HARDWARE_OPENGL)
improve performance of getCameraImage when using ER_BULLET_HARDWARE_OPENGL
2017-03-09 17:42:59 -08:00
erwincoumans
4ea9fa54bb Merge pull request #995 from YunfeiBai/master
Bug fix: set logging unique id at initialization.
2017-03-09 11:40:43 -08:00
erwincoumans
917b3ae0d3 Merge pull request #1002 from erwincoumans/master
improve vrhand.py
2017-03-08 14:17:11 -08:00
Erwin Coumans
f2aa67d262 improve vrhand.py 2017-03-08 14:10:43 -08:00
erwincoumans
644e510c83 Fix Issue 997 2017-03-08 12:38:27 -08:00
erwincoumans
7ffbd35d42 Merge pull request #999 from erwincoumans/master
update pybullet quickstart guide pdf
2017-03-07 22:38:15 -08:00
Erwin Coumans
00d586c26f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-03-07 22:37:35 -08:00
Erwin Coumans
cf5702c0be update pybullet quickstart guide pdf from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA
2017-03-07 22:34:43 -08:00
erwincoumans
9120c176df Merge pull request #998 from erwincoumans/master
optimize hand (hand.py, vrhand.py) MPL.xml STL meshes for better collision detection performance
2017-03-07 19:43:28 -08:00
Erwin Coumans
af295b6eed optimize hand (hand.py, vrhand.py) MPL.xml STL meshes for better collision detection performance (using Blender decimation tool) 2017-03-07 19:07:45 -08:00
yunfeibai
3ad49ae5eb Set logging unique id at initialization. This fixed a bug that the second log couldn't be stopped properly. 2017-03-07 11:52:26 -08:00
erwincoumans
63dc57c7e6 add pybullet file to track VR controller attached to some robot (such as minitaur)
press button to toggle tracking, other button to reset orientation of controller, relative to robot.
2017-03-07 08:48:23 -08:00
erwincoumans
18fb738f80 Merge pull request #992 from taylor001/dev
Fix warning when compiling with -Dundef on MinGW
2017-03-07 07:37:39 -08:00
erwincoumans
c1d4651eb9 Merge pull request #994 from erwincoumans/master
typo (thanks Avik for the report!)
2017-03-07 07:36:52 -08:00
erwincoumans
98e7519134 Update b3RobotSimulatorClientAPI.cpp 2017-03-06 18:54:52 -08:00
erwincoumans
b12ccd92c8 typo (thanks Avik for the report!) 2017-03-06 18:52:52 -08:00
Daniele Bartolini
af284122a3 Fix warning when compiling with -Dundef on MinGW 2017-03-06 19:27:21 +01:00
erwincoumans
9139151b72 Merge pull request #991 from erwincoumans/master
fix quadruped.py, don't use 'realtime' and set timeout (in case conne…
2017-03-05 22:41:39 -08:00
Erwin Coumans
f81211f3b0 fix quadruped.py, don't use 'realtime' and set timeout (in case connection to server is lost) to few seconds 2017-03-05 22:40:05 -08:00
erwincoumans
0759ba1a22 Merge pull request #990 from erwincoumans/master
improved minitaur.urdf file, see https://youtu.be/lv7lybtOzeo for a preview.
2017-03-05 22:23:23 -08:00
erwincoumans
00361afea5 allow user to specify the maximum number of dofs to log in GenericRobotStateLogger (default = 12)
add minitaur quadruped playback of minitaur log files (real robot and simulated create the same log files)
add improved minitaur.urdf file, see https://youtu.be/lv7lybtOzeo for a preview.
2017-03-05 21:49:20 -08:00
erwincoumans
a7ad6c2860 Merge remote-tracking branch 'bp/master' 2017-03-04 15:31:02 -08:00
erwincoumans
c7579d7b82 fix quadruped, allow user to pick the maximum number of dofs to log 2017-03-04 15:30:57 -08:00
erwincoumans
2c081c767c Merge pull request #988 from YunfeiBai/master
Log time stamp and set renderer in pybullet.
2017-03-04 15:27:00 -08:00
yunfeibai
e0c74a46ac Set renderer in pybullet. 2017-03-04 13:31:30 -08:00
yunfeibai
6e3cd26f11 Log time stamp and step count. 2017-03-04 13:19:43 -08:00
erwincoumans
44b140dd38 disable the gMaxNumCmdPer1ms experiment by default (-1)
fix minitaur_evaluate.py script, quadruped.py
2017-03-04 12:59:21 -08:00
erwincoumans
d13969854f Merge pull request #987 from pps83/master
remove `using namespace ConvexDecomposition` from library header file
2017-03-04 05:26:49 -08:00
Pavel
13669a4331 remove unnecessary using namespace std from b3CommandLineArgs.h 2017-03-04 03:52:50 -08:00
Pavel
84fc9b5a98 remove using namespace ConvexDecomposition from library header file 2017-03-04 03:42:17 -08:00
erwincoumans
995a686eaf Merge pull request #986 from erwincoumans/master
fix uninitialized value in new btMatrix3x3::diagonalize
2017-03-03 16:03:02 -08:00
Erwin Coumans
dcc4c0bda8 fix uninitialized value in new btMatrix3x3::diagonalize 2017-03-03 16:02:12 -08:00
erwincoumans
ea4fb7f322 Merge pull request #985 from erwincoumans/master
fix body name in GUI more
2017-03-03 15:03:28 -08:00
Erwin Coumans
7cb5898db6 fix body name in GUI more
expose getBodyInfo to b3RobotSimulatorClientAPI
2017-03-03 11:33:20 -08:00
erwincoumans
8f3ba88754 Merge pull request #983 from erwincoumans/master
update pybullet quickstart guide from
2017-03-02 13:28:05 -08:00
Erwin Coumans
3d43ab1bad update pybullet quickstart guide from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit
2017-03-02 13:26:12 -08:00
erwincoumans
211d292ea2 Merge pull request #982 from erwincoumans/master
create premake/cmake file for Bullet/Extras/obj2sdf
2017-03-02 12:45:13 -08:00
Erwin Coumans
34fc2fb589 create premake/cmake file for Bullet/Extras/obj2sdf
add missing 1.sdf for Bullet/data/kitchens/1.sdf
add support for getting keyboard events (pybullet.getKeyboardEvents and b3RobotSimulatorClientAPI::getKeyboardEvents)
2017-03-02 12:33:22 -08:00
erwincoumans
255b21a776 Merge pull request #979 from erwincoumans/master
fix lack of collision scaling in pybullet URDF/SDF files (only graphi…
2017-03-02 08:18:11 -08:00
erwincoumans
1ba22c7c45 Merge pull request #980 from YunfeiBai/master
Modify logging and playback to handle fixed joint.
2017-03-02 08:17:59 -08:00
yunfeibai
a33dcdb63d Modify logging and playback to handle fixed joint. 2017-03-01 23:37:01 -08:00
Erwin Coumans
6a40c1cca7 pybullet expose resetDebugVisualizerCamera
example: pybullet.resetDebugVisualizerCamera(cameraDistance=3,cameraYaw=30,cameraPitch=52,cameraTargetPosition=[0,0,0])
2017-03-01 15:04:07 -08:00
Erwin Coumans
2f3ba49357 expose some sleep timeout pybullet.setPhysicsEngineParameter(maxNumCmdPer1ms=100) or b3PhysicsParamSetMaxNumCommandsPer1ms,
if more commands than those are processed per millisecond, a 1ms sleep will follow, to avoid other threads being stalled.
2017-03-01 13:48:57 -08:00
Erwin Coumans
ac28f50fa5 vrhand.py first try to connect to SHARED_MEMORY if that fails use GUI fallback 2017-03-01 13:01:02 -08:00
Erwin Coumans
2eb019cdc3 Created Wavefront obj to sdf converter, to make it easier to import complex obj models with many materials. See kitchen for example.
Fix in tinyobj, make sure material is initialized
Add fatihrmutfak kitchen model, for Virtual Reality and some research
2017-03-01 10:06:10 -08:00
Erwin Coumans
89e8e30de6 fix lack of collision scaling in pybullet URDF/SDF files (only graphics meshes supported scaling, collision objects ignored scaling) 2017-02-28 16:30:57 -08:00