Commit Graph

3570 Commits

Author SHA1 Message Date
erwincoumans
0e247264ff use BT_ID_MAX as std::max is not portable (older Visual Studio versions break) 2015-11-24 17:34:43 -08:00
erwincoumans
ff74884f9f more appveyor fun 2015-11-24 17:15:35 -08:00
erwincoumans
d8ee7e4dbc attempt to fix appveyor.yml (both build project for premake4 and build_script for cmake, does that work? 2015-11-24 17:13:58 -08:00
erwincoumans
1826f11fbc add pthread dependency for gtest-based tests for non-Windows platforms 2015-11-24 16:54:04 -08:00
erwincoumans
4c3d32bf48 tab->space 2015-11-24 16:15:23 -08:00
erwincoumans
e387baf213 add collision and inverse dynamics unit tests to cmake, .travis.yml and appveyor.yml
(more unit tests will follow, once this setup works)
2015-11-24 16:13:21 -08:00
Erwin Coumans
4205e976f6 another fix for dynamic libs of BulletInverseDynamicsUtils 2015-11-24 12:20:59 -08:00
Erwin Coumans
1f4148d322 fix shared lib build 2015-11-24 12:05:50 -08:00
Erwin Coumans
5f97a56f93 portability issues fixed 2015-11-24 11:40:33 -08:00
Erwin Coumans
460998c472 fix example issues 2015-11-24 11:34:17 -08:00
Erwin Coumans
03cc4f0554 add InverseDynamics example for example browser
add CMake support for BulletInverseDynamics and BulletInverseDynamicsUtils
2015-11-24 11:12:02 -08:00
Erwin Coumans
b4701613c8 consistent *API.* in examples/SharedMemory 2015-11-23 08:00:42 -08:00
erwincoumans
bd4c4eb3c5 rename API->Api 2015-11-22 21:32:20 -08:00
erwincoumans
5589fb03af Merge branch 'master' of https://github.com/erwincoumans/bullet3 2015-11-22 20:50:41 -08:00
erwincoumans
03bf78ef49 add physics server loopback (both client and server in the same process, using shared memory)
add physics server direct (client and server in the same process, directly processing commands without shared memory transport mechanism)
2015-11-22 20:50:32 -08:00
erwincoumans
7651d89b98 fix InverseDynamics/test_invdyn_kinematics.cpp for single/double precision builds
use dill_creator for tree structure (not coil_creator)
2015-11-19 14:33:14 -08:00
erwincoumans
75d657ec85 change 4 spaces to tab for src/BulletInverseDynamics
fix unit test in single precision compilation (use delta t of 0.01 if BT_ID_USE_DOUBLE_PRECISION is not defined)
2015-11-19 12:08:04 -08:00
Erwin Coumans
069936218a [InverseDynamics] Add custom namespaces per configuration
BulletInverseDynamics can be configured to compile using Eigen
instead of Bullet's LinearMath.

Adds a preprocessor defined specific namespace for each
configuration to produce linker errors if incompatible
libraries are linked (eg, builtin core library and
utilities for bullet types).
2015-11-18 08:01:32 -08:00
erwincoumans
de763a26e7 fix portability of BulletInverseDynamics (usual issues: std::pow, M_PI, std::vector->idArray<T>::type, snprintf, pass vec3 and mat33 by const reference, not by value) 2015-11-17 21:51:02 -08:00
Erwin Coumans
aa4d119f98 add real-time safe Inverse Dynamics library+test+utils
an example for the example browser will follow.
thanks to Thomas Buschmann
2015-11-17 08:27:38 -08:00
Erwin Coumans
7d9365319c add InverseDynamics test/lib to premake 2015-11-17 08:26:27 -08:00
erwincoumans
ad29d27700 add initial inverse dynamics example skeleton, with urdf and programmatically created btMultiBody.
disabled in Bullet/examples/ExampleBrowser/ExampleEntries.cpp
2015-11-13 10:37:43 -08:00
Erwin Coumans
7d6c2b77f7 Merge remote-tracking branch 'bp/master' 2015-11-11 12:44:36 -08:00
Erwin Coumans
f6a8079353 sync repo 2015-11-11 12:44:26 -08:00
erwincoumans
dc74129739 Merge pull request #522 from takuyanakaoka/fix-memory-leak-in-physics-client-shared-memory
Fix memory leak in PhysicsClientSharedMemory. Let's just commit it, worry about strDup location when we need it again.
2015-11-09 17:56:04 -08:00
erwincoumans
c838d4996c Merge pull request #519 from d3x0r/MinorCodeFixes
Minor code fixes
2015-11-08 19:44:55 -08:00
erwincoumans
425ac25b26 Merge pull request #521 from erwincoumans/master
clang gets confused/crashes when using the same namespace,
2015-11-08 19:38:47 -08:00
Erwin Coumans
91204e8ed2 avoid naming conflicts Bullet3/Bullet3 2015-11-08 19:31:03 -08:00
Takuya Nakaoka
b961cce360 Fix memory leak in PhysicsClientSharedMemory 2015-11-09 12:02:47 +09:00
Erwin Coumans
72b68409da clang gets confused/crashes when using the same namespace,
need to look if it is a real error or clang issue
should fix Issue 520
https://github.com/bulletphysics/bullet3/issues/520
2015-11-08 13:49:37 -08:00
d3x0r
08eb947bac Format fix. 2015-11-08 10:24:16 -08:00
d3x0r
99acea9594 btVoronoiSimplexSolver::inSimplex can return when first 'found=true' is set instead of going through all points, since found is never set to false in any other condition.
PersistentManifold replaceContactPoint set the same values for m_appliedImpluse; remove redunant set.
2015-11-08 10:22:02 -08:00
erwincoumans
6df6df3b26 Merge pull request #517 from erwincoumans/master
b3CreateBoxCommandSetColorRGBA: allow to specify color when creating …
2015-11-06 17:41:40 -08:00
erwincoumans
3b9b803683 b3CreateBoxCommandSetColorRGBA: allow to specify color when creating bodies through shared memory API
Parse and use colors from URDF file (single rgba color per link, not per visual)
Rename btMultiBody 'stepVelocities' to 'computeAccelerationsArticulatedBodyAlgorithmMultiDof'
btHashMap, add const Value* operator[]
remove a few more obsolete btMultiBody methods (on the non-multi-dof path)
fix spelling typo in fillConstraintJacobianMultiDof (fil -> fill)
Add mention to Jakub Stepien for his work on btMultiBody
2015-11-06 17:11:15 -08:00
erwincoumans
4a4d861721 Merge pull request #516 from erwincoumans/master
Only support btMultiBody multi-dof version
2015-11-05 21:32:03 -08:00
erwincoumans
8160354d02 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2015-11-05 21:18:10 -08:00
erwincoumans
2920d7e61f Only support btMultiBody multi-dof version (remove non-multi-dof path)
Use ATTRIBUTE_ALIGNED16 for btMultiBody
Always disable parentCollision for btMultiBody::setupFixed
2015-11-05 21:17:46 -08:00
erwincoumans
d2c49a7a2c Merge pull request #515 from erwincoumans/master
remove debug test
2015-11-05 17:35:46 -08:00
Erwin Coumans
7ef06d532e remove debug test 2015-11-05 17:35:05 -08:00
erwincoumans
c902cd0180 Update btTransform.h
fix comment
2015-11-05 14:08:22 -08:00
erwincoumans
f5c6561365 Merge pull request #514 from erwincoumans/master
Add b3GetStatusActualState() to C_API. Change pick-and-move C_API to use handlers
2015-11-04 17:34:45 -08:00
Erwin Coumans
2317307a22 Add b3GetStatusActualState() to C_API.
Change pick-and-move C_API to use handlers
2015-11-04 16:08:28 -08:00
erwincoumans
e39afd06b9 Merge pull request #513 from erwincoumans/master
workaround for wrong gjk/epa contact normal, add 'replay' command log feature: no mouse interaction during replay etc.
2015-11-01 13:00:19 -08:00
erwincoumans
d6464ce40d add 'replay' command log feature: no mouse interaction during replay, and use a fixed number of sim steps in stepSimulation.
workaround for reversed separating normal in gjk/epa when using very small shapes, detect case and revert normal.
use smaller world size (10 units versus 100) for higher resolution shadow map
use a hard-coded rolling friction of 0.2 for objects in physics server (will make this configurable)
fix loading of command log files, when platform features are different (64bit/32bit)
2015-11-01 12:48:15 -08:00
erwincoumans
8604d05bc9 Merge pull request #511 from erwincoumans/master
re-enable wireframe in PhysicsClient
2015-10-30 13:24:56 -07:00
Erwin Coumans
6e042b1901 re-enable wireframe in PhysicsClient
inintialize variables in constructor of PhysicsClient
2015-10-30 13:24:02 -07:00
erwincoumans
5cea0d8660 Merge pull request #509 from erwincoumans/master
fix case sensitive issue
2015-10-30 11:00:27 -07:00
erwin coumans
c68c215ead add rudimentary command logging for shared memory physics server 2015-10-30 10:30:48 -07:00
erwin coumans
819c4f1951 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2015-10-29 11:26:01 -07:00
erwin coumans
f7bbbd88e6 preparation for CommandLogging for PhysicsServer. 2015-10-29 11:25:50 -07:00