Commit Graph
100 Commits
Author SHA1 Message Date
Erwin Coumans 176edeff1e add mpi_run version (not working yet) 2019-02-01 17:57:31 -08:00
Erwin Coumans 7cc2685faf enable deepmimic training on mac 2019-02-01 16:24:48 -08:00
Erwin Coumans 9392b05d53 bump up to PyBullet 2.4.3 2019-01-29 12:05:15 -08:00
Erwin Coumans 7df6adb9f8 fix compilation, make travis CI happy 2019-01-23 19:58:19 -08:00
Erwin Coumans a3ec60da67 IsAlmostZero -> IsAlmostZero1 2019-01-23 16:45:29 -08:00
Erwin Coumans a174b42c02 fix compile issues 2019-01-23 16:33:06 -08:00
Erwin Coumans 0cf3f7d750 Merge remote-tracking branch 'bp/master' 2019-01-23 10:44:20 -08:00
Erwin Coumans 2f5c93a0f4 PyBullet: enable DeepMimic code as 'plugin' for stable PD control of spherical joints
enabling STATIC_LINK_SPD_PLUGIN
2019-01-23 10:42:59 -08:00
Erwin Coumans 80684f44ea fix issue 76 (should be harmless) 2019-01-04 10:10:20 -08:00
Erwin Coumans 01bb0c3bd7 avoid macro redefinition 2019-01-04 08:40:54 -08:00
Erwin Coumans 21d9465d94 update premake5.exe (note we still use premake4.exe by default) 2018-12-22 17:55:50 -08:00
Erwin Coumans 83213da154 applied patch for Issue 68
// Ensure that gContactProcessedCallback is called for concave shapes.
        if (getLastManifold())
            m_resultOut->refreshContactPoints();
2018-12-22 17:06:57 -08:00
Erwin Coumans e5fb1aa1d5 apply improvement, to allow btCompoundShape per-shape collision filtering
Fixes old issue 67
2018-12-22 17:02:58 -08:00
Erwin Coumans 6661b1ac71 internalApplyImpulse already applies the getLinearFactor, fixes Issue 71 2018-12-22 16:53:52 -08:00
Erwin Coumans 44f8064855 Fix Issue 61 related to character controller,
see https://github.com/rraallvv/bullet3/commit/6cb832140d620620c5a6e4bb8e865e83f1e0d563
2018-12-22 16:44:36 -08:00
Erwin Coumans 7740162ad8 apply gimpact versus rotated plane issue,thanks to @cameronwhite
see https://github.com/cameronwhite/bullet3/commit/bd8bd11929097fabeda14657967fc96376099e62
Fixes Issue 69
2018-12-22 16:38:40 -08:00
Erwin Coumans 74223ced56 disable per-thread tsan issue, todo: checkout why it fails 2018-12-04 20:00:05 +01:00
Erwin Coumans e3c03401c8 PyBullet: fixed a few more file leaks 2018-12-04 19:58:24 +01:00
Erwin Coumans d4db50f668 PyBullet: fix some file leaks. 2018-12-04 19:37:25 +01:00
Erwin Coumans a23cfd0782 bump up pybullet version to 2.4.0 2018-11-29 16:50:37 -08:00
Erwin Coumans 2d07fc1f64 ClangTidy
clang-diagnostic-shift-sign-overflow
signed shift result (0x80000000) sets the sign bit of the shift expression's type ('int') and becomes negative
2018-11-28 15:40:20 -08:00
Erwin Coumans 2e30a9565b add humanoid_deepmimic_gym_env.py for HumanoidDeepMimicBulletEnv-v1 (still untested) 2018-11-25 15:33:28 -08:00
Erwin Coumans fbfa13894b Merge remote-tracking branch 'bp/master' 2018-11-25 12:58:22 -08:00
Erwin Coumans ccc26260b6 bump up pybullet version to 2.3.8 2018-11-13 15:39:54 -08:00
Erwin Coumans 036d75bc04 fix issue that cause hanging/stallig setup.py due to monkey-patch,
see also https://github.com/bulletphysics/bullet3/issues/1956
2018-11-08 11:33:45 -08:00
Erwin Coumans d414224d96 Merge remote-tracking branch 'bp/master' 2018-11-06 12:34:14 -08:00
Erwin Coumans 6e169ada80 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-11-06 12:33:53 -08:00
Erwin Coumans 5d20b2d346 bump up pybullet version 2018-11-06 12:33:46 -08:00
Erwin Coumans 882252f8c0 move global from btMultiBody into dynamicsWorld.getSolverInfo 2018-11-05 10:50:03 -08:00
Erwin Coumans 8b53e47fe8 add simpler ARS implementation, thanks to Alexis Jacq and Hadelin de Ponteves
(will add save/restore of policy and rendering movies through command-line arguments soon)
2018-11-02 11:19:46 -07:00
Erwin Coumans f6ea2a7379 fix a potential data race condition.
remove createObstacleCourse programmatic creation part until we can steam vertices/indices.
2018-11-01 10:20:54 -07:00
Erwin Coumans 336a4b65fe disable some internal statistics, reporting a race condition. 2018-11-01 07:41:35 -07:00
Erwin Coumans 438e082b33 PyBullet: remove a potential race condition 2018-11-01 07:27:37 -07:00
Erwin Coumans 9e58a21732 more aesthetic wireframe, pure visual improvement (no impact on simulation/performance)
fixes https://github.com/bulletphysics/bullet3/issues/1970
Issue 1970
2018-10-31 21:50:49 -07:00
Erwin Coumans 131535a99f remove debug stats 2018-10-31 21:24:44 -07:00
Erwin Coumans a48b6b9ca0 fix some thread sanitizer (read/write integer, should be a harmless warning) 2018-10-31 17:00:34 -07:00
Erwin Coumans 624212c641 add humanoid.urdf, converted from mjcf using pybullet_utils.urdfEditor.UrdfEditor() 2018-10-31 09:17:58 -07:00
Erwin Coumans 47b8b98a64 PyBullet: call the right method (although equivalent at the moment) 2018-10-30 22:16:13 -07:00
Erwin Coumans b0b8bb2023 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-10-29 19:24:27 -07:00
Erwin Coumans 44976780fa remove ARS files 2018-10-29 19:23:54 -07:00
Erwin Coumans c2b9dc9361 update to CartPoleBulletEnv-v1 and check with latest baselines v0.1.5, works fine.
(make it more similar to classical control cartpole)
2018-10-29 16:44:12 -07:00
Erwin Coumans 2fa0ae9349 fix sprintf using nullptr string 2018-10-29 13:45:42 -07:00
Erwin Coumans bebe12d6d8 tweak tensorflow humanoid_running.py demo to be more robust against mouse dragging
(mouse dragging adds energy in the system that can cause explosions/instability):
use solverResidualThreshold and increase number of sub steps, also clamp the max force.
2018-10-27 11:48:21 -07:00
Erwin Coumans f455d3a243 Merge remote-tracking branch 'bp/master' 2018-10-27 11:41:05 -07:00
Erwin Coumans 0511a36a67 add Laikago quadruped model, thanks to Unitree for the cad meshes.
If you use the Laikago URDF, please add a citation to PyBullet:

@MISC{coumans2018,
author =   {Erwin Coumans and Yunfei Bai},
title =    {PyBullet, a Python module for physics simulation for games, robotics and machine learning},
howpublished = {\url{http://pybullet.org}},
year = {2016--2018}
}
2018-10-26 18:49:58 -07:00
Erwin Coumans f1ac24cc60 make pybullet setup.py use threadsafe version by default 2018-10-26 18:37:28 -07:00
Erwin Coumans 84870739af Merge remote-tracking branch 'bp/master' 2018-10-22 08:03:47 -07:00
Erwin Coumans a198459b09 reduce back to 128, some internal build has too limited stack size. 2018-10-22 07:40:45 -07:00
Erwin Coumans 2d224cf319 revert backward compabitility in API 2018-10-20 19:44:39 -07:00
Erwin Coumans 9a9386b6a7 allow empty filename in CNS fileIO 2018-10-20 14:16:31 -07:00
Erwin Coumans dc2d54df2c remove 32bit build ARCH from xcode4 generated files (premake4)
optimization in btMultiBody::fillConstraintJacobianMultiDof:
only compute links between current link and root
2018-10-20 10:44:43 -07:00
Erwin Coumans eb490351ec bump up PyBullet version to 2.3.2 2018-10-16 19:04:49 -07:00
Erwin Coumans d3a2f82740 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-10-16 19:04:12 -07:00
Erwin Coumans e776408c19 add missing file to MANIFEST.in, bump up PyBullet version 2018-10-16 19:03:24 -07:00
Erwin Coumans fd3d292fcf tinyRenderer, remove both \r and \n, not just \n 2018-10-13 11:46:46 -07:00
Erwin Coumans c441a9469c enable fileIOPlugin and loading from zipfile in PyBullet,
bump up to version 2.3.0
2018-10-11 17:44:54 -07:00
Erwin Coumans 3861266a6d Merge remote-tracking branch 'bp/master' 2018-10-10 23:41:55 -07:00
Erwin Coumans 32b5c88d4b close the fileIO for urdf loading 2018-10-09 20:45:17 -07:00
Erwin Coumans 5f954e2496 backward compatibility fix 2018-10-09 16:25:32 -07:00
Erwin Coumans da2ee638ef remove obsolete BT_PYBULLET_GRPC and PYBULLET_EGL 2018-10-05 21:47:13 -07:00
Erwin Coumans 90f002e07d Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-10-05 19:41:10 -07:00
Erwin Coumans 8a0d96edce tweaks in pybullet/examples for Mac OSX 2018-10-05 19:40:52 -07:00
Erwin Coumans 42ae4e81a8 apply clang-format (on Mac, slightly different than running it on Windows) 2018-09-30 11:43:57 -07:00
Erwin Coumans cd2f111a10 update pybullet version, include *.* from OpenGLWindow 2018-09-25 17:06:32 -07:00
Erwin Coumans 350adb5c7c Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-09-21 09:56:25 -07:00
Erwin Coumans 47efe66017 disable eglPlugin from setup.py / pip pybullet on Windows and Mac (only enable on Linux) 2018-09-21 09:55:57 -07:00
Erwin Coumans d909448ee3 bump up pybullet version again 2018-09-12 21:03:07 -07:00
Erwin Coumans c8fe0f7fbc bump up pybullet version to 2.1.5 2018-09-12 20:33:52 -07:00
Erwin Coumans 1efee29c27 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-09-12 08:20:03 -07:00
Erwin Coumans c83fa30daa use numpy to reshape image data to matplotlib compatible format
fixes issue #1871
2018-09-12 08:19:30 -07:00
Erwin Coumans 9fa3e44539 fixes related to egl plugin 2018-09-10 23:31:54 -07:00
Erwin Coumans 3b0a44e1be fix createProtobufs.sh script 2018-09-10 23:24:00 -07:00
Erwin Coumans f26d4fdc4c pybullet eglPlugin: fix Mac OSX build 2018-09-10 08:55:47 -07:00
Erwin Coumans bc0a201bd1 update quickstart guide from https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.2ye70wns7io3
bump up pybullet version to 2.1.4
2018-09-08 12:48:26 -07:00
Erwin Coumans 0515d5a5f6 Merge remote-tracking branch 'bp/master' 2018-09-08 07:51:30 -07:00
Erwin Coumans b40fc10184 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-09-08 07:51:16 -07:00
Erwin Coumans b7d143429b Merge remote-tracking branch 'bp/master' 2018-09-05 18:54:45 -07:00
Erwin Coumans 51f9a6fd0d make grpc work on Mac OSX with premake 2018-09-04 14:49:12 -07:00
Erwin Coumans 9a26d4aaaf fix type 2018-08-31 09:59:18 -07:00
Erwin Coumans 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)
2018-08-31 09:25:49 -07:00
Erwin Coumans 40a15053bd add createProtobufs.sh script for Mac/Linux (only tested on Mac so far) 2018-08-30 10:09:00 -07:00
Erwin Coumans 6ab6cf0bdb test if different broadphase maintains determinism 2018-08-26 16:49:17 -07:00
Erwin Coumans 3036a6d2bc also drop 'model://' from URDF file names (like we drop package://) 2018-08-26 09:33:51 -07:00
Erwin Coumans 593380b73a remove leading space 2018-08-24 16:33:18 -07:00
Erwin Coumans 61b7591b8e expose choice of contraint solver in PyBullet, with switchConstraintSolver example 2018-08-23 23:04:17 -07:00
Erwin Coumans 6d53f1a6d9 fix parameter mismatch in SerialChains.cpp 2018-08-09 17:15:54 -07:00
Erwin Coumans 90e08b41a5 bump up pybullet version 2018-08-09 16:53:11 -07:00
Erwin Coumans 15e831ab99 revert default linear slop, need to handle restitution separately 2018-08-09 16:49:25 -07:00
Erwin Coumans d6cf60ab83 Merge remote-tracking branch 'bp/master' 2018-08-09 16:48:55 -07:00
Erwin Coumans 56e7333941 bump up pybullet version 2018-08-04 09:58:15 -07:00
Erwin Coumans 684b69f4dd fix applied too fast 2018-08-03 17:57:09 -07:00
Erwin Coumans 02b0e34bda v_ptr 2018-08-03 17:53:07 -07:00
Erwin Coumans 97baccd1a5 revert regression in btMultiBody.cpp 2018-08-03 17:38:01 -07:00
Erwin Coumans 08b5e6d766 add collisionFilterPlugin to pybullet plugin, also apply quat->euler fix for singular cases 2018-07-30 17:53:37 +02:00
Erwin Coumans 2000ba9058 handle singularity (gimbal lock) in quaternion -> euler conversion,
from https://github.com/ros/urdfdom_headers/blob/e7e0972a4617b8a5df7a274ea3ba3b92e3895a35/urdf_model/include/urdf_model/pose.h#L103
2018-07-30 17:30:19 +02:00
Erwin Coumans e75178181d safe normalize on degenerate triangles 2018-07-30 12:21:02 +02:00
Erwin Coumans 5dd7a62397 Disable CProfileManager by default.
Use btSetCustomEnterProfileZoneFunc(CProfileManager::Start_Profile) and
btSetCustomLeaveProfileZoneFunc(CProfileManager::Stop_Profile) to get old behavior.
2018-07-30 12:07:32 +02:00
Erwin Coumans 2cab56d6ef prepare build system(s) for collisionFilterPlugin 2018-07-27 15:48:24 +02:00
Erwin Coumans d7c68dd822 fix leak 2018-07-27 10:13:09 +02:00
Erwin Coumans bd7c3825bb Merge remote-tracking branch 'bp/master' 2018-07-22 13:04:44 +02:00