Commit Graph

3490 Commits

Author SHA1 Message Date
erwincoumans
9731d82ee8 Merge pull request #504 from erwincoumans/master
catch setting of invalid joint angles in PhysicsClientC_Api,	Fix issue related to CMD_RESET_SIMULATION, 	add SIM_PARAM_UPDATE_DELTA_TIME flag
2015-10-25 10:53:54 -07:00
Erwin Coumans
ec1947bbbd add SIM_PARAM_UPDATE_DELTA_TIME flag to fix setting the time step
in shared memory API
2015-10-24 13:50:11 -07:00
Erwin Coumans
818037c011 Fix issue related to CMD_RESET_SIMULATION 2015-10-24 13:49:25 -07:00
Erwin Coumans
f28150c368 catch setting of invalid joint angles in PhysicsClientC_Api
use the proper m_bodyUniqueIndex (todo: fix this field, move to shared command data)
2015-10-24 13:48:53 -07:00
erwincoumans
7f35aa9f43 Merge pull request #500 from erwincoumans/master
fix for Mac OSX El Captain 10.11, OpenGL Window was blue, until first…
2015-10-22 11:11:08 -07:00
Erwin Coumans
25fb92c4c9 fix for Mac OSX El Captain 10.11, OpenGL Window was blue, until first resize.
fixes Issue 498
2015-10-21 21:30:44 -07:00
erwincoumans
c737a35693 Merge pull request #497 from erwincoumans/master
Add plane shape and profile timing support in examples/Collide
2015-10-21 10:42:04 -07:00
erwin coumans
3d9218e07d Add plane shape and profile timing support in examples/Collide
Use View/Profiler in example browser, in optimized build/Release mode
and look for plCollideWorld
2015-10-20 18:30:43 -07:00
erwincoumans
6caadab87f Merge pull request #496 from takuyanakaoka/fix-slow-simulation-in-shared-memory-example
Fix slow simulation in PhysicsServerExample
2015-10-20 18:14:48 -07:00
Takuya NAKAOKA
3a11fff3ad Fix slow simulation in PhysicsServerExample
Removed maxSteps to regain simulation speed
2015-10-20 14:51:40 +09:00
erwincoumans
61a5328985 Merge pull request #495 from erwincoumans/master
minor fix + merge
2015-10-19 18:52:32 -07:00
Erwin Coumans
abcaa19bc8 make the compiler happy with Collision example 2015-10-19 18:21:45 -07:00
erwin coumans
5a21424662 update to examples/Collision and RealTimeBullet3Collision 2015-10-18 23:43:37 -07:00
erwin coumans
7ac497d6f2 WIP example for real-time collision detection features of Bullet 2015-10-18 14:01:25 -07:00
Erwin Coumans
abb7e22027 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2015-10-17 22:03:36 -07:00
erwincoumans
324369fce6 Merge pull request #494 from erwincoumans/master
add a few collision examples to test a C API with various back-ends
2015-10-17 21:45:03 -07:00
Erwin Coumans
21b7a47129 although still not implemented, IMU enum had wrong value, thanks JF 2015-10-17 20:12:50 -07:00
Erwin Coumans
e5175cde9a although still not implemented, IMU enum had wrong value, thanks JF 2015-10-17 18:52:48 -07:00
Erwin Coumans
3d3830962a add a few collision examples to test a C API with various back-ends 2015-10-17 13:44:00 -07:00
erwincoumans
467ffa0481 Merge pull request #493 from erwincoumans/master
fix include guard, thanks Aaron!
2015-10-16 11:00:34 -07:00
=
bc09125095 fix include guard, thanks Aaron!
fix uninitialized body index in PhysicsServer
2015-10-16 08:18:26 -07:00
erwincoumans
67557d7039 Merge pull request #490 from erwincoumans/master
use const in PhysicsClientC_Api, thanks to Roland
2015-10-15 08:35:10 -07:00
=
4df58c35c7 use const in PhysicsClientC_Api, thanks to Roland
fix some warnings for Clang, thanks to Aaron
2015-10-15 08:15:22 -07:00
erwincoumans
cf79928d84 Merge pull request #489 from erwincoumans/master
Implement CMD_INIT_POSE to set base position, base orientation and jo…
2015-10-13 22:51:06 -07:00
erwin coumans
a0e507280c Implement CMD_INIT_POSE to set base position, base orientation and joint position (angle).
See PhysicsClientExample for example use of CMD_INIT_POSE.
Change: CMD_INIT_POSE uses m_initPoseArgs and not m_sendDesiredStateCommandArgument
2015-10-13 22:23:28 -07:00
erwincoumans
5b558a1f94 Merge pull request #488 from erwincoumans/master
initial support for multiple robots in shared memory API
2015-10-13 16:08:30 -07:00
erwin coumans
4a29986662 initial support for multiple robots in shared memory API 2015-10-13 11:32:25 -07:00
erwincoumans
d1d279d086 Merge pull request #464 from benelot/master
Fix the Bullet Raycast sample. Closes #450.
2015-10-09 10:16:07 -07:00
erwincoumans
14eb70a06f Merge pull request #466 from rioharu/patch-1
Update btInternalEdgeUtility.cpp, closes issue #389
2015-10-09 10:09:01 -07:00
erwincoumans
a05de9204e Merge pull request #484 from juj/add_missing_stdio_h
add_missing_stdio_h
2015-10-09 10:06:21 -07:00
Jukka Jylänki
62d977f5cd Add missing <stdio.h> include in src/LinearMath/btMatrixX.h for printf() access. (missing in Emscripten/musl libc builds otherwise) 2015-10-08 18:19:10 +03:00
erwincoumans
9938db95d1 Merge pull request #480 from erwincoumans/master
allow links without collision shapes in btMultiBody URDF importer
2015-09-25 17:04:00 -07:00
=
8d26ff356d allow links without collision shapes in btMultiBody URDF importer 2015-09-25 17:00:44 -07:00
erwincoumans
99c41f3c4d Merge pull request #479 from erwincoumans/master
improvements to the shared memory physics API:
2015-09-24 23:05:04 -07:00
=
5e4badc099 make PhysicsClient an interface class, and move shared memory implementation
of physics client into PhysicsClientSharedMemory class/file.
This will allow implementation of UDP and other transport protocols to a physics server.
2015-09-24 22:50:34 -07:00
=
e05825f639 improvements to the shared memory physics API:
support picking in C API etc.
2015-09-24 22:42:22 -07:00
erwincoumans
e5e71bebc9 Merge pull request #476 from erwincoumans/master
fix warning
2015-09-17 13:50:42 -07:00
=
066ff5f2e9 fix c error 2015-09-17 13:42:02 -07:00
=
23bdd0ed36 more work on physics client c-api over shared memory 2015-09-17 09:37:44 -07:00
=
003a42478b another step closer to useable shared memory C API
(force/torque sensor needs new API)
in a nutshell, users of shared memory physics API should not
directly poke into shared memory, not fill 'SharedMemorCommand'
nor read SharedMemoryStatus directly. The C-API declares 'handles' for those,
to avoid it from happening.
2015-09-16 23:09:10 -07:00
=
4041748f55 fix warning 2015-09-14 10:45:53 -07:00
erwincoumans
cb13054f2e Merge pull request #465 from cameronwhite/conetwist-motor
Use the max motor impulse for cone twist constraints when the motor is enabled.
2015-09-10 18:08:19 -07:00
erwincoumans
9b9ec21a5f Merge pull request #475 from erwincoumans/master
fix some warnings, re-enable ground in URDF import example, fix COLLADA up axis issue in URDF collision element
2015-09-10 18:06:48 -07:00
=
3d10338ed5 fix warnings (thanks to Aaron!) 2015-09-10 17:52:41 -07:00
=
81087c3b4a Merge remote-tracking branch 'bp/master' 2015-09-10 17:48:23 -07:00
=
2257ec05ad don't compensate for COLLADA up axis in collision element for now
(todo: let user override COLLADA up axis, some URDF files are inconsistent)
2015-09-10 17:36:19 -07:00
erwincoumans
3025ad4536 Merge pull request #474 from erwincoumans/master
fixes in shared memory client/server: check for valid pointers
2015-09-09 17:30:28 -07:00
=
d72cda101c fixes in shared memory client/server: check for valid pointers 2015-09-09 15:14:47 -07:00
erwincoumans
e4b5f4730d Merge pull request #473 from takuyanakaoka/detach-shared-mem
Detach posix shared memory correctly
2015-09-09 15:13:27 -07:00
Takuya NAKAOKA
4cbd86a058 Detach posix shared memory correctly
* shmget() fails after shmctl() is called with IPC_RMID. This patch
removes shmget() in releaseSharedMemory so that a client can detach
a shared memory correctly after a server removed it.
* A server should also detach a shared memory.
2015-09-09 12:35:26 +09:00