Commit Graph

  • 8c851a70c7 Merge pull request #1766 from erwincoumans/master erwincoumans 2018-06-16 14:02:11 -07:00
  • 42c9d9aa3c lazy creation of batch scheduler, it causes issues with the physics. erwincoumans 2018-06-16 13:59:03 -07:00
  • 046d95b7e6 Merge pull request #1765 from erwincoumans/master erwincoumans 2018-06-16 13:09:17 -07:00
  • 9b0845a0f1 Merge remote-tracking branch 'bp/master' Erwin Coumans 2018-06-16 12:30:39 -07:00
  • c55720fb41 Merge branch 'master' of https://github.com/erwincoumans/bullet3 erwincoumans 2018-06-16 12:28:38 -07:00
  • 7924d51665 PyBullet: deal with backward compatibility of b3RaycastBatchAddRay: use b3RaycastBatchAddRays API to enable MAX_RAY_INTERSECTION_BATCH_SIZE_STREAMING num rays. Old API (b3RaycastBatchAddRay) sticks to 256 rays, MAX_RAY_INTERSECTION_BATCH_SIZE. erwincoumans 2018-06-16 12:28:21 -07:00
  • 9326fff75a PyBullet: bump up version to 2.0.8 Erwin Coumans 2018-06-16 11:02:04 -07:00
  • ec37495142 Merge pull request #1761 from erwincoumans/master erwincoumans 2018-06-16 10:47:28 -07:00
  • b94df12081 add missing pthread link in App_HelloBulletRobotics Erwin Coumans 2018-06-16 10:20:43 -07:00
  • 04d03d10be Fix memory leak due to batchRayCast never deleting the btTaskScheduler. (and issue with TaskScheduler/btTaskScheduler.cpp, add JobQueue::exit, call it first, since it uses the m_threadSupport which was deleted before the destrucor was called. Use a hashmap to store user timers, to avoid allocating many identical strings. erwincoumans 2018-06-16 09:37:53 -07:00
  • cb1fce7899 revert exposing getSharedMemoryStreamBuffer / adding to command structure use 16k rays by default add uploadRaysToSharedMemory method erwincoumans 2018-06-16 08:14:00 -07:00
  • 23f9250e04 Merge remote-tracking branch 'bp/master' erwincoumans 2018-06-16 06:58:10 -07:00
  • d660042d76 Merge pull request #1763 from YunfeiBai/master erwincoumans 2018-06-16 06:57:50 -07:00
  • 75ec8f3fd9 PyBullet: add batchRayCast.py example erwincoumans 2018-06-16 06:20:15 -07:00
  • f517b03534 Expose pushProfileTimer / pop ProfileTimer in PhysicsClient API to benchmark Python parts of PyBullet. reduce 'm_cooldownTime' from 1000 microseconds to 100 microseconds (overhead in raycast is too large) If needed, we can expose this cooldown time. Replace malloc by btAlignedObjectArray (going through Bullet's memory allocator) erwincoumans 2018-06-16 06:19:49 -07:00
  • bb8cbcdaae Merge remote-tracking branch 'bp/master' erwincoumans 2018-06-16 06:06:18 -07:00
  • 5b3e43d4d8 Merge pull request #1760 from RanTig/ParallelRaycasts erwincoumans 2018-06-16 05:54:34 -07:00
  • c9bbd80dc0 Merge pull request #1762 from alexis-jacq/patch-2 erwincoumans 2018-06-16 05:32:42 -07:00
  • 6adea4964f forgot one "isAlive" to change Alexis David Jacq 2018-06-16 14:00:05 +02:00
  • 50b5edd7b5 isDone instead of isAlive Alexis David Jacq 2018-06-16 13:53:05 +02:00
  • fbbd675ed6 expose PyBullet API to wakeup/put objects to sleep, enable/disable deactivation fix wakeup -> reset deactivation clock Erwin Coumans 2018-06-15 21:26:26 -07:00
  • 1c0de3c4cb Add the pdControlPlugin to the joint control C API, and add the PD control mode (also available in pybullet). Modify the pdControl pybullet example to use the PD control mode with setJointMotorControl API. YunfeiBai 2018-06-15 17:59:26 -07:00
  • bb0d70d98b Merge branch 'master' of https://github.com/erwincoumans/bullet3 Erwin Coumans 2018-06-15 10:27:37 -07:00
  • 1e559feb8f add preliminary vision60 urdf model (no real sizes, no real masses etc) Erwin Coumans 2018-06-15 10:26:42 -07:00
  • 292a3f1cf6 methode isAlive Alexis David Jacq 2018-06-15 17:55:20 +02:00
  • 54986593c5 . Tigran Gasparian 2018-06-15 17:46:31 +02:00
  • 0b1dca3d9c Updates the documentation for the pybullet function rayTestBatch to include the numThreads parameter. Tigran Gasparian 2018-06-15 17:46:12 +02:00
  • a57c480f28 Update gym_locomotion_envs.py Alexis David Jacq 2018-06-15 17:38:35 +02:00
  • 976fea4eca fix saveRestoreState.py example Erwin Coumans 2018-06-15 08:31:39 -07:00
  • d244cf6061 Changes the default number of rays per thread from 32 to 16, when the user lets Bullet decide. Tigran Gasparian 2018-06-15 17:13:10 +02:00
  • 08409cae9f Adds multithreading support for batch ray casts. Tigran Gasparian 2018-06-15 16:47:04 +02:00
  • 0080cf7ed1 bump up pybullet version to 2.0.7 Erwin Coumans 2018-06-13 22:36:12 -07:00
  • 997211650e Merge pull request #1757 from erwincoumans/master erwincoumans 2018-06-14 02:35:09 +00:00
  • 25c5e87dc2 PyBullet.loadURDF, expose flags=URDF_INITIALIZE_SAT_FEATURES erwincoumans 2018-06-13 15:35:56 -07:00
  • 946a59f2fe Merge pull request #1756 from bulletphysics/erwincoumans-patch-4 erwincoumans 2018-06-13 15:30:58 +00:00
  • 5f203df65a Update btConvexConvexAlgorithm.cpp erwincoumans 2018-06-13 07:47:14 -07:00
  • b75c63f2a2 Merge pull request #1755 from erwincoumans/master erwincoumans 2018-06-13 04:40:38 +00:00
  • c27fb4003e path -> const Erwin Coumans 2018-06-12 21:26:34 -07:00
  • ce9f29e416 Merge pull request #1752 from bulletphysics/erwincoumans-patch-2 erwincoumans 2018-06-13 04:18:26 +00:00
  • 4f0959a136 Update b3RobotSimulatorClientAPI_NoDirect.h erwincoumans 2018-06-12 21:17:43 -07:00
  • 6376197e5e Merge pull request #1749 from erwincoumans/master erwincoumans 2018-06-13 03:38:36 +00:00
  • e24da97140 revert GJK change yet again, some degenerate case / regression Erwin Coumans 2018-06-12 19:52:38 -07:00
  • ce47fcc7f2 Merge pull request #1751 from bulletphysics/erwincoumans-patch-1 erwincoumans 2018-06-13 02:50:05 +00:00
  • 437d66f9b4 Update btOverlappingPairCache.h erwincoumans 2018-06-12 19:04:31 -07:00
  • 08d84d6ce3 fix getLinkState usage erwincoumans 2018-06-12 17:00:16 -07:00
  • 4d6741f5cd PyBullet: expose STATE_LOGGING_ALL_COMMANDS and STATE_REPLAY_ALL_COMMANDS See examples/pybullet/examples/commandLogAndPlayback.py for an example. erwincoumans 2018-06-12 16:56:45 -07:00
  • 459d07a302 add example for enableSAT, using separating axis test (instead of GJK) for contact between polyhedral convex hull shapes (and convex hull vs triangle in a concave triangle mesh) erwincoumans 2018-06-12 16:10:49 -07:00
  • 97c6937388 Simplify GJK. Still needs double precision for large differences of feature scales. Extract faces directly from btConvexHullComputer (in initializePolyhedralFeatures), instead of reconstructing them, thanks to Josh Klint in #1654 PyBullet: use initializePolyhedralFeatures for convex hulls and boxes (to allow SAT) PyBullet: expose setPhysicsEngineParameter(enableSAT=0 or 1) to enable Separating Axis Test based collision detection for convex vs convex/box and convex versus concave triangles (in a triangle mesh). erwincoumans 2018-06-12 16:08:46 -07:00
  • a342af0382 remove getLinkState from API, it automatically calculated forwardKinematics and propagates velocities, which is very expensive. erwincoumans 2018-06-11 23:49:34 -07:00
  • 9f79011582 Merge pull request #1748 from erwincoumans/master erwincoumans 2018-06-12 01:00:04 +00:00
  • 62485abafe PyBullet: disable deterministic pairs by default PyBullet: Only set static when sleeping is enables (todo: figure out issue with determinism) erwincoumans 2018-06-11 17:32:44 -07:00
  • ad0c7ecaa2 different way of sorting pairs (using indexing), don't 'clear' all pairs. Erwin Coumans 2018-06-11 14:42:26 -07:00
  • 38469deec7 getNumLinks -> getNumDofs, to make sure fixed objects don't transfer activation state Erwin Coumans 2018-06-11 11:41:33 -07:00
  • fc61a3531e Merge remote-tracking branch 'bp/master' erwincoumans 2018-06-11 08:35:14 -07:00
  • 6fb3cf7a43 Merge branch 'master' of https://github.com/erwincoumans/bullet3 erwincoumans 2018-06-11 08:34:37 -07:00
  • cb0e98c0a9 Merge pull request #1747 from erwincoumans/master erwincoumans 2018-06-11 14:47:40 +00:00
  • e74f86d148 remove ANYmal meshes Erwin Coumans 2018-06-11 07:44:05 -07:00
  • 6705d2d649 Merge pull request #1743 from erwincoumans/master erwincoumans 2018-06-11 02:06:46 +00:00
  • 3eebcd40ca exposed a few more methods in the C++ b3RobotSimulatorClientAPI (_NoDirect base class) erwincoumans 2018-06-09 19:40:12 -07:00
  • 7ac3e263ab add saveStateToMemory/restoreStateFromMemory/setAdditionalSearchPath/getAPIVersion to Bullet Robotics API. erwincoumans 2018-06-09 13:54:22 -07:00
  • 0cec85626f enable more unit tests in PyBullet. return Py_None if no user data found, to pass the test. enable m_deterministicOverlappingPairs by default. if m_deterministicOverlappingPairs, sort the collision pairs. erwincoumans 2018-06-09 12:19:29 -07:00
  • 046a86cd84 add premake4.lua build for BulletRobotics target, C++ API, similar to PyBullet. Use BulletRobotics target for App_HelloBulletRobotics (without GUI) and App_RobotSimulator erwincoumans 2018-06-08 19:14:03 -07:00
  • 8a70afa4f6 Merge pull request #1736 from erwincoumans/master erwincoumans 2018-06-06 19:22:19 -07:00
  • 6ca3fe18f5 fix previous commit Erwin Coumans 2018-06-06 16:33:52 -07:00
  • 1bcb54dc29 remove some warnings Erwin Coumans 2018-06-06 16:10:20 -07:00
  • c02761d40b Merge remote-tracking branch 'bp/master' Erwin Coumans 2018-06-05 22:55:12 -07:00
  • dd444fc6c4 reshuffle args Erwin Coumans 2018-06-05 21:09:00 -07:00
  • c60cc4897c Merge pull request #1735 from erwincoumans/master erwincoumans 2018-06-05 19:59:38 -07:00
  • cb6d76d6b5 fix another parameter name in header, in enableJointForceTorqueSensor erwincoumans 2018-06-05 19:59:00 -07:00
  • bcf466ee4e Merge pull request #1734 from erwincoumans/master erwincoumans 2018-06-05 19:57:52 -07:00
  • dff04c7f59 fix parameter name in header, computeForwardKinematics erwincoumans 2018-06-05 19:57:21 -07:00
  • 88008b400a Merge pull request #1733 from erwincoumans/master erwincoumans 2018-06-05 19:54:37 -07:00
  • 72d3f45b05 use new API b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect3 (not 2) erwincoumans 2018-06-05 19:54:08 -07:00
  • 4615774150 Merge pull request #1732 from erwincoumans/master erwincoumans 2018-06-05 19:45:04 -07:00
  • 4083088a3a people are actually using this internal API, add a new one and keep old one backward compatible b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect3 is the new one, b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect2 old erwincoumans 2018-06-05 19:44:33 -07:00
  • 5ede227e94 Update robot_bases.py erwincoumans 2018-06-05 19:33:28 -07:00
  • e9b7ab1c59 Merge pull request #1731 from erwincoumans/master erwincoumans 2018-06-05 18:01:12 -07:00
  • 033835a0fa bump up pybullet version Erwin Coumans 2018-06-05 17:17:10 -07:00
  • 134beaf8dc fix uninitialized m_companionId in btMultiBody (only happens if sleeping is enabled) Erwin Coumans 2018-06-05 16:40:41 -07:00
  • ad35beb61f fix typo Erwin Coumans 2018-06-05 16:25:43 -07:00
  • b6f5cb4c34 enable pdControlPlugin by default (requires pdControlPlugin.cpp and b3RobotSimulatorClientAPI_NoDirect.cpp) add pdControl.py example, make pdControlPlugin functional reduce memory usage fix examples/pybullet/gym/pybullet_data/random_urdfs/948/948.urdf, fixes issue #1704 erwincoumans 2018-06-05 15:59:01 -07:00
  • 49eb83c24e Avoid static multibody to activate/wake up sleeping objects. Couldn't reproduce an issue related to this. erwincoumans 2018-06-05 12:20:42 -07:00
  • fa648a028e fix a few problems introduced in #1730 https://github.com/bulletphysics/bullet3/pull/1730 erwincoumans 2018-06-05 09:16:00 -07:00
  • d7cbe8dd26 Merge remote-tracking branch 'bp/master' erwincoumans 2018-06-05 08:15:11 -07:00
  • 7d0e632fb3 Merge pull request #1730 from RanTig/master erwincoumans 2018-06-05 08:14:31 -07:00
  • aefd5a9d66 Uses SHARED_MEMORY_SERVER instead of GUI_SERVER when starting a bullet server in the unit test. Tigran Gasparian 2018-06-05 09:28:38 +02:00
  • dd745cbe2d Merge remote-tracking branch 'bp/master' Erwin Coumans 2018-06-05 11:42:49 +10:00
  • 7bd84740d7 PyBullet / BulletRobotics: prepare for pdControlPlugin and collisionFilterPlugin Split examples/SharedMemory/b3RobotSimulatorClientAPI_NoGUI.* and move to examples/SharedMemory/b3RobotSimulatorClientAPI_NoGUI.cpp and examples/SharedMemory/b3RobotSimulatorClientAPI_NoDirect.cpp Erwin Coumans 2018-06-05 11:41:41 +10:00
  • e4cd88e24f PyBullet: allow to choose the shared memory key when starting SHARED_MEMORY_SERVER Erwin Coumans 2018-06-05 11:36:54 +10:00
  • c49e060e81 Starts bullet server when testsuite is ran, uses pybullet_utils to manage clients. Tigran Gasparian 2018-06-04 19:40:16 +02:00
  • bb72a91080 Clears the user data cache when syncUserData is called. Adds unit test for the UserData functons. Changes the char pointer in btHashString to std::string. There were problems where the object owning the string memory would deallocate the string, making the btHashString object invalid. Tigran Gasparian 2018-06-04 15:10:48 +02:00
  • e0667d8579 Merge pull request #1728 from erwincoumans/master erwincoumans 2018-06-02 18:41:53 -07:00
  • 4997eb8da2 add new file related to PyBullet userData erwincoumans 2018-06-02 13:52:00 -07:00
  • b6120e760a PyBullet.addUserData / getUserData / removeUserData / getUserDataId / getNumUserData / getUserDataInfo See examples/pybullet/examples/userData.py how to use it. TODO: add to PyBullet Quickstart Guide. Thanks to Tigran Gasparian for the contribution! erwincoumans 2018-06-02 13:40:08 -07:00
  • cb6b7a7c38 PyBullet: expose flags to createMultiBody erwincoumans 2018-06-02 11:37:14 -07:00
  • c77586a526 Merge pull request #1727 from erwincoumans/master erwincoumans 2018-06-02 00:13:43 -07:00
  • 39c9ffa4c3 PyBullet IK: backward compatible changes related to joint damping Erwin Coumans 2018-06-01 23:25:47 -07:00
  • f75e22e37d bump up PyBullet version to 2.0.3 Erwin Coumans 2018-06-01 22:54:43 -07:00
  • 68ea22bfd0 undo git merge conflict mess-up with IK erwincoumans 2018-06-01 22:50:06 -07:00
  • a450600eb8 revert gjk test erwincoumans 2018-06-01 22:17:46 -07:00