684a9f6a99
move stb_image/stb_image_write.cpp into a cpp file instead of random files with the magic 'STB_IMAGE_WRITE_IMPLEMENTATION' define move setup.py back to eglRenderer extension, use pkgutil.get_loader('eglRenderer').get_filename() disable dlmopen by default, unless B3_USE_DLMOPEN is defined.
erwincoumans
2018-09-10 23:18:34 -07:00
6992195ba8
add pybullet example for eglRendererPlugin, will use EGL in a plugin on Linux, Win32OpenGLWindow in a plugin on Windows
bla
2018-09-09 23:03:07 -07:00
8f711462e0
fix setup.py to work better on Windows and Linux (with default eglPlugin static built-in, just use pybullet.loadPlugin("eglRendererPlugin") before loading/creating any objects. use end/startRendering (swap buffers) before the rendering in the eglPlugin
bla
2018-09-09 22:58:08 -07:00
9698c3d600
PyBullet setup.py: only enable BT_USE_EGL on Linux, but allow to run the eglPlugin on Windows and Mac as well (using their default opengl window). postpone the 'loadPlugin' for static eglPlugin, so that the init and exit happen in the same thread. When you don't call unloadPlugin, the program may crash when exiting in SHARED_MEMORY_SERVER mode.
erwincoumans
2018-09-09 21:08:47 -07:00
7369005402
pybullet, use eglPlugin statically instead of dynamic loading an Extension -DSTATIC_EGLRENDERER_PLUGIN Fix compile errors of pybullet on Windows.
erwincoumans
2018-09-09 15:23:26 -07:00
ced4645429
add missing include
bla
2018-09-09 14:47:09 -07:00
c4fe0f7357
disable enable_egl by default (?!?)
erwincoumans
2018-09-09 14:39:56 -07:00
adb5c049c7
Thanks to @dchichkov for some of the fixes in the eglRendererPlugin! Rename tinyRenderer -> eglRenderer in the eglRendererPlugin. Allow to run the eglRendererPlugin to run on Windows (not in EGL mode but Win32OpenGLWindow mode)
erwincoumans
2018-09-09 13:37:49 -07:00
63f4a63e15
since parent collision is always disabled by default for self-collision, we add a new flag URDF_USE_SELF_COLLISION_INCLUDE_PARENT, to force self-collision between direct parent/child (not recommended in general)
erwincoumans
2018-09-08 14:46:43 -07:00
0efc67841d
allow pybullet to connect to GRPC server. (need to use flag --enable_grpc in premake build system) add grpcPlugin, it can work in GUI, SHARED_MEMORY_SERVER, DIRECT and other modes. example script to start server from pybullet: import pybullet as p p.connect(p.GUI) #if statically linked plugin id = p.loadPlugin("grpcPlugin") #dynamics loading the plugin #id = p.loadPlugin("E:/develop/bullet3/bin/pybullet_grpcPlugin_vs2010_x64_debug.dll", postFix="_grpcPlugin")
erwincoumans
2018-09-05 17:58:14 -07:00
31b06f508a
only add notifications if there is a plugin that needs them call the 'reportNotifications' in GRPC server main
Erwin Coumans
2018-09-04 19:24:31 -07:00
9b66074949
add some missing GRPC files
erwincoumans
2018-09-04 09:10:57 -07:00
9e2f6c7935
more GRPC work
erwincoumans
2018-09-03 23:13:15 -07:00
a670041793
Small fix in executePluginCommand, now you can pass int arguments while keeping floats null without errors.
Tigran Gasparian
2018-09-03 10:41:38 +02:00
93145f3979
Adding space to make compiler happy.
Tigran Gasparian
2018-09-03 10:37:22 +02:00
23e84ca9b6
more work on proto/pybullet.proto
erwincoumans
2018-09-01 13:49:56 -07:00
9a26d4aaaf
fix type
Erwin Coumans
2018-08-31 09:59:18 -07:00
f1cb4fe29c
fix crash in btInternalEdgeUtility when a mesh is not the expected type (don't wrap a mesh in a btCompoundShape if you want to use the edge utility)
Erwin Coumans
2018-08-31 09:25:49 -07:00
f132b4d16b
Only make the change for Linux, since OSX doesn't have dlmopen()
Tigran Gasparian
2018-08-31 15:33:08 +02:00
c062bfc2d5
Removes visual shape data when a body gets removed.
Tigran Gasparian
2018-08-31 15:12:28 +02:00
6036c027bf
Uses dlmopen() instead of dlopen() in b3PluginManager.cpp. This allows plugins to be loaded in a separate namespace, avoiding symbol conflicts.
Tigran Gasparian
2018-08-31 10:53:46 +02:00
ee9fca8c29
GJK fix for https://github.com/bulletphysics/bullet3/issues/1703 In a nutshell, we added a more reliable check, based on if the origin is in the GJK simplex, to determine if we are really intersecting and need to run EPA. See also "Real-time Collision Detection with Implicit Objects" by Leif Olvang Todo: integrate the simplex penetration check directly inside the Bullet btVoronoiSimplexSolver and remove this temporary code from libCCD Note, for large differences in shapes, use double precision build!
erwincoumans
2018-08-30 18:35:51 -07:00
40a15053bd
add createProtobufs.sh script for Mac/Linux (only tested on Mac so far)
Erwin Coumans
2018-08-30 10:09:00 -07:00
425ecbd3e6
fix cmake, linux only (patch egl)
Max Argus
2018-07-19 09:58:55 +02:00
964a5116eb
fix cmake + apple (patch egl)
Max Argus
2018-07-18 12:54:36 +02:00
902818894c
fix cmake (patch egl)
Max Argus
2018-07-18 11:54:51 +02:00
c1d6c6b07d
clean test scripts
Max Argus
2018-07-17 13:50:10 +02:00
425ab144bb
fix setup.py
Max Argus
2018-07-17 12:42:32 +02:00
bdc0f82a8b
added syncronized render test script
Max Argus
2018-07-17 11:52:23 +02:00
4d6c610682
enable egl by default for pybullet SimpleOpenGL3App
Max Argus
2018-07-17 11:06:30 +02:00
e15fb0866c
rendertest + parallel pip + no debug for plugin
Max Argus
2018-07-17 10:48:28 +02:00
35b30359e3
nearly working
Max Argus
2018-07-13 13:48:11 +02:00
5f71aa859f
wip
Max Argus
2018-07-12 20:48:06 +02:00
21462d1c02
update GLIR camera
Max Argus
2018-07-12 19:34:08 +02:00
a6a8b091ca
wip
Max Argus
2018-07-12 18:55:34 +02:00
05f82e8867
egl plugin working
Max Argus
2018-07-04 15:37:28 +02:00
f80f0c76a4
added egl plugin commit
Max Argus
2018-07-02 19:35:55 +02:00
2707b7acb4
apple issue
Max Argus
2018-07-12 21:24:04 +02:00
1b95961617
fix build
Max Argus
2018-07-12 20:24:15 +02:00
9328d0bb5f
fix build
Max Argus
2018-07-12 19:00:36 +02:00
a9ba3eb8cc
fixed cmake
Max Argus
2018-06-18 10:57:20 +02:00
f0e7f266ef
switched to new glad2
Max Argus
2018-06-15 11:01:11 +02:00
5dbf2373ad
load gl with egl not glx
Max Argus
2018-06-15 09:44:30 +02:00
5e8ee98f2e
fix OpenGL3App argument order
Max Argus
2018-05-08 14:19:11 +02:00
3d499c8a7a
pybullet: added EGL render device and window_backend option.
a
2018-03-05 23:05:22 +01:00
4f7dfc2069
Add preliminary GRPC server for PyBullet and BulletRobotics. Will add GRPC client and PyBullet GRPC server plugin. Will cover most/all SharedMemoryCommand/SharedMemoryStatus messages. Run the server, then test using the pybullet_client.py
erwincoumans
2018-08-29 21:12:13 -07:00
72c48870b0
after picking in a multibody demo, allow sleeping for rigid bodies
Erwin Coumans
2018-08-26 18:07:28 -07:00
186ddb81d8
fix tab/space issue in Python file fix determinism issue introduced in previous commit
Erwin Coumans
2018-08-26 17:17:42 -07:00
6ab6cf0bdb
test if different broadphase maintains determinism
Erwin Coumans
2018-08-26 16:49:17 -07:00
ff43cea263
Fix some deactivation issues with btMultiBodyDynamicsWorld, should also improve performance for PyBullet with larger worlds (even when sleeping is disabled, islands are split)
Erwin Coumans
2018-08-26 16:14:36 -07:00