Commit Graph
100 Commits
Author SHA1 Message Date
Erwin Coumans 1e443edc55 minor change in API for CommonGUIHelperInterface 2017-05-05 07:48:05 -07:00
Erwin Coumans e6759cfa4f TinyAudio fixes for OSX etc. 2017-04-27 12:07:31 -07:00
Erwin Coumans 1c168c102b Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-27 09:01:16 -07:00
Erwin Coumans a43656701c Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-27 07:31:26 -07:00
Erwin Coumans e4ace90980 fix some potentially uninitialized variable 2017-04-25 21:37:04 -07: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 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 c24b81dd68 Merge remote-tracking branch 'bp/master' 2017-04-20 09:32:30 -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
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
Erwin Coumans (google) c2b80c562b fix TinyAudioExample 2017-04-14 19:33:52 +00:00
Erwin Coumans 747ccf2c85 bump up pybullet setup.py 2017-04-14 07:28:16 -07:00
Erwin Coumans fe199bea09 fix typo 2017-04-11 12:24:17 -07: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
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
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
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 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
Erwin Coumans 38ad1bfb89 revert to m_jointFriction (from m_jointFriction1) 2017-03-27 10:16:55 -07:00
Erwin Coumans 544f289b24 better pr2_gripper collision model 2017-03-23 15:31:17 -07:00
Erwin Coumans acbe8ee5cd remove use of snprint, fixes Issue 1037 2017-03-23 15:10:47 -07:00
Erwin Coumans f498670798 :%s/STL/stl/g for Bullet/data/MPL/MPL.xml 2017-03-21 18:10:50 -07:00
erwin coumans 269909891a update pybullet quickstart guide to latest from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#
2017-03-21 14:25:35 -07:00
Erwin Coumans 61b28621ea minor fix in friction anchors for btMultiBody 2017-03-21 09:24:00 -07:00
Erwin Coumans 0c874aa43a fix issue introduced in previous commit, related to
btMultiBodyConstraintSolver friction/penetration handling
2017-03-20 19:38:59 -07:00
Erwin Coumans (Google) 865d37fcb5 add premake4_arm64 that works on NVIDIA TX2 2017-03-18 18:32:21 +00:00
Erwin Coumans 32b9eacb34 fix compile issue 2017-03-16 13:26:44 -07:00
Erwin Coumans f71a85621d Merge remote-tracking branch 'bp/master' 2017-03-16 10:04:58 -07:00
Erwin Coumans e0a4393bd2 fix compile issue 2017-03-15 17:35:10 -07:00
Erwin Coumans 6e2850e08a fix names (case) for Linux for MPL/hand 2017-03-14 17:03:11 -07:00
Erwin Coumans 66919cc66a fix unreachable code 2017-03-14 13:13:16 -07:00
Erwin Coumans 5009a55ee1 Merge remote-tracking branch 'bp/master' 2017-03-13 18:50:32 -07:00
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 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 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
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
Erwin Coumans dcc4c0bda8 fix uninitialized value in new btMatrix3x3::diagonalize 2017-03-03 16:02:12 -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
Erwin Coumans (Google) aff3b13ebd Merge remote-tracking branch 'bp/master' 2017-02-22 10:44:37 -08:00
Erwin Coumans (Google) e1504eb990 fix Linux premake build 2017-02-22 10:39:37 -08:00
Erwin Coumans 218f883211 make flag/enable required argument
update pybullet quickstart guide PDF from
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#
2017-02-21 17:53:49 -08:00
Erwin Coumans 926c83f2ab Merge remote-tracking branch 'bp/master' 2017-02-21 17:38:42 -08:00
Erwin Coumans 3988d363b3 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-02-21 17:38:32 -08:00
Erwin Coumans 37890e5a4d allow to enable/disable GUI, shadows, wireframe of OpenGL Visualizer from API
(pybullet.configureDebugVisualizer)
2017-02-21 17:36:54 -08:00
Erwin Coumans 1cd65a324c update pybullet quickstart guide 2017-02-21 10:23:18 -08:00
Erwin Coumans 5c74b0a199 add cmake support for TCP / clsocket in pybullet 2017-02-20 20:55:37 -08:00
Erwin Coumans 28146e816f export TCP connection mode to pybullet
made TCP disconnection detection more reliable
2017-02-20 20:34:05 -08:00
Erwin Coumans 3d73a9d788 shmem preliminary TCP implementation (not working yet) 2017-02-20 16:46:25 -08:00
Erwin Coumans bfcdb8c408 add App_PhysicsServerTCP and App_PhysicsServerSharedMemoryBridgeTCP
(can be easier tunneled over SSH)
2017-02-20 14:43:01 -08:00
Erwin Coumans 55361e262e fix 6dof sensors for fixed joints (recent bug left fields uninitialized in getJointInfo)
add premake build support for Test_PhysicsClientUDP
2017-02-20 13:18:33 -08:00
Erwin Coumans c10dfe6a80 more tcp testing 2017-02-20 09:52:59 -08:00
Erwin Coumans b58950df69 Merge remote-tracking branch 'bp/master' 2017-02-17 22:25:54 -08:00
Erwin Coumans 0154c2d689 update docs/pybullet_quickstartguide.pdf from online version
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA
2017-02-17 17:27:38 -08:00
Erwin Coumans 8f546acbe8 disable keyboard toggle in Linux/X11
revert num solver iterations to 50 (from 150)
set solver iterations for one gripper grasp to 150
2017-02-16 15:56:42 -08:00
Erwin Coumans 0c464e6848 [pybullet] add example for roll, pitch, yaw 2017-02-08 09:27:51 -08:00
Erwin Coumans 04b3e88cde Attempt to use VERSION string for CMakeLists.txt
See Issue 953, https://github.com/bulletphysics/bullet3/issues/953
2017-02-07 19:15:22 -08:00
Erwin Coumans 56b4ac278b pybullet workaround for very slow Mac OSX GUI mode, since OpenGL can only run in main thread, just like the Python interpreter
improve quadruped.py script, to allow 'useRealTime' 0 or 1
2017-02-07 08:08:55 -08:00
Erwin Coumans 257b7b89aa update pybullet quickstart guide: add 'colorRGBA' to getVisualShapeData 2017-02-03 08:38:46 -08:00
Erwin Coumans 58f37f85f4 fix type 'getMatrixFromQuaterion -> getMatrixFromQuaternion' (missing n, thanks Jie Tan for the report)
fix type of dimensions, visualframe in pybullet.getVisualShapeData (thanks Michael Ahn for the report)
2017-02-03 08:34:22 -08:00
Erwin Coumans e652696f52 report localVisualFrame instead localInertialFrame 2017-01-25 08:29:45 -08:00
Erwin Coumans 95e25d9942 fix a few warnings 2017-01-24 08:36:46 -08:00
Erwin Coumans 1b2db1ff09 more btCapsuleShape fixes
use hello_mjcf.xml for MJCF importer
2017-01-23 22:22:02 -08:00
Erwin Coumans a25a5e523c drop non-uniform local scaling support for btCapsuleShape 2017-01-23 21:10:32 -08:00
Erwin Coumans 8c480b1cd7 revert to older version of stb_image, the new version causes issues in
our build system.
2017-01-23 17:36:43 -08:00
Erwin Coumans e7dbf0b3e8 Merge remote-tracking branch 'bp/master' 2017-01-23 17:26:34 -08:00
Erwin Coumans ce9d8d96c9 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-01-23 17:26:23 -08:00
Erwin Coumans f2da5d41c9 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-01-22 21:26:15 -08:00
Erwin Coumans 73e83d6e84 fix OSX build, fix some warnings 2017-01-22 21:06:51 -08:00
erwin coumans 8a6e40ff95 add --disable_desktop_gl for Virtual Reality server (App_SharedMemoryPhysics_VR)
(making the VR performance much better on lowish-quality GPU hardware)
2017-01-14 08:05:04 -08:00
Erwin Coumans 7b7d897e3b explicitly mark dead code 2017-01-12 12:29:15 -08:00
Erwin Coumans a93704889c add a default empty implementation for a few pure virtual calls
(in interface classes) for backward compatibility in some code base
2017-01-12 11:40:43 -08:00
Erwin Coumans 8caea20425 small tweak in inverse_kinematics.py example, to make it run better on OSX 2017-01-11 21:57:02 -08:00
Erwin Coumans 5e948ebe00 add placeholder for EGLOpenGLWindow 2017-01-09 15:59:47 -08:00
Erwin Coumans a051e6f164 fix pybullet unreachable code path 2017-01-07 10:25:10 -08:00
Erwin Coumans b773481266 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-01-07 09:30:49 -08:00
Erwin Coumans afdcf69837 implement some dummy methods in URDFImporterInterface, some code
breaks because of un-implemented methods
2017-01-07 09:30:06 -08:00
Erwin Coumans 10c7ddcb15 fix issue of duplicate classes with same name
causing issues with some linkers
2017-01-06 18:15:04 -08:00
Erwin Coumans 8f02e75d98 avoid creating shared memory segments with same key multiple times 2017-01-06 09:55:22 -08:00
Erwin Coumans 8e554a0c1b allow creation of multiple shared memory segments 2017-01-06 09:49:03 -08:00
Erwin Coumans 90b1026785 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-01-05 18:36:54 -08:00
Erwin Coumans 0cf869e56a add multiple shared memory blocks, to allow multiple
simultaneous connections. At the moment, MAX_SHARED_MEMORY_BLOCKS = 2
Note that the amount of shared memory is limited on many systems,
32MB, while one block is already over 1MB at the moment...
You can connect to SHARED_MEMORY using the current key,
and key+1. There are a few commands that cannot currently be
executed in parallel among multiple connections,
since the implementation of the server
caches some data: rendering image (getCameraData),
getting contact point data and getting debug lines.
2017-01-05 18:30:01 -08:00
erwin coumans 63d3374c00 Merge remote-tracking branch 'bp/master' 2016-12-31 11:36:30 -08:00
erwin coumans c6650f9329 fix win32 UNICODE build
re-enable VR teleport
2016-12-31 11:35:56 -08:00
Erwin Coumans 0917310521 add nanosecond resolution for Mac OSX clock / about://tracing timings 2016-12-23 18:18:35 -08:00
erwin coumans a393074793 update to latest OpenVR 1.04 (and make minor API changes)
add premake5.exe (will remove premake4.exe soon)
2016-12-11 22:39:45 -08:00
erwin coumans a96fca486b Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-12-11 18:43:13 -08:00
Erwin Coumans 6814e334a2 expose numSubSteps to pybullet 2016-12-01 17:54:52 -08:00