erwincoumans
0b2142414d
fix usage of btMultiBody::setJointPosMultiDof/setJointVelMultiDof
2018-11-11 19:04:07 -08:00
erwincoumans
17219f84c6
make setJointPosMultiDof and setJointVelMultiDof argument const.
...
add PyBullet.resetJointStateMultiDof / getJointStateMultiDof, for preliminary support for spherical and planar joints
2018-11-10 14:26:31 -08:00
stolk
3af132ffd4
Fix compiler warning about shadowing int j variable.
2018-11-09 16:10:42 -08:00
erwincoumans
642c6a71d2
fix 2 potential data race conditions.
2018-11-08 14:41:22 -08:00
Erwin Coumans
882252f8c0
move global from btMultiBody into dynamicsWorld.getSolverInfo
2018-11-05 10:50:03 -08:00
Erwin Coumans
ac18c95ea1
fix some race conditions
2018-11-05 10:04:19 -08:00
erwincoumans
750133694c
Disable btQuickprof.h profiling by default. We use custom profiling functions, see b3ChromeUtilsStartTimings.
2018-11-01 08:19:50 -07:00
Erwin Coumans
336a4b65fe
disable some internal statistics, reporting a race condition.
2018-11-01 07:41:35 -07:00
Erwin Coumans
131535a99f
remove debug stats
2018-10-31 21:24:44 -07:00
Erwin Coumans
a48b6b9ca0
fix some thread sanitizer (read/write integer, should be a harmless warning)
2018-10-31 17:00:34 -07:00
erwincoumans
5fbc015ba6
Merge pull request #1951 from duckdoom5/patch-1
...
Added missing extern declaration
2018-10-29 17:00:35 -07:00
Michał Janiszewski
5b90e7e0b7
Update include guard in btGImpactBvh.h
2018-10-28 21:50:28 +01:00
Jelle
f9ff09a6b5
Added extern declaration
...
The extern declaration was missing from this file.
2018-10-24 17:20:25 +02:00
Erwin Coumans
dc2d54df2c
remove 32bit build ARCH from xcode4 generated files (premake4)
...
optimization in btMultiBody::fillConstraintJacobianMultiDof:
only compute links between current link and root
2018-10-20 10:44:43 -07:00
Filip Gawin
4aab16d943
Remove unneeded keyword register
...
Why is it unneeded?
C++11 has deprecated it,
c++17 removed.
So, how about older (c++98)?
According to Herb Sutter, it is as meaningful
as whitespace.
http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/
184403859
2018-10-16 21:28:42 +02:00
erwincoumans
332cbfa609
fix typo in previous commit
2018-10-06 18:37:51 -07:00
erwincoumans
71d4a90c98
btMultiBody: fix indexing issue causing wrong friction to be reported (has no effect, since we don't use warmstarting for multibody)
2018-10-06 15:25:22 -07:00
Erwin Coumans
42ae4e81a8
apply clang-format (on Mac, slightly different than running it on Windows)
2018-09-30 11:43:57 -07:00
erwincoumans
5bcd43711a
PyBullet OpenGL/EGL hardware getCameraImage: use glViewport to reduce the glReadPixels calling cost dramatically for small images
...
PyBullet Allow OpenGL/EGL hardware to render segmentation mask. Use pybullet.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX or pybullet.ER_SEGMENTATION_MASK
PyBullet.removeBody fix indexing bug (use foundIndex, not i)
PyBullet bump up version to 2.2.3
2018-09-30 07:10:40 -07:00
erwincoumans
cdd56e4641
Merge pull request #1895 from erwincoumans/master
...
Code-style consistency improvement: _clang-format applied
2018-09-23 19:22:09 -07:00
erwincoumans
ab8f16961e
Code-style consistency improvement:
...
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files.
make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type.
This commit contains no other changes aside from adding and applying clang-format-all.sh
2018-09-23 14:17:31 -07:00
Lucas Walter
fbf4d946c4
Spelling fix: on-way -> one-way
2018-09-18 07:40:22 -07:00
erwincoumans
9553892770
PyBullet / BulletRobotics:
...
Implement collisionFilterPlugin, use setCollisionFilterPair to enable or disable collision detection between specific pairs of objects.
Also, expose setCollisionFilterGroupMask as PyBullet API and in urdf using the tag <collision group="1" mask="2"/>.
See examples/pybullet/examples/collisionFilter.py for an example.
PyBullet default: Lower the warmstarting factor, for maximal coordinates rigid bodies for more stable simulation.
Add btCollisionWorld::refreshBroadphaseProxy to easier recreate the broadphase proxy without adding/removing objects to the world.
2018-09-12 19:30:49 -07:00
erwincoumans
a9299fbd0c
Merge pull request #1853 from erwincoumans/master
...
fix crash in btInternalEdgeUtility when a mesh is not the expected type
2018-08-31 14:12:43 -07:00
Erwin Coumans
9a26d4aaaf
fix type
2018-08-31 09:59:18 -07:00
Erwin Coumans
f1cb4fe29c
fix crash in btInternalEdgeUtility when a mesh is not the expected type
...
(don't wrap a mesh in a btCompoundShape if you want to use the edge utility)
2018-08-31 09:25:49 -07:00
erwincoumans
4bf846822f
Merge pull request #1850 from erwincoumans/master
...
Add preliminary GRPC server for PyBullet and BulletRobotics.
2018-08-30 19:40:13 -07:00
erwincoumans
ee9fca8c29
GJK fix for https://github.com/bulletphysics/bullet3/issues/1703
...
In a nutshell, we added a more reliable check, based on if the origin is in the GJK simplex, to determine if we are really intersecting and need to run EPA.
See also "Real-time Collision Detection with Implicit Objects" by Leif Olvang
Todo: integrate the simplex penetration check directly inside the Bullet btVoronoiSimplexSolver
and remove this temporary code from libCCD
Note, for large differences in shapes, use double precision build!
2018-08-30 18:35:51 -07:00
erwincoumans
4d00beefbb
Merge pull request #1849 from madebr/fix_1827
...
Fix for bug #1827
2018-08-29 20:54:31 -07:00
Erwin Coumans
2668b89740
fix another island issue
2018-08-26 22:25:39 -07:00
Erwin Coumans
ff43cea263
Fix some deactivation issues with btMultiBodyDynamicsWorld, should also improve performance for PyBullet with larger worlds
...
(even when sleeping is disabled, islands are split)
2018-08-26 16:14:36 -07:00
erwincoumans
aace31c1fa
Merge pull request #1843 from rhaschke/master
...
preserve constness to avoid compiler warnings
2018-08-23 23:06:54 -07:00
Erwin Coumans
61b7591b8e
expose choice of contraint solver in PyBullet, with switchConstraintSolver example
2018-08-23 23:04:17 -07:00
Robert Haschke
beb3dd6196
reduce diff
2018-08-24 00:34:16 +02:00
Robert Haschke
5088f71e7f
preserve constness to avoid compiler warnings
2018-08-24 00:29:54 +02:00
Colin Basnett
5bdfba1ea6
Fix for bug #1827
2018-08-14 19:36:42 +02:00
Jeongseok Lee
340236ee29
Fix copy & paste mistake
2018-08-07 15:16:46 -07:00
Jeongseok Lee
e8e97d39fe
Merge remote-tracking branch 'upstream/master' into multibody_mlcp_solver_v2
2018-08-06 10:34:43 -07:00
Erwin Coumans
684b69f4dd
fix applied too fast
2018-08-03 17:57:09 -07:00
Erwin Coumans
02b0e34bda
v_ptr
2018-08-03 17:53:07 -07:00
Erwin Coumans
97baccd1a5
revert regression in btMultiBody.cpp
2018-08-03 17:38:01 -07:00
Jeongseok Lee
809fb3ed49
Use btAssert instead of assert
2018-08-03 13:46:59 -07:00
Jeongseok Lee
89c6a83ae9
Add MLCP constraint solver for multibody
2018-08-02 22:53:30 -07:00
Erwin Coumans
2000ba9058
handle singularity (gimbal lock) in quaternion -> euler conversion,
...
from e7e0972a46/urdf_model/include/urdf_model/pose.h (L103)
2018-07-30 17:30:19 +02:00
Erwin Coumans
5dd7a62397
Disable CProfileManager by default.
...
Use btSetCustomEnterProfileZoneFunc(CProfileManager::Start_Profile) and
btSetCustomLeaveProfileZoneFunc(CProfileManager::Stop_Profile) to get old behavior.
2018-07-30 12:07:32 +02:00
Erwin Coumans
2cab56d6ef
prepare build system(s) for collisionFilterPlugin
2018-07-27 15:48:24 +02:00
erwincoumans
fa41e2945c
Merge pull request #1804 from erwincoumans/master
...
fix memory leak reported in Issue #1800
2018-07-27 14:50:45 +02:00
Erwin Coumans
d7c68dd822
fix leak
2018-07-27 10:13:09 +02:00
Erwin Coumans
a696bd6a46
fix memory leak reported in Issue #1800
...
avoid access to array elements outside of range
2018-07-25 19:59:29 +02:00
erwincoumans
0c66696e19
Merge pull request #1803 from mbeards/id_macro_collision
...
Renamed error_message and warning_message macros.
2018-07-24 22:54:03 +02:00