Commit Graph

3355 Commits

Author SHA1 Message Date
erwincoumans
0a086c8492 Merge pull request #410 from erwincoumans/master
support joint force/torque feedback for btMultiBody internal joints (mobilizers)
2015-06-20 21:43:32 -07:00
erwin coumans
6e9eb13235 implement joint reaction forces for mobilizer motor/limit, by passing the constraint forces as 'external forces' and going through the Articulated Body Algorithm
minor refactor for forwardKinematics, store the cached world transform in each btMultiBody::link
2015-06-19 15:51:24 -07:00
erwincoumans
89edc40d61 First step in btMultiBody joint force/torque feedback. There is still some work to be done for 'mobilizer limit/motor'.
See examples/MultiBody/TestJointTorqueSetup and examples/Constraints/TestHingeTorque for joint feedback.
2015-06-19 09:18:27 -07:00
=
41aa58560b add TestHingeTorque example using btRigidBody and btHingeConstraint, setup is similar to TestJointTorque using btMultiBody and a revolute joint. 2015-06-15 23:12:29 -07:00
erwincoumans
1fa4819afc Merge pull request #408 from erwincoumans/master
more work on shared memory example (still preliminary), and fix of infinite recursion in 'getMargin'
2015-06-11 12:16:30 -07:00
Erwin Coumans
02fbcd2a05 reorder initializer 2015-06-11 11:48:43 -07:00
erwin coumans
2d79dda032 prepare for joint/torque feedback. First for btRigidBody, then btMultiBody. 2015-06-09 18:13:05 -07:00
erwin coumans
2c3db1c631 Add a "add button" option in the CommonParameterInterface and implement it for Gwen.
Add some buttons for shared memory requests in the PhysicsClient
2015-06-09 16:51:55 -07:00
Erwin Coumans
92a612a146 fix in btSoftBodyInternals.h to avoid infinite recursion 'getMargin'
but call base class instead
2015-06-05 16:43:17 -07:00
erwincoumans
2c6cf94bdf Merge pull request #397 from erwincoumans/master
simple lua script test, fix relative path issue in urdf importer
2015-06-05 14:47:51 -07:00
Erwin Coumans
1a4ce475f7 fix an issue with btMultiBodyConstraint, automatically 'finalizeMultiDof' to pre-allocate jacobian data
enable joint limit for slider/prismatic joint in btMultiBody version of URDF loader
2015-06-05 11:46:53 -07:00
erwin coumans
a94ac6300a add Windows version of shared memory, very basic implementation (only allows one single allocation) 2015-06-04 15:37:18 -07:00
Erwin Coumans
f74e3782aa enable prismatic joint motor in URDF demo, by default. Thanks to Takuya!
prepare for prismatic joint limit for btMultiBody in the URDF demo.
There is an issue with it, working on fixing this.
2015-06-03 18:02:15 -07:00
Erwin Coumans
85acb2a009 fix an OpenGL performance issue running on some Linux machines
(apparently searching for a framebuffer with more samples makes NVIDIA Quadro slow)
2015-06-03 17:18:56 -07:00
Erwin Coumans (Google)
190382e9ec enable posix shared memory on non-Win32 platforms (Linux and Mac) for example browser 2015-05-30 20:32:29 -07:00
=
c28afd2242 add missing files 2015-05-29 15:38:32 -07:00
=
fcb5dac567 fix cmake build and travis/CI 2015-05-29 15:10:52 -07:00
=
bc806ab68c exit gracefully and call destructor of the current active example
fflush after printf
implemented stepForward and Shutdown for the SharedMemory client/server
2015-05-29 15:04:05 -07:00
=
ff15d36edf Merge remote-tracking branch 'bp/master' 2015-05-29 11:38:57 -07:00
=
6fedad9db7 fix SharedMemory premake file 2015-05-29 11:37:21 -07:00
=
7abefca6f1 small improvement to the shared memory physics server/client 2015-05-28 17:49:55 -07:00
=
82576d0bee added preliminary shared memory physics client/server
fix a bug in CommonMultiBodyBase: don't use data if it hasn't been allocated
2015-05-28 16:05:24 -07:00
erwincoumans
8005b7167e Update README.md
trigger a new build
2015-05-27 16:12:45 -07:00
Erwin Coumans
becd7cacd8 fix relative path of visual/collision mesh, it might be different from the urdf relative path
(.obj loader terminates if it cannot find the material file)
2015-05-27 15:43:33 -07:00
erwincoumans
8c0727bf95 Merge pull request #392 from GaborPuhr/master
Auto limitation of spring stiffness and damping in btGeneric6DofSprin…
2015-05-27 13:06:41 -07:00
Gabor Puhr
98e1334a64 Auto limitation of spring stiffness and damping in btGeneric6DofSpring2Constraint is now optional.
Fix: spring stiffness limitation used the mass incorrectly in btGeneric6DofSpring2Constraint.
2015-05-22 12:58:28 +02:00
erwin
c9a630e7c6 rename loadUrdf -> loadMultiBodyFromUrdf in lua script
remove unused m_usrd2mblink
2015-05-14 09:16:13 -07:00
erwin
e196ed1edb load a urdf in the lua script test 2015-05-13 21:54:00 -07:00
Erwin Coumans
91252db59a fix Lua example 2015-05-13 16:27:58 -07:00
Erwin Coumans
dbae21ae5a prepare for some basic lua scripting example 2015-05-13 09:17:59 -07:00
erwincoumans
a34d04d211 Merge pull request #382 from erwincoumans/master
Update .travis.yml, add iOS support
2015-05-13 08:31:17 -07:00
Erwin Coumans
074b869a9f enable premake4 option --ios and Test_LinearMath
usage: ./premake4_osx --ios xcode4
open xcode4ios/0_Bullet3Solution.xcworkspace
2015-05-12 09:17:27 -07:00
erwincoumans
21430f7d44 Update .travis.yml
add '- sudo make install' and hope it works on Travis' OSX machines too.
2015-05-08 14:36:09 -07:00
erwincoumans
30ebb32228 Merge pull request #381 from erwincoumans/master
test again, for mac travis support
2015-05-07 15:55:39 -07:00
erwincoumans
c4f6303a0a Update .travis.yml 2015-05-07 15:13:20 -07:00
erwincoumans
0e91358e66 attempt to get osx and linux support for travis: disable linux specific things 2015-05-07 15:12:23 -07:00
=
cedd0432bf don't compile SimpleOpenGL3App if NO_OPENGL3 is defined 2015-05-07 14:11:17 -07:00
erwincoumans
4e588d2887 Merge pull request #378 from erwincoumans/master
try if we can get OSX support with travis
2015-05-07 14:09:54 -07:00
=
a9b10aea9f try if we can get OSX support with travis 2015-05-07 14:06:11 -07:00
erwincoumans
525a8ad390 Merge pull request #376 from erwincoumans/master
fix Yosemite build
2015-05-07 13:32:03 -07:00
Erwin Coumans
82f81e16f3 fix Yosemite build 2015-05-07 11:44:16 -07:00
erwincoumans
2a50dae011 Merge pull request #375 from erwincoumans/master
don't use glSwapAPPLE, it fails on some OSX versions
2015-05-06 18:44:05 -07:00
Erwin Coumans
5c84d6f6de don't use glSwapAPPLE, it fails on some OSX versions
thanks Steven for the report
2015-05-06 18:42:47 -07:00
erwincoumans
2199a9fa71 Merge pull request #374 from erwincoumans/master
add simple 3d debug text for OpenGL2 in example browser
2015-05-06 17:14:50 -07:00
erwin coumans
5b34cda617 add simple 3d debug text for OpenGL2 in example browser 2015-05-06 16:11:03 -07:00
erwincoumans
619cfa2f15 Merge pull request #373 from erwincoumans/master
disable building examples on old Mac OSX version (no OpenGL3) and fix for https://github.com/bulletphysics/bullet3/issues/372
2015-05-06 12:36:12 -07:00
erwin coumans
5a0b744e73 fixed premake4 issue causing the build to fail on non-Mac platforms 2015-05-06 12:05:25 -07:00
Erwin Coumans
0da584a42d allow to compile and run the ExampleBrowser on older Mac OSX versions (without OpenGL3)
using the 'NO_OPENGL3' preprocessor definition
both premake/cmake has support for this now
needs some testing
2015-05-06 10:35:14 -07:00
Erwin Coumans
c2006f31e4 don't build any demos on older Mac OS versions <10.9
use btCompoundCompoundCollisionShape to determine maximum collision algorithm size
2015-05-06 08:27:01 -07:00
=
7eec0dc57d add enet for some client/server tests 2015-05-05 12:51:38 -07:00