Erwin Coumans
ea6ecd3579
Use higher precision GJK/EPA collision tolerances in BT_USE_DOUBLE_PRECISION
...
See https://raw.githubusercontent.com/billhoffman/bullet-pod/ac6aae3e3ee8137de484471094a65bfe166898b4/bullet_gjk_accuracy_patch.diff
2016-03-10 23:12:22 -08:00
Erwin Coumans
c69524be9e
fix Lua example
2016-03-10 21:15:23 -08:00
hujiajie
3ed7ecbb58
Fix ternary selection operator on float scalars in OpenCL kernels.
...
According to Section 6.3(i) of the OpenCL 1.1 specification, the first
expression of the operator cannot be a float.
2016-03-11 09:40:40 +08:00
erwincoumans
c30c10b906
Merge pull request #579 from erwincoumans/master
...
Allow InProcessExampleBrowser to use a malloc allocated memory block,…
2016-03-10 15:07:40 -08:00
erwincoumans
efbb1edecc
Allow InProcessExampleBrowser to use a malloc allocated memory block, instead of system shared memory.
...
Make shared memory client/server a bit more robust, in case the server is terminated early.
2016-03-10 14:36:46 -08:00
erwincoumans
67c538413f
Merge pull request #576 from hujiajie/master
...
The 'static' storage-class specifier is not supported in OpenCL.
2016-03-10 14:34:06 -08:00
erwincoumans
7a48b2d481
Merge pull request #578 from erwincoumans/master
...
quick draft implementation for SharedMemoryInProcessPhysicsC_API
2016-03-07 16:49:44 -08:00
hujiajie
ad6fb3afc1
The 'static' storage-class specifier is not supported in OpenCL.
...
This is documented in Section 6.8 (g) in OpenCL 1.1 specification.
2016-03-08 08:49:28 +08:00
erwincoumans
40a9b8cea0
fix relative include path
2016-03-07 15:12:33 -08:00
erwincoumans
9be978337f
quick draft implementation for SharedMemoryInProcessPhysicsC_API
2016-03-07 14:56:16 -08:00
erwincoumans
51970941b4
Merge pull request #577 from MichaelKorn/patch-1
...
fix for issue in getAngleShortestPath()
2016-03-04 15:03:04 -08:00
Michael Korn
e80bafdf66
fix for issue in getAngleShortestPath()
...
Testing squared norm for <0 does not make any sense. In Addition giving the range of the return values is a great help to understand the descriptions.
2016-03-04 22:01:29 +01:00
erwincoumans
03e85ad5a8
Merge pull request #575 from erwincoumans/master
...
add InProcessExampleBrowser to make it easy to instantiate the Exampl…
2016-03-03 11:31:07 -08:00
Erwin Coumans
b130be46f7
add InProcessExampleBrowser to make it easy to instantiate the ExampleBrowser in its own thread
...
example usage:
int main(int argc, char* argv[])
{
btInProcessExampleBrowserInternalData* data = btCreateInProcessExampleBrowser(argc,argv);
while (!(btIsExampleBrowserTerminated(data)))
{
}
btShutDownExampleBrowser(data);
return 0;
}
2016-03-02 18:01:33 -08:00
erwincoumans
23f39afc62
Merge pull request #574 from erwincoumans/master
...
only enable Wavefront obj support for URDF when ENABLE_URDF_OBJ is defined. enable CrossSplitter.cpp
2016-03-01 10:12:19 -08:00
Erwin Coumans
d70132a901
only enable Wavefront obj support for URDF when ENABLE_URDF_OBJ is defined.
...
add destructor for SampleJob1
2016-03-01 09:15:55 -08:00
Erwin Coumans
f90ba2eff9
fix issue, CrossSplitter.cpp cannot be disabled using #ifdef _WIN32
2016-03-01 09:10:16 -08:00
erwincoumans
a8d9582023
Merge pull request #572 from erwincoumans/master
...
fix some warnings
2016-02-29 17:47:24 -08:00
Erwin Coumans
4a70df2dfb
fix some warnings
2016-02-29 15:37:03 -08:00
erwincoumans
8764357fa8
Merge pull request #570 from erwincoumans/master
...
re-quantize for before using the data in quantize method
2016-02-24 18:22:31 -08:00
Erwin Coumans
25409f93c7
re-quantize for before using the data in quantize method
...
this fixes issue 558
2016-02-23 08:46:09 -08:00
erwincoumans
3d95133ed1
Merge pull request #568 from erwincoumans/master
...
allow soft (compliant) contact for btRigidBody and btMultiBody using ERP/CFM.
2016-02-23 08:38:09 -08:00
erwincoumans
d196cec51f
Update RigidBodySoftContact.cpp
...
fix typo
2016-02-23 08:02:28 -08:00
erwin coumans
6c9bfce975
Support btMultiBody soft contact using ERP and CFM. Also support custom relaxation parameter to allow successive over relaxation.
...
Added demos for rigid and multi body soft (compliant) contact.
Will also add simplified Hertz compliant contact, by dynamically modifying the ERP/CFM to mimic a non-linear spring.
Note that btManifoldPoint is growing too big, we need to implement proper contact constraints derived from btTypedConstraint.
2016-02-22 18:40:00 -08:00
Erwin Coumans
a3154f7a56
use b3ConnectSharedMemory in PhysicsClient example, instead of b3ConnectPhysicsLoopback
2016-01-27 13:36:33 -08:00
erwin coumans
645a88176d
Enable softness for btRigidBody contacts. This is implemented by some value (CFM, constraint force mixing) to the main diagonal of A.
...
CFM for contacts use world CFM value by default, and can override with custom CFM value using the
BT_CONTACT_FLAG_HAS_CONTACT_CFM stored in m_contactPointFlags.
Boolean m_lateralFrictionInitialized is replaced 'BT_CONTACT_FLAG_LATERAL_FRICTION_INITIALIZED' flag stored in int m_contactPointFlags in btManifoldPoint.
Enable successive over-relaxation parameter (SOR) for contacts. btMLCPSolver uses global CFM.
In one of the next commits, contact softness will be enabled btMultiBody contacts.
Also need to review use of CFM in btMLCPSolvers (only world CFM is used at the moment)
2016-01-22 17:43:36 -08:00
B M Corser
7eaa28847f
Typo in README
2016-01-16 08:52:21 +00:00
erwincoumans
2fb92bc40c
Merge pull request #557 from erwincoumans/master
...
add a Pendulum example that is also used as unit test.
2016-01-08 14:36:41 -08:00
Erwin Coumans
6bc3f94f52
add a Pendulum example that is also used as unit test.
...
Gold data is created by numerically solving a second-order non-linear differential equation.
(see examples/MultiBody/pendulum_gold.h)
2016-01-06 18:08:49 -08:00
erwincoumans
e136c29a5a
Merge pull request #551 from erwincoumans/master
...
fixes in test/SharedMemory
2015-12-15 14:00:57 -08:00
Erwin Coumans
dabccd184d
fixes in test/SharedMemory
2015-12-15 13:45:34 -08:00
erwincoumans
c52abafb89
Merge pull request #549 from erwincoumans/master
...
minor cmake fixes for Linux related to X11/OpenGL headers
2015-12-08 14:29:28 -08:00
Erwin Coumans
46ddfa39d7
remove unused function in btRigidBody (btSetCrossMatrixMinus)
...
thanks to Stefan for reporting.
2015-12-08 07:54:19 -08:00
Erwin Coumans
52f074bcb2
Merge remote-tracking branch 'bp/master'
...
Conflicts:
examples/ExampleBrowser/CMakeLists.txt
examples/OpenGLWindow/CMakeLists.txt
2015-12-07 16:42:45 -08:00
Erwin Coumans
13f314f401
allow CMake to build on Linux without X11/OpenGL system headers (use local one)
2015-12-07 16:38:43 -08:00
erwincoumans
ab283251d3
Merge pull request #546 from erwincoumans/master
...
typo fixes in InverseDynamicsExample
2015-12-07 15:07:24 -08:00
erwincoumans
83c560262b
Merge pull request #548 from AndrewMeadows/fix-cmake-whitespace
...
fix whitespace formatting in cmake files
2015-12-07 15:06:59 -08:00
erwincoumans
4894cb3a38
Merge pull request #547 from AndrewMeadows/fix-cmake-sans-bullet3
...
fix cmake to succeed with -DBUILD_BULLET3=0
2015-12-07 15:06:32 -08:00
Andrew Meadows
c0c1691c25
fix whitespace formatting in cmake files
2015-12-07 14:08:04 -08:00
Andrew Meadows
c3460a6d48
fix whitespace formatting
2015-12-07 13:49:29 -08:00
Andrew Meadows
a860fff3ad
fix cmake to succeed with -DBUILD_BULLET3=0
2015-12-07 13:43:17 -08:00
Erwin Coumans
433a7aa9b6
fix C++11 issue
2015-12-07 11:44:43 -08:00
Erwin Coumans
acbf60ddfd
typo fixes in InverseDynamicsExample
2015-12-05 09:02:02 -08:00
erwincoumans
aaf4e1acfa
Merge pull request #491 from nicokruithof/master
...
Fixed missing include directories
2015-12-04 21:49:47 -08:00
erwincoumans
6c67426b6d
Merge pull request #544 from AndrewMeadows/premake-cleanup
...
cleanup main premake script
2015-12-04 08:45:56 -08:00
Andrew Meadows
e66be7a7ef
replaced spaced indentation with tabs
2015-12-03 22:00:52 -08:00
Andrew Meadows
b8f72ee56b
fix bad --no-extras option for InverseDynamcis
2015-12-03 20:52:28 -08:00
Andrew Meadows
1c30453ae4
adding forgotten --no-extras build option
2015-12-03 20:49:31 -08:00
Andrew Meadows
d8b7d12707
combine checks for "ios" premake option
...
The "ios" option now only makes sense when action is "xcode"
2015-12-03 20:39:29 -08:00
Andrew Meadows
f385bffffb
cleanup main premake script
...
added premake options:
--no-demos
--no-test
--no-bullet3
2015-12-03 18:58:10 -08:00