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
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
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
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
Erwin Coumans
4a70df2dfb
fix some warnings
2016-02-29 15:37:03 -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
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
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
Andrew Meadows
c0c1691c25
fix whitespace formatting in cmake files
2015-12-07 14:08:04 -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
Erwin Coumans
b22e968cdd
re-enable inverse dynamics/computed torque, instead of PD control in InverseDynamicsExample
2015-12-02 23:16:41 -08:00
Erwin Coumans
3dfebe0c45
show inverse dynamics demo to use floating base
2015-12-02 09:33:12 -08:00
Erwin Coumans
4c88681479
joint trajectory curves use different colors for each DOF
...
use fewer notch counts in slider GUI
2015-11-26 10:45:51 -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
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
f6a8079353
sync repo
2015-11-11 12:44:26 -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
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
Erwin Coumans
7ef06d532e
remove debug test
2015-11-05 17:35:05 -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
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
Erwin Coumans
6e042b1901
re-enable wireframe in PhysicsClient
...
inintialize variables in constructor of PhysicsClient
2015-10-30 13:24:02 -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
erwin coumans
9442791cf1
Fix PhysicsServer connection issue, in cases where shared memory was not properly shut down.
2015-10-29 11:18:26 -07:00
erwincoumans
650189d50b
Allow both remote debug drawer and local debug drawer for PhysicsServer (shared memory etc)
2015-10-29 08:28:49 -07:00
Erwin Coumans
8a956318e5
fix case sensitive issue
2015-10-28 16:02:55 -07:00
Erwin Coumans
6a6c0297fe
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2015-10-28 13:44:30 -07:00
erwin coumans
dc81e31e74
upload work-in-progress Collision example using C-API.
2015-10-28 11:48:36 -07:00
erwin coumans
2d5d89d999
Allow to request the state of a rigid body (position, orientation, lin/ang velocity) through shared memory API
...
PhysicsClientC_API: b3RequestActualStateCommandInit requires a body unique Id as second argument
2015-10-27 15:46:13 -07:00
erwin coumans
9cc2b1ec12
Physics SharedMemory:
...
Add flags BOX_SHAPE_HAS_MASS and BOX_SHAPE_HAS_COLLISION_SHAPE_TYPE to CMD_CREATE_RIGID_BODY
(which maps to CMD_CREATE_BOX_COLLISION_SHAPE for backward compatibility for now)
Need to add way to receive world transform
2015-10-27 14:55:46 -07:00
erwincoumans
57f50f1778
Create a PhysicsLoopBack that includes both PhysicsClient and PhysicsServer over shared memory.
...
Add a test for PhysicsLoopBack.
2015-10-26 17:56:21 -07:00
erwincoumans
e779bb247b
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2015-10-26 16:16:08 -07:00
Erwin Coumans
163b797d8b
Update to ZLib license for GWEN files.
...
Note that our copy of GWEN is modified and GWEN is not under active development anymore.
We plan to integrate and modify GWEN further into the Bullet Example Browser or rewrite the GUI and drop GWEN
fix cube.obj and cube.mtl to enable textures
2015-10-25 11:30:34 -07:00