bullet3/examples/SharedMemory
Tigran Gasparian 58699258dd Change b3GetLinkState to use numLinks in status handle
Changes the b3GetLinkState function to use numLinks from the
SharedMemoryStatus returned from RequestActualState instead of the
cached number of link value returned by b3GetNumJoints.

The cached value can be outdated when a new body is added and
SyncBodyInfo isn't used, while using the value in the status is always
up-to-date.
2018-09-11 14:44:06 +02:00
..
dart PyBullet: added preliminary DART and MuJoCo backend files, MuJoCo can loadMJCF, stepSimulation and getBasePositionAndOrientation, DART is empty. 2018-07-01 14:42:32 -07:00
grpc remove pre-build proto/grpc files (they differ for each platform and proto/grpc version) 2018-09-07 15:44:33 -07:00
mujoco PyBullet: added preliminary DART and MuJoCo backend files, MuJoCo can loadMJCF, stepSimulation and getBasePositionAndOrientation, DART is empty. 2018-07-01 14:42:32 -07:00
plugins pybullet eglPlugin: fix Mac OSX build 2018-09-10 08:55:47 -07:00
tcp prepare build system(s) for collisionFilterPlugin 2018-07-27 15:48:24 +02:00
udp prepare build system(s) for collisionFilterPlugin 2018-07-27 15:48:24 +02:00
b3PluginManager.cpp 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). 2018-09-09 21:08:47 -07:00
b3PluginManager.h 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). 2018-09-09 21:08:47 -07:00
b3RobotSimulatorClientAPI_InternalData.h PyBullet / BulletRobotics: prepare for pdControlPlugin and collisionFilterPlugin 2018-06-05 11:41:41 +10:00
b3RobotSimulatorClientAPI_NoDirect.cpp more GRPC work 2018-09-03 23:13:15 -07:00
b3RobotSimulatorClientAPI_NoDirect.h Fix some deactivation issues with btMultiBodyDynamicsWorld, should also improve performance for PyBullet with larger worlds 2018-08-26 16:14:36 -07:00
b3RobotSimulatorClientAPI_NoGUI.cpp remove some warnings 2018-06-06 16:10:20 -07:00
b3RobotSimulatorClientAPI_NoGUI.h PyBullet / BulletRobotics: prepare for pdControlPlugin and collisionFilterPlugin 2018-06-05 11:41:41 +10:00
BodyJointInfoUtility.h further work on urdfEditor.py, fix some serialization issues 2018-01-08 12:25:56 -08:00
CMakeLists.txt remove gl libs from openvr 2018-09-07 16:06:42 -07:00
IKTrajectoryHelper.cpp Expose IK solver options including DLS and SDLS. 2017-10-19 14:00:53 -07:00
IKTrajectoryHelper.h Expose IK solver options including DLS and SDLS. 2017-10-19 14:00:53 -07:00
InProcessMemory.cpp Allow InProcessExampleBrowser to use a malloc allocated memory block, instead of system shared memory. 2016-03-10 14:36:46 -08:00
InProcessMemory.h Allow InProcessExampleBrowser to use a malloc allocated memory block, instead of system shared memory. 2016-03-10 14:36:46 -08:00
main.cpp Prepare/allow for non-Bullet2-based physics command processor in pybullet/Bullet-C-API 2017-05-30 19:54:55 -07:00
PhysicsClient.cpp sync repo 2015-11-11 12:44:26 -08:00
PhysicsClient.h Changes UserData to use global identifiers and makes linkIndex optional. 2018-07-03 17:45:19 +02:00
PhysicsClientC_API.cpp Change b3GetLinkState to use numLinks in status handle 2018-09-11 14:44:06 +02:00
PhysicsClientC_API.h more GRPC work 2018-09-03 23:13:15 -07:00
PhysicsClientExample.cpp add segmask_linkindex.py example using p.getCameraImage(320,200,flags=p.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX) 2017-12-28 12:37:07 -08:00
PhysicsClientExample.h make one of the cubes in two_cubes.sdf static (immovable) using the <static> tag in SDF 2016-06-03 19:03:56 -07:00
PhysicsClientGRPC_C_API.cpp add some missing GRPC files 2018-09-04 09:10:57 -07:00
PhysicsClientGRPC_C_API.h add some missing GRPC files 2018-09-04 09:10:57 -07:00
PhysicsClientGRPC.cpp remove pre-build proto/grpc files (they differ for each platform and proto/grpc version) 2018-09-07 15:44:33 -07:00
PhysicsClientGRPC.h add some missing GRPC files 2018-09-04 09:10:57 -07:00
PhysicsClientSharedMemory2_C_API.cpp remove some memory leaks in example code. 2017-01-10 14:57:16 -08:00
PhysicsClientSharedMemory2_C_API.h work-in-progress 2016-11-04 13:15:10 -07:00
PhysicsClientSharedMemory2.cpp remove some memory leaks in example code. 2017-01-10 14:57:16 -08:00
PhysicsClientSharedMemory2.h work-in-progress 2016-11-04 13:15:10 -07:00
PhysicsClientSharedMemory_C_API.cpp Quick first prototype/test to integrate pybullet into Unity, 2017-09-20 23:18:18 -07:00
PhysicsClientSharedMemory_C_API.h Quick first prototype/test to integrate pybullet into Unity, 2017-09-20 23:18:18 -07:00
PhysicsClientSharedMemory.cpp Changes UserData to use global identifiers and makes linkIndex optional. 2018-07-03 17:45:19 +02:00
PhysicsClientSharedMemory.h Changes UserData to use global identifiers and makes linkIndex optional. 2018-07-03 17:45:19 +02:00
PhysicsClientTCP_C_API.cpp add B3_SHARED_API to the remaining PhysicsClientC_API APIs 2017-09-21 16:40:19 -07:00
PhysicsClientTCP_C_API.h add B3_SHARED_API to the remaining PhysicsClientC_API APIs 2017-09-21 16:40:19 -07:00
PhysicsClientTCP.cpp PyBullet: TCP connection, optimized getVREvents to allow faster Windows -> Linux Vive tracking state communication. 2018-06-27 23:43:42 -07:00
PhysicsClientTCP.h more GRPC work 2018-09-03 23:13:15 -07:00
PhysicsClientUDP_C_API.cpp add B3_SHARED_API to the remaining PhysicsClientC_API APIs 2017-09-21 16:40:19 -07:00
PhysicsClientUDP_C_API.h add B3_SHARED_API to the remaining PhysicsClientC_API APIs 2017-09-21 16:40:19 -07:00
PhysicsClientUDP.cpp expose lsMemory destroy function to release thread memory 2018-05-02 14:32:43 -07:00
PhysicsClientUDP.h more GRPC work 2018-09-03 23:13:15 -07:00
PhysicsCommandProcessorInterface.h allow pybullet to connect to GRPC server. (need to use flag --enable_grpc in premake build system) 2018-09-05 17:58:14 -07:00
PhysicsDirect.cpp more GRPC work 2018-09-03 23:13:15 -07:00
PhysicsDirect.h Changes UserData to use global identifiers and makes linkIndex optional. 2018-07-03 17:45:19 +02:00
PhysicsDirectC_API.cpp add B3_SHARED_API to the remaining PhysicsClientC_API APIs 2017-09-21 16:40:19 -07:00
PhysicsDirectC_API.h add B3_SHARED_API to the remaining PhysicsClientC_API APIs 2017-09-21 16:40:19 -07:00
PhysicsLoopBack.cpp Changes UserData to use global identifiers and makes linkIndex optional. 2018-07-03 17:45:19 +02:00
PhysicsLoopBack.h Changes UserData to use global identifiers and makes linkIndex optional. 2018-07-03 17:45:19 +02:00
PhysicsLoopBackC_API.cpp fix many warnings 2017-01-15 22:26:11 -08:00
PhysicsLoopBackC_API.h consistent *API.* in examples/SharedMemory 2015-11-23 08:00:42 -08:00
PhysicsServer.cpp add physics server loopback (both client and server in the same process, using shared memory) 2015-11-22 20:50:32 -08:00
PhysicsServer.h print better error warning, in case the physics client/server version mismatch. 2017-05-28 17:05:18 -07:00
PhysicsServerCommandProcessor.cpp 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). 2018-09-09 21:08:47 -07:00
PhysicsServerCommandProcessor.h allow pybullet to connect to GRPC server. (need to use flag --enable_grpc in premake build system) 2018-09-05 17:58:14 -07:00
PhysicsServerExample.cpp Changes tickPlugins to reportNotifications and only calls the processNotifications function on the plugins when there are actually notifications available. tickPlugins will to into a separate PR. 2018-07-25 14:47:34 +02:00
PhysicsServerExample.h Prepare/allow for non-Bullet2-based physics command processor in pybullet/Bullet-C-API 2017-05-30 19:54:55 -07:00
PhysicsServerExampleBullet2.cpp Prepare/allow for non-Bullet2-based physics command processor in pybullet/Bullet-C-API 2017-05-30 19:54:55 -07:00
PhysicsServerExampleBullet2.h Prepare/allow for non-Bullet2-based physics command processor in pybullet/Bullet-C-API 2017-05-30 19:54:55 -07:00
PhysicsServerSharedMemory.cpp allow pybullet to connect to GRPC server. (need to use flag --enable_grpc in premake build system) 2018-09-05 17:58:14 -07:00
PhysicsServerSharedMemory.h Changes tickPlugins to reportNotifications and only calls the processNotifications function on the plugins when there are actually notifications available. tickPlugins will to into a separate PR. 2018-07-25 14:47:34 +02:00
PosixSharedMemory.cpp re-enable shared memory connection for pybullet Gym envs (with fallback to GUI or DIRECT) 2017-09-13 09:56:39 -07:00
PosixSharedMemory.h make OSX/Unix version of PosixSharedMemory work 2015-07-14 16:23:01 -07:00
premake4.lua Thanks to @dchichkov for some of the fixes in the eglRendererPlugin! 2018-09-09 13:37:49 -07:00
RobotControlExample.cpp remove duplicate definitions of SHARED_MEMORY_MAX_STREAM_CHUNK_SIZE 2016-09-11 08:40:58 +01:00
RobotControlExample.h add a robot joint sensor example, reading joint reaction forces/torques using the shared memory API 2015-08-24 15:26:29 -07:00
SharedMemoryBlock.h Replace large timeout (1024*1024*1024) using real-time clock timeout (10 seconds default) 2017-02-22 09:33:30 -08:00
SharedMemoryCommandProcessor.cpp print better error warning, in case the physics client/server version mismatch. 2017-05-28 17:05:18 -07:00
SharedMemoryCommandProcessor.h more GRPC work 2018-09-03 23:13:15 -07:00
SharedMemoryCommands.h Fix some deactivation issues with btMultiBodyDynamicsWorld, should also improve performance for PyBullet with larger worlds 2018-08-26 16:14:36 -07:00
SharedMemoryCommon.h add command-line argument for example browser and shared memory app, --shared_memory_key=<int> 2015-08-07 00:13:26 -07:00
SharedMemoryInProcessPhysicsC_API.cpp people are actually using this internal API, add a new one and keep old one backward compatible 2018-06-05 19:44:33 -07:00
SharedMemoryInProcessPhysicsC_API.h people are actually using this internal API, add a new one and keep old one backward compatible 2018-06-05 19:44:33 -07:00
SharedMemoryInterface.h minor refactoring 2015-07-23 11:51:25 -07:00
SharedMemoryPublic.h since parent collision is always disabled by default for self-collision, we add a new flag 2018-09-08 14:46:43 -07:00
SharedMemoryUserData.h Removes int initializer in SharedMemoryUserDataHashKey, changes '>>' into '> >' for nexted templates. 2018-07-04 14:25:48 +02:00
Win32SharedMemory.cpp use Bullet3Common/b3AlignedObjectArray.h instead of LinearMath version in SharedMemory/PhysicsClientSharedMemory 2018-05-16 12:10:34 -07:00
Win32SharedMemory.h Refactor of PhysicsClient/PhysicsServer, to separate from the example browser code. 2015-07-14 15:30:17 -07:00