Commit Graph
100 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
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
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
erwincoumans 99c41f3c4d Merge pull request #479 from erwincoumans/master
improvements to the shared memory physics API:
2015-09-24 23:05:04 -07:00
erwincoumans e5e71bebc9 Merge pull request #476 from erwincoumans/master
fix warning
2015-09-17 13:50:42 -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
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
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
erwincoumans c99f4057fe Merge pull request #472 from erwincoumans/master
run the PhysicsServerExample 'stepSimulation' smoother, fix a few warnings
2015-09-08 14:32:08 -07:00
erwincoumans 9e7f8e614b Merge pull request #470 from erwincoumans/master
add picking to shared memory physics server
2015-09-05 13:12:05 -07:00
erwin coumans 2909b5fae3 add picking to shared memory physics server 2015-09-04 11:28:08 -07:00
erwincoumans b5edc75161 Merge pull request #469 from erwincoumans/master
Debug lines for Shared Memory Physics Server, preparation for IMU sensor
2015-09-04 10:37:04 -07:00
erwin coumans 40d07139a9 fix build 2015-09-04 10:28:32 -07:00
erwin coumans f75df90d82 Allow batches of debug lines. The PhysicsClientExample rendering is still slow (one line at a time, instead of batches)
Prepare for IMU sensor in Shared Memory Server
2015-09-03 14:18:22 -07:00
erwincoumans 3a262d0b7c Merge pull request #467 from erwincoumans/master
fix some warnings
2015-08-27 18:42:32 -07:00
Erwin Coumans (Google) 98c93a7330 fix inline, __inline for _WIN32 2015-08-27 18:13:54 -07:00
Erwin Coumans (Google) 3d130d9d66 reset simulation in test/SharedMemory/test for proper cleanup,
and it can restart without shutting down/restarting physics server
w
2015-08-27 17:51:31 -07:00
Cameron White 86880a2795 Only use the max motor impulse if it is positive (it defaults to -1). 2015-08-27 16:03:02 -04:00
Erwin Coumans 2e7949bb3e fix some warnings 2015-08-26 15:26:53 -07:00
erwincoumans d07e1082bc Merge pull request #462 from erwincoumans/master
add a robot joint sensor example, reading joint reaction forces/torqu…
2015-08-26 14:25:13 -07:00
Erwin Coumans 77f78358d2 Merge remote-tracking branch 'bp/master' 2015-08-26 14:24:35 -07:00
rioharu 086902ea51 Update btInternalEdgeUtility.cpp
Fixes issue #389 by removing code which causes a segfault in MinGW's GCC by removing code which did not affect subsequent operations.
2015-08-26 15:10:30 -06:00
Benjamin Ellenberger e39bf6c4cd Fix the Bullet Raycast sample. Closes #450. 2015-08-25 15:56:46 +02:00
erwin coumans faab737738 add a robot joint sensor example, reading joint reaction forces/torques using the shared memory API 2015-08-24 15:26:29 -07:00
erwincoumans 10de7db29a Merge pull request #461 from erwincoumans/master
simple multithreading test (empty skeleton)
2015-08-24 10:25:02 -07:00
erwin coumans 46f161ec02 fix WIN32 build for b3Win32ThreadSupport 2015-08-24 10:12:13 -07:00
Erwin Coumans 9ec08592b6 fix a copy/paste typo, thanks Roland! 2015-08-21 18:18:12 -07:00
Erwin Coumans 74fda9ff85 simple multi threading test 2015-08-21 15:18:18 -07:00
Erwin Coumans 362887987c add example/MultiThreading functions 2015-08-21 11:09:53 -07:00
erwincoumans 83c4d25819 Merge pull request #460 from erwincoumans/master
initial implementation to send debug lines from physics server to client
2015-08-20 19:47:23 -07:00
erwincoumans 081a40d254 initial implementation to send debug lines from physics server to client,
need to add streaming because memory is too small to store all lines
initial test of PD control in physics server, need to switch to PD control for motor constraint, instead of using external forces.
2015-08-19 22:51:16 -07:00
Erwin Coumans 9c71a0bb7a Google Code -> github in btCollisionWorld.h documentation 2015-08-12 21:16:23 -07:00
erwincoumans 6c2419323e Merge pull request #458 from erwincoumans/master
add Bullet logos in the docs/logo folder
2015-08-12 20:15:24 -07:00
Erwin Coumans 97e9052aaa add Bullet logos in the docs/logo folder 2015-08-12 20:14:30 -07:00
erwincoumans a4b050e31e Update README.md 2015-08-11 09:17:42 -07:00
erwincoumans 7ff74f40df Update README.md 2015-08-11 09:15:06 -07:00
erwincoumans dd1d096e43 Merge pull request #456 from erwincoumans/master
update tutorial for SIGGRAPH course
2015-08-11 09:02:03 -07:00
Erwin Coumans 2721d67634 remote unused TEST macro, conflicts with other libraries 2015-08-11 08:35:52 -07:00
Erwin Coumans d08a7af7e2 fix compile issue in double precision build 2015-08-10 14:49:52 -07:00
Erwin Coumans f89d587a02 update tutorial for SIGGRAPH course
allow multiple graphing windows at the same time
2015-08-10 14:30:00 -07:00
erwincoumans 72e22f480b Merge pull request #455 from erwincoumans/master
Improved simple TimeSeriesCanvas
2015-08-07 16:44:18 -07:00
Erwin Coumans edaa92c286 fix retina API 2015-08-07 16:21:33 -07:00
Erwin Coumans 3c0e67298a add command-line option --disable_retina for Mac
improve TimeSeries and Dof6ConstaintTutorial
2015-08-07 16:05:03 -07:00
erwincoumans de4dcdbb18 more tutorial work
add fixed_timestep command-line parameter, 0 means disabled (variable timestep)
2015-08-07 14:18:57 -07:00
erwincoumans 89c2a729ce Improved simple TimeSeriesCanvas
Fixes in RobotControlExample
Disable gravity by default in PhysicsServer
2015-08-07 13:17:33 -07:00
erwincoumans 8e62a5ed10 Merge pull request #452 from erwincoumans/master
add command-line argument for example browser and shared memory app, …
2015-08-07 00:21:15 -07:00
Erwin Coumans 03d991c92b add command-line argument for example browser and shared memory app, --shared_memory_key=<int>
fix some shared memory issues, client uses attach/detach, server uses create/remove shared memory
implement CMD_RESET_SIMULATION
2015-08-07 00:13:26 -07:00
erwincoumans d93b00fa39 Merge pull request #451 from erwincoumans/master
shared memory fixes
2015-08-06 12:35:40 -07:00
Erwin Coumans dcab0e2b1f use multibody by default when using FILE/Open URDF (instead of maximal coordinate rigid body+typed constraints) 2015-08-06 00:35:03 -07:00
erwincoumans 12d8c676a4 Merge pull request #449 from erwincoumans/master
start with Tutorial file for rigid body course, improve graphics, enable texturing, fix shaders
2015-08-05 22:16:45 -07:00
erwin coumans 6d8ad72d68 add Tutorial.cpp files
load textured sphere8.obj by default as a test
tiny_obj_loader don't crash when mtl is not found
fix camera perspectives for some examples
2015-08-05 19:22:48 -07:00
erwin coumans a5669d2ffd add a textured sphere8.obj test with obj loader
fix shaders, so that shadowed and non-shadowed are matching
fix registerGraphicsUnitSphereShape API (level of detail), support textured sphere too
add support for textured cube
add start for a Tutorial.cpp
2015-08-05 19:03:27 -07:00
erwincoumans 5853d071fb Merge pull request #445 from erwincoumans/master
improve usability of ExampleBrowser
2015-08-05 10:09:42 -07:00
Erwin Coumans 250068d5eb re-enable enter key in example browser 2015-08-04 22:03:53 -07:00
erwincoumans b316f30040 improve usability of ExampleBrowser
store command-line arguments in bulletDemo.txt
save/load of configuration, save demo name instead of index
add setBackgroundColor as example (background_color_red) and
mouse move/wheel speed config (mouse_wheel_multiplier and mouse_move_multiplier)
(saved after changing the demo)
default btIDebugDraw colors can be changed
b3CommandLineArgs::GetCmdLineArgument returns bool, and b3CommandLineArgs::addArgs added
fix copy/paste
2015-08-04 18:24:30 -07:00
Cameron White 29b251e81b Use the max motor impulse if the motor is enabled. 2015-08-04 10:54:34 -04:00
erwincoumans 5e956154ce Merge pull request #444 from AndrewMeadows/btCompoundShape-with-protected-data-memebers
Make btCompoundShape data members protected instead of private
2015-08-03 17:00:23 -07:00
Andrew Meadows ac7dc87a4d btCompoundShape data members protected not private 2015-08-03 16:26:23 -07:00
erwincoumans 9d7d5caa8b Merge pull request #404 from donggas90/master
Improve Compound Shape Construction.
2015-08-03 08:49:30 -07:00
erwincoumans 88961b9e6f Merge pull request #443 from erwincoumans/master
further work on shared memory API
2015-08-02 19:36:29 -07:00
erwincoumans 49a89ab0e7 fix SharedMemory/test.c compile errors 2015-08-02 19:10:42 -07:00
erwincoumans 29e0488fec Merge pull request #438 from erwincoumans/master
small progress towards shared memory C-api and test.c.
2015-07-31 10:07:24 -07:00
erwincoumans 19c5be5646 small progress towards shared memory C-api and test.c. 2015-07-30 23:22:44 -07:00
erwincoumans 63150432e0 Merge pull request #436 from erwincoumans/master
minor refactoring,update stb_truetype, disable gimpact by default in btWorldImporter
2015-07-27 13:41:26 -07:00
Erwin Coumans 26531f3fbc fix some warnings, disable gimpact by default in world importer,
use DIRECTLY_UPDATE_VELOCITY_DURING_SOLVER_ITERATIONS by default for now,
until we find the issue with some failing test cases in btMultiBody
fix a crashing issue in MyMultiBodyCreator.cpp (uninitialized variable)
disable excessive debug printf in URDF2Bullet
2015-07-27 13:28:47 -07:00
Erwin Coumans ad03dba2fa update stb_truetype.h to latest from
https://raw.githubusercontent.com/nothings/stb/master/stb_truetype.h
2015-07-23 23:17:58 -07:00
Erwin Coumans e6859bde13 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2015-07-23 18:37:14 -07:00
Erwin Coumans 346bc00ac7 add kuka_lwr urdf file for testing, the r2d2 gets boring 2015-07-23 18:36:46 -07:00
erwincoumans f866142ebe Merge pull request #435 from erwincoumans/master
fix various warnings, more work on shared memory API
2015-07-23 11:11:21 -07:00
erwin coumans 0fe6d343bc move m_updateFlags to command, and make it 64bit 2015-07-23 10:51:09 -07:00
Erwin Coumans 812c67e221 fix various warnings, more work on shared memory API 2015-07-22 18:06:05 -07:00