erwincoumans
9708392322
work-in-progress
...
add UDP network connection for physics client <-> server.
also set spinning friction in rolling friction demo (otherwise objects may keep on spinning forever)
2016-11-04 13:15:10 -07:00
erwin coumans
f97cb7002d
first version of 'getVisualShapeData' to get visual shape information to allow external renderer with pybullet and shared memory robotics API
...
b3InitRequestVisualShapeInformation/b3GetVisualShapeInformation in shared memory API
2016-10-18 22:05:28 -07:00
erwin coumans
29f3afe2a4
don't use GL_LINEAR_MIPMAP_LINEAR for shadow maps
...
optimize gpu upload (use glBufferSubData instead of glMapBuffer
Avoid checking char array against zero.
2016-10-14 15:06:09 -07:00
Erwin Coumans
e47c74ce0b
prevent crash when using --opengl2 option in ExampleBrowser.
2016-08-29 11:48:31 -07:00
YunfeiBai
6751648bce
add some micro-sleep to prevent 100% CPU/memory bus hogging, preventing the graphics thread from making progress.
...
debug draw color black for contact normal
move debug draw option for constraint frames into 'k' key.
2016-08-19 13:58:53 -07:00
erwin coumans
62d5b7c5c0
add single step simulation, using 'o' key. use 'i' key to suspend simulation first
...
default background color a bit darker, to show debug lines
tweaked contact point rendering a bit
2016-08-19 10:30:02 -07:00
erwin coumans
a68c9ca845
avoid MT crash in VR/physics server due to printf from separate thread.
...
add fps display in VR
use 1./240. internal substep for real-time physics sim in VR/physics server for more accurate robotics sim.
2016-08-18 21:43:43 -07:00
Erwin Coumans
463f3e59c8
minor tweak in F1/screenshot handling. Note you can use --png_skip_frames=x command-line argument
2016-08-17 10:18:33 -07:00
erwin coumans
3bdcf23a05
Add sleep to avoid 100% busy CPU loop in PhysicsServerExample
...
Added btClock::usleep
Fix broken TinyRenderer example code.
2016-08-13 12:21:18 -07:00
Erwin Coumans
4bb488f65e
reset canvas location
2016-08-11 15:02:00 -07:00
Erwin Coumans
3c30e2f821
add segmentation mask rendering to TinyRenderer and shared memory API
...
similar to the zbuffer, but storing the object index (int) instead of float depth
2016-08-11 14:55:30 -07:00
Erwin Coumans
b880ddf76b
add pybullet render API with yaw/pitch/roll option
...
add testrender.py file
allow option to enable OpenGL hardware renderer in multithreaded sim
b3RequestCameraImageSelectRenderer(commandHandle,ER_BULLET_HARDWARE_OPENGL);
2016-08-08 14:23:44 -07:00
Erwin Coumans (Google)
98c6181ba8
fix screen width/height issue on Intel/Linux
...
add command-line option to set png_skip_frames when taking screenshot series
2016-07-26 15:36:21 -07:00
Erwin Coumans
6b0ceace7f
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2016-07-25 11:49:56 -07:00
Erwin Coumans
a6216f4f24
add robotics learning grasp contact example
...
add wsg50 gripper with modified r2d2 gripper tip
expose a fudge factor to scale inertia, to make grasping more stable
(until we have better grasping contact model/implementation)
2016-07-25 11:48:44 -07:00
erwin coumans
75e86051c2
Add inverse kinematics example with implementations by Sam Buss.
...
Uses Kuka IIWA model description and 4 methods:
Selectively Damped Least Squares,Damped Least Squares,
Jacobi Transpose, Jacobi Pseudo Inverse
Tweak some PD values in Inverse Dynamics example and Robot example.
2016-07-24 22:22:42 -07:00
Erwin Coumans
c54a61b97a
More example code is memory-leak free now, in particular PhysicsServerExample.
...
/PhysicsServerCommandProcessor
also fixed some memory issue in InverseDynamicsExample (the base class is supposed to delete collision shape memory)
2016-07-16 21:29:31 -07:00
erwin coumans
f9762d63ab
Removed many memoryleaks in Example Browser, reducing some technical debt.
...
When running the Example Browser with Basic Example, 'visual leak detector' show no leak.
Many other individual examples still leak, so it is work-in-progress.
Disabled the profiler window (too many leaks)
2016-07-16 00:55:56 -07:00
Erwin Coumans
34187fba1c
fix camera update issue in previous commit
...
fix Mac OSX build issue
2016-07-14 09:49:49 -07:00
Erwin Coumans
10cc6f14cb
add option to use hardware OpenGL renderer for synthetic camera
2016-07-12 18:16:13 -07:00
hujiajie
8c573177eb
[Working In Progress] Suppress compiler warnings.
...
Suppress several warnings about unused variables.
2016-07-10 23:18:03 +08:00
erwin coumans
6a9c54c4ef
Remove unused ROS urdf (was replaced by Bullet UrdfParser.
...
Small refactoring for ExampleBrowser: move examples cpp files in the app/executable
Move ExtendedTutorials in its own app/executable as a test.
2016-05-12 23:03:12 -07:00
erwin coumans
8360e2e66d
windows fixes
2016-05-04 00:16:53 -07:00
Erwin Coumans
0d3440b388
fixes in Mac resizing example browser (if window size exceeds capability)
2016-05-03 23:46:29 -07:00
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
erwin coumans
c68c215ead
add rudimentary command logging for shared memory physics server
2015-10-30 10:30:48 -07:00
erwin coumans
f7bbbd88e6
preparation for CommandLogging for PhysicsServer.
2015-10-29 11:25:50 -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
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
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
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
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
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
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
a6fa717dac
add very simple (rudimentary) time series graphing example
...
tweak camera near plane distance, less sensitive mouse wheel
2015-07-15 09:07:47 -07:00
=
de9329ce0a
Add --demo-name=NAME option to start specific demo. (public github commit)
...
For example,
$ App_ExampleBrowser_gmake_x64_release --demo-name="Physics Server"
this command starts Physics Server demo regardless of bulletDemo.txt.
2015-07-12 14:51:08 -07:00
erwincoumans
e7bafbc71c
make Bullet URDF parser more similar to the ROS URDF parser. There is still a difference in ordering of links,
...
due to the use of different hash-map implementations, with a difference in iterator order
(btHashMap versus std::hashmap)
2015-06-29 21:30:44 -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
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
7a0288bf56
fix issue with btDbvt::collideOCL, related to memmove (needs further testing)
...
only enable OpenCL demo if flag --enable_experimental_opencl is passed to ExampleBrowser
2015-05-02 22:33:33 -07:00
erwincoumans
1215d4b01c
fix build issue
2015-05-02 11:42:43 -07:00
erwincoumans
551709a74b
more example browser tweaks, mostly related to (debug) rendering
2015-05-02 11:40:06 -07:00
erwincoumans
01d14f538a
fix some out-of-bounds error in the OpenCL rigid body pipeline
...
re-enable an OpenCL/gpu rigid body example (box-box stack)
2015-05-01 21:34:27 -07:00
erwincoumans
d50242fc27
add starting point for btGeneric6DofSpring2ConstraintData import, not all parameters are deserialized though
...
restore activation state after picking
add .bullet file import (only tested/available on Windows)
2015-05-01 16:27:09 -07:00
erwincoumans
218e9f9bf9
enable URDF loading throught the 'File/Open' menu
...
set a default camera targets for each demo. note that it is only reset when switching to a different demo, so you can restart at your chosen location.
no OpenCL pairbench drawing in OpenGL2 (there is no VBO available etc)
2015-05-01 11:42:14 -07:00
Erwin Coumans
9d3f8803b8
add Stan Melax' ImplicitCloth demo
2015-04-30 13:36:39 -07:00
erwin coumans
40375983d6
rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming
2015-04-29 13:33:26 -07:00