kwasimensah
e03383e612
Update support for buggy android NDK
...
Expand logic for when __thread is supported to work around https://github.com/android-ndk/ndk/issues/8
2017-11-02 15:35:59 -04:00
Giuseppe Barbieri
b81252fbc4
Update btVector3.h
2017-10-08 10:49:20 +02:00
Giuseppe Barbieri
8755f51bec
Typo
2017-10-07 16:58:38 +02:00
Luke
1360641ad9
Fix a shadow warning by renaming a parameter in btInfMaskConverter
2017-09-29 15:44:14 -05:00
Erwin Coumans
06b695e051
remove some warning ,see also Pull Request #302
...
bump up pybullet version
2017-09-14 08:08:24 -07:00
erwincoumans
6f51d81cbb
Revert "Export targets in CMake and add include directories to target properties"
2017-09-10 21:20:54 -07:00
Markus Rickert
fbffb246fe
Export targets in CMake and add include directories to target properties
2017-09-10 23:43:50 +02:00
Sam Hocevar
d8b5ebd818
Make btHashString const-correct by changing a target pointer type.
2017-09-01 20:02:58 +02:00
erwincoumans
457312f94f
fix leak in loadSDF in case of visuals with duplicate/identical names that have a material.
...
fix GUI performance issue on Mac OSX
fix issue introduced in previous commit (in btConvexHullComputer.cpp)
2017-08-11 17:14:52 -07:00
Erwin Coumans
c67a70cb09
compile fixes
2017-07-29 13:40:03 +02:00
Erwin Coumans
dd3d55610b
fixes in pybullet.loadTexture, changeVisualShape replacing texture.
...
(also works for OpenGL3 renderer now)
2017-06-30 13:35:07 -07:00
erwincoumans
7b56db9f97
fix compile issue/warning
2017-06-06 06:59:41 -07:00
Lunkhound
0fc3ce69e9
fix thread index going out of range bug
2017-06-03 18:03:59 -07:00
Lunkhound
34e2c1b784
add profiling info
2017-05-29 23:53:35 -07:00
Lunkhound
d77c3d5b68
fix compile errors in non-threadsafe build
2017-05-23 02:34:29 -07:00
Lunkhound
dfe184e8d3
Bullet 2 threading refactor: moved parallel-for calls into core libs
2017-05-23 01:01:20 -07:00
Erwin Coumans
433d11d8cf
Add a btIDEbugDraw::clearLines, helps multi-threaded rendering of lines (while updating those lines in a dynamics world in a different thread)
...
Expose COV_ENABLE_VR_RENDER_CONTROLLERS, to enable/disable rendering of controllers (and some frames) in VR
Expose COV_ENABLE_RENDERING to enable/disable rendering.
Fix some multi-threading issues (potential crashes), related to debug drawing/rendering in one thread, while changing the dynamics world/removing/resetSimulation in a different thread.
2017-05-16 12:19:03 -07:00
Erwin Coumans
424a29474f
fix for division by zero, in case angular velocity goes close to zero
...
(but not zero)
2017-05-11 17:45:01 -07:00
Erwin Coumans
0d3940b8bd
fix signed-integer-overflow issue:
...
Hash functions rely on 2's complement behaviour. Use unsigned integers to get that.
2017-05-09 16:36:11 -07:00
Erwin Coumans
af6bf8ddc8
plumb URDF/SDF audio_source into PhysicsServerCommandProcessor, allow to play sounds on collision !
...
See also https://youtu.be/eppOjTfx5Jg for a first test, and this modified URDF how to add sounds:
https://github.com/bulletphysics/bullet3/blob/master/data/plane_with_collision_audio.urdf
Add the --audio flag to enable sound in pybullet/Bullet-C-API
2017-05-01 11:14:09 -07:00
nicolaichuk
2c6c64ca8a
Merge remote-tracking branch 'remotes/bulletphysics/master'
2017-03-29 18:22:53 +03:00
Erwin Coumans
7503418c72
Split Bullet/src/LinearMath/btSerializer.cpp into btSerializer64.cpp to make it easier to rebuild serialization structure.
...
Add several MSVC optimization flags to cmake.
Bump up VERSION because serialization format changed
Expose btScalar& jointMaxForce, btScalar& jointMaxVelocity to 'getJointInfo2' API, add backwards compatibility to examples\Importers\ImportURDFDemo\URDFImporterInterface::getJointInfo.
pybullet: expose 4 more fields to getJointInfo: jointLowerLimit/jointUpperLimit/jointMaxForce/jointMaxVelocity
fix performance issue in CMD_ACTUAL_STATE_UPDATE_COMPLETED
2017-03-26 13:06:46 -07:00
Erwin Coumans
ee0e3ba271
Remove RobotLogging from CMakeLists.txt
...
Avoid crashing if threadIndex exceeds BT_QUICKPROF_MAX_THREAD_COUNT (64)
2017-03-23 18:00:00 -07:00
nicolaichuk
71e411c2ca
fix warning "This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library"
2017-03-23 14:38:45 +03:00
nicolaichuk
5527e36139
Merge remote-tracking branch 'remotes/bulletphysics/master'
...
# Conflicts:
# src/BulletCollision/CollisionDispatch/btCollisionWorldImporter.h
2017-03-23 14:28:49 +03:00
nicolaichuk
8e1b146568
Merge branch 'Branch_2.86.1'
2017-03-23 14:24:32 +03:00
nicolaichuk
db065b8af8
fix redefinition
2017-03-23 14:15:51 +03:00
erwincoumans
ef9afd39f7
Merge pull request #996 from iSLC/master
...
Adjust thread-local local static variable syntax for MinGW/GCC.
2017-03-13 21:52:06 -07:00
erwincoumans
41d7ee4f89
Merge pull request #1009 from cprogrammer1994/fix-compile-warnings
...
Fix some compiler warnings
2017-03-13 21:49:28 -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
Szabolcs Dombi
839086ac84
fix type conversion warnings
2017-03-13 18:30:44 +01:00
Sandu Liviu Catalin
bbb7e3c5f5
Adjust thread-local local static variable syntax for MinGW/GCC.
2017-03-08 00:46:39 +02: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
Daniele Bartolini
af284122a3
Fix warning when compiling with -Dundef on MinGW
2017-03-06 19:27:21 +01:00
Erwin Coumans
dcc4c0bda8
fix uninitialized value in new btMatrix3x3::diagonalize
2017-03-03 16:02:12 -08:00
Erwin Coumans
0131754173
Add 'extractRotation' based on "A robust method to extract the rotational part of deformations"
...
///See http://dl.acm.org/citation.cfm?doid=2994258.2994269
Rewrite 'diagonalize' to use 'extractRotation', should fix Issue 846
2017-02-25 16:57:18 -08:00
yunfeibai
e12981fd45
Enable logging a specified list of objects for generic robot logging.
2017-02-20 12:17:12 -08:00
erwincoumans
72dd8285e8
fix 'safeNormalize' (probably should remove it)
...
Fix for Issue 953: cull degenerate triangles
https://github.com/bulletphysics/bullet3/issues/935
Thanks to Oleg Klimov for the report and reproduction case.
2017-01-30 18:12:09 -08:00
Erwin Coumans
d81d62a70b
Prepare for Bullet 2.86 release, update version to 2.86 (release will be tagged soon)
...
protect some C-API methods against negative dof indices
add triangle mesh import from MJCF files
update to recent pybullet quickstart guide pdf
2017-01-20 11:48:33 -08:00
erwincoumans
e738d1ffde
fix for iOS, add #include <TargetConditionals.h>
2017-01-13 12:06:13 -08:00
Erwin Coumans
5e6cfd70b5
iOS platform and Android don't have __thread local storage, so avoid multi-threaded profiler on those (only on _WIN32, __linux__ and __APPLE__ and not TARGET_OS_IPHONE
...
Add a Sleep(0) for Windows to yield threads (and not Sleep(1))
2017-01-08 12:49:04 -08:00
Erwin Coumans
8e554a0c1b
allow creation of multiple shared memory segments
2017-01-06 09:49:03 -08:00
Erwin Coumans
a4cf0c8b11
Linux clock_gettime needs rt / librt, so put it behind BT_LINUX_REALTIME for now.
2016-12-26 22:00:39 -08:00
Erwin Coumans
7aa7c4dfee
Linux needs #include <time.h>?
...
/home/travis/build/bulletphysics/bullet3/src/LinearMath/btQuickprof.cpp:251:19: error: ‘CLOCK_REALTIME’ was not declared in this scope
/home/travis/build/bulletphysics/bullet3/src/LinearMath/btQuickprof.cpp:251:37: error: ‘clock_gettime’ was not declared in this scope
2016-12-26 21:15:59 -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
4c06fd27b3
Example Browser: add option (keypress 'p') to dump json timing profile trace, that you can open using Chrome about://tracing
...
Make btQuickprof thread safe
Add option in btQuickprof to override custom timing profile (btSetCustomEnterProfileZoneFunc, btSetCustomLeaveProfileZoneFunc)
remove b3Printf in a user/physics thread (those added added, while drawing the GUI running in the main thread)
2016-12-23 15:20:04 -08:00
erwincoumans
214930922d
make sure m_uniqueIdGenerator in btSerializer is initialized to zero, it can cause issues if not.
2016-11-05 12:53:40 -07:00
erwincoumans
5d66ce20e0
network UDP: transmit structural DNA to deal with version/platform differences.
...
pybullet: allow to specify shared memory key and hostname/port for UDP.
2016-11-04 17:06:55 -07:00
erwincoumans
908cb2def2
Merge pull request #851 from erwincoumans/master
...
serialization structures update, needed to be done since
2016-11-03 09:11:36 -07:00
erwin coumans
f74a35bacb
serialization structures update, needed to be done since
...
recent addition of src/BulletCollision/CollisionDispatch/btCollisionObject.h
recent (since august 26, 2016) serialization dumps my be corrupt.
2016-11-03 07:11:31 -07:00