Commit Graph
100 Commits
Author SHA1 Message Date
Erwin Coumans 1e51e2b859 tweaks in urdfEditor.py and combineUrdf.py, put KUKA on top of Husky as test. 2018-05-08 23:14:39 -07:00
Erwin Coumans 2d1689cba5 add example to joint two URDF files, using the urdfEditor (combineUrdf.py) 2018-05-08 17:18:58 -07:00
Erwin Coumans d436be1d79 add __init__.py for pybullet_utils examples 2018-05-08 13:31:30 -07:00
Erwin Coumans ad43de285c add bullet_client.py to pybullet_utils, with simple example 2018-05-08 10:12:19 -07:00
erwincoumans ab4b663800 Merge pull request #1671 from erwincoumans/master
don't use the URDF inertia element, unless flag CUF_USE_URDF_INERTIA …
2018-05-03 14:52:09 -07:00
Erwin Coumans 84b20bda80 don't use the URDF inertia element, unless flag CUF_USE_URDF_INERTIA is set, not for the diagonal and also not for the inertial frame shift. 2018-05-03 14:24:16 -07:00
erwincoumans 8fc7316c1d Merge pull request #1670 from YunfeiBai/master
Fixed a bug in projective texture shader.
2018-05-03 11:25:08 -07:00
erwincoumans d70a9ae3a3 Merge pull request #1669 from erwincoumans/master
fix some incompatibilities between google3/third_party/GL,EGL, glad
2018-05-03 10:02:30 -07:00
erwincoumans bdd7d3c2c0 Merge pull request #1662 from sponji/master
Fixed a collision check bug with CCD
2018-05-03 06:40:22 -07:00
erwincoumans 475d56e1ac Merge pull request #1668 from erwincoumans/master
Revert back to using the Jacobi method to diagonalize a symmetric mat…
2018-05-03 06:39:48 -07:00
erwincoumans 0e2d0fda1a Revert back to using the Jacobi method to diagonalize a symmetric matrix. 2018-05-03 06:03:52 -07:00
erwincoumans 6b9cc34064 Merge pull request #1666 from erwincoumans/master
posix shared memory lsMemory release function
2018-05-02 17:05:35 -07:00
erwincoumans 1f6afcda30 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-02 14:32:59 -07:00
erwincoumans 3a5f778b70 expose lsMemory destroy function to release thread memory 2018-05-02 14:32:43 -07:00
erwincoumans 35be31e11e Merge pull request #1665 from erwincoumans/master
bump up PyBullet version to 1.9.6
2018-05-02 13:59:44 -07:00
erwincoumans cee3ecde2b Merge pull request #1664 from erwincoumans/master
PyBullet: fix some memory leaks
2018-05-02 13:54:07 -07:00
erwincoumans 9d66d95b18 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-02 13:18:17 -07:00
erwincoumans 790deb2d54 fix memory leak in PyBullet.getJointStates, fixes issue #1661 2018-05-02 13:12:25 -07:00
erwincoumans d7e81590b5 fix a memory leak 2018-05-02 12:24:31 -07:00
erwincoumans 78629e1c6c Merge pull request #1637 from erwincoumans/master
PyBullet: add signed distance field support, with example/signedDista…
2018-05-02 09:20:04 -07:00
Erwin Coumans 988d78cb61 enable btMultiBodyGearConstraint positional error correction
fix multibody debug drawing of joint frames
2018-05-01 17:40:26 -07:00
Erwin Coumans dde3140987 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-01 13:02:51 -07:00
erwincoumans 540e9a1e55 Merge pull request #1640 from nbelakovski/patch-2
Fixing include line of btMultibodyWorldImporter.h to work with instal…
2018-05-01 09:35:03 -07:00
erwincoumans c7d9afac1e fix SoftDemo crash, due to changes in OpenGLGuiHelper rendering
fixes Issue #1655
2018-05-01 09:23:08 -07:00
erwincoumans 27c8827136 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-05-01 08:53:33 -07:00
Erwin Coumans 85db288a95 App_PhysicsServer_SharedMemory_VR: expose max_num_object_capacity and max_shape_capacity_in_bytes (and shared_memory_key)
Default values are:
int maxNumObjectCapacity = 128 * 1024;
int maxShapeCapacityInBytes = 128 * 1024 * 1024;
int shared_memory_key = -1
2018-04-30 23:01:15 +02:00
erwincoumans d32e3e51f6 Merge pull request #1650 from JanMatas/fix-softbody-leak
Fix Large memory leak in bullet Softbody
2018-04-30 22:16:39 +02:00
erwincoumans f56a77d5f3 Merge pull request #1657 from jietan/pullRequest2
Update the README.md
2018-04-30 22:05:53 +02:00
erwincoumans b68f61c325 Merge pull request #1648 from jietan/pullRequest2
make sure that the pre-trained galloping and trotting policies work f…
2018-04-26 14:36:29 +02:00
Erwin Coumans 552cb5852a PyBullet: add signed distance field support, with example/signedDistanceField.py
See also data\toys\concave_box.urdf and data\toys\concave_box.cdf

data\toys\concave_box.cdf was generated from concave_box.obj using
//GenerateSDF.exe -r "32 32 32" -d "-1.6 -1.6 -.6 1.6 1.6 .6" concave_box.obj
//SDF is based on code from DiscreGrid, https://github.com/InteractiveComputerGraphics/Discregrid
2018-04-16 22:57:43 +02:00
erwincoumans 982453abc6 Merge pull request #1635 from erwincoumans/master
fix spaces/tab issue in urdfEditor.py
2018-04-13 10:23:31 -07:00
erwincoumans 391b0e4061 Merge pull request #1588 from GaborPuhr/Fix-#1582
Fix for #1582
2018-04-12 13:32:51 -07:00
erwincoumans be46d73ef8 Merge pull request #1617 from haudren/topic/fixJacobian
Add a few jacobian tests
2018-04-12 13:30:04 -07:00
erwincoumans 2f462ab8a8 Merge pull request #1634 from erwincoumans/master
fixes related to tinyxml2,  PyBullet: fix memory leak in setJointMotorControlArray,
2018-04-12 13:26:27 -07:00
erwincoumans 25cb37a0d7 Merge remote-tracking branch 'bp/master' 2018-04-12 12:48:37 -07:00
erwincoumans dbb0318782 fixes related to tinyxml2 2018-04-12 12:46:43 -07:00
erwincoumans 9c5d757879 PyBullet: fix memory leak in setJointMotorControlArray
Fixes issue #1633
2018-04-12 12:43:29 -07:00
erwincoumans 6ca649a0e1 PyBullet: fix a memory leak in setJointMotorControlArray
Fixes Issue #1633
2018-04-12 12:26:21 -07:00
erwincoumans b0d421fa11 Merge pull request #1632 from erwincoumans/master
upgrade from tinyxml to tinyxml2
2018-04-12 07:30:05 -07:00
erwincoumans 9c77e07494 upgrade from tinyxml to tinyxml2 2018-04-12 00:09:44 -07:00
erwincoumans b53facfc25 Merge pull request #1629 from erwincoumans/master
Preparation to add signed distance field collision detection.
2018-04-12 00:02:25 -07:00
erwincoumans 2bc246b0b1 fixes in relative imports 2018-04-11 18:00:43 -07:00
erwincoumans b18d407ca4 screenshot frame counter start at 0 (instead of 100) 2018-04-11 17:17:35 -07:00
erwincoumans ac945df07a remote 'render' arg 2018-04-11 10:14:24 -07:00
erwincoumans 698b20938f fix a number of issues in a series of new Minitaur environments
add them to pybullet_envs through __init__.py
    id='MinitaurReactiveEnv-v0',
    id='MinitaurTrottingEnv-v0',
    id='MinitaurBallGymEnv-v0',
    id='MinitaurStandGymEnv-v0',
    id='MinitaurAlternatingLegsEnv-v0',
    id='MinitaurFourLegStandEnv-v0',

disable reflection of minitaur_four_leg_stand_env, since the floor changes orientation (reflection is a fixed plane with [0,0,1] normal)

from pybullet_envs.minitaur.envs.minitaur_alternating_legs_env import MinitaurAlternatingLegsEnv
from pybullet_envs.minitaur.envs.minitaur_ball_gym_env import MinitaurBallGymEnv
from pybullet_envs.minitaur.envs.minitaur_randomize_terrain_gym_env import MinitaurRandomizeTerrainGymEnv
from pybullet_envs.minitaur.envs.minitaur_reactive_env import MinitaurReactiveEnv
from pybullet_envs.minitaur.envs.minitaur_stand_gym_env import MinitaurStandGymEnv
from pybullet_envs.minitaur.envs.minitaur_trotting_env import MinitaurTrottingEnv
from pybullet_envs.minitaur.envs.minitaur_four_leg_stand_env import MinitaurFourLegStandEnv
2018-04-11 10:09:03 -07:00
erwincoumans c2869e0a3c enable planar reflection in minitaur_gym_env.py and locomotion scenes 2018-04-11 08:50:29 -07:00
erwincoumans ffc808784b PyBullet: add planar reflection example,
See examples/pybullet/examples/addPlanarReflection.py
2018-04-11 01:03:36 -07:00
erwincoumans 39edcf699c bump up pybullet version, add missing sdf file 2018-04-10 22:59:53 -07:00
Erwin Coumans 0832d3fd22 disable velocity clamp (maxVelocity) in velocity control mode,
remove some warnings
2018-04-10 17:21:14 -07:00
Erwin Coumans f37e22bfba fix syntax error 2018-04-10 15:29:31 -07:00
erwincoumans 759d8b5317 nullptr -> 0 (no C++11) 2018-04-09 21:28:29 -07:00
erwincoumans 480cedf503 Merge pull request #1622 from juhl/vehicle_axis
Fix to support different kind of wheel axis
2018-04-09 21:13:13 -07:00
erwincoumans 103f16c64a UINT_MAX requires #include <limits.h> 2018-04-09 20:59:16 -07:00
erwincoumans 5747b1a689 fix case sensitive header include 2018-04-09 20:57:36 -07:00
erwincoumans 78a90719b0 Merge pull request #1630 from YunfeiBai/master
Update the projective texture shader to solve the texture interpolati…
2018-04-09 20:55:37 -07:00
erwincoumans 7949f31c3e fixes in btMiniSDF 2018-04-08 21:30:06 -07:00
erwincoumans 9ab03057ea add btMiniSDF and btSdfCollisionShape to CMakeLists.txt 2018-04-08 21:25:38 -07:00
erwincoumans 698836d54e Preparation to add signed distance field collision detection.
btMiniSDF is based on https://github.com/InteractiveComputerGraphics/Discregrid
2018-04-08 21:10:03 -07:00
erwincoumans db4960b1ac Merge pull request #1624 from ikalevatykh/master
Add VR/OpenVR support on Linux
2018-04-05 09:55:03 -07:00
erwincoumans 85b376867e Merge pull request #1625 from erwincoumans/master
explicit cast from double to float in TinyRendererVisualShapeConverte…
2018-04-04 17:01:11 -07:00
Erwin Coumans 380e59be6a explicit cast from double to float in TinyRendererVisualShapeConverter plugin 2018-04-04 16:34:28 -07:00
erwincoumans b4f038fd67 Merge pull request #1621 from erwincoumans/master
first pass of updated minitaur quadruped environment, update env_bases,  add example of a free moving sphere controlled by external torque
2018-04-04 08:10:13 -07:00
erwincoumans 5ff2a1d6c8 Update env_bases.py 2018-04-02 22:31:22 -07:00
erwincoumans 507d024f25 add example of a free moving sphere controlled by external torque
add some toy shape sorter cube (not finished yet)
2018-04-01 15:55:32 -07:00
erwincoumans 14d37ecb43 first pass of updated minitaur quadruped environment 2018-03-31 21:15:27 -07:00
erwincoumans b8c7422bed Merge pull request #1619 from erwincoumans/master
PyBullet fix createVisualShape (inertial frame related), minor backward compatibility fix
2018-03-29 09:13:12 -07:00
erwincoumans ec68290497 PyBullet createVisualShape/createVisualShapeArray: postpone visual shape conversion until we know the link inertial transform 2018-03-28 19:08:18 -07:00
erwincoumans 094fa53440 Merge pull request #1611 from alantrrs/master
Fix simple cloth example. Closes #1606
2018-03-26 17:17:45 -07:00
erwincoumans fafa939d33 Merge pull request #1579 from lunkhound/parallel-solver-wip3
Multithreaded constraint solver
2018-03-26 17:11:05 -07:00
erwincoumans 79e7469a0a Merge pull request #1607 from lunkhound/pr-fix-readme
fix premake build instructions in README
2018-03-26 16:28:01 -07:00
erwincoumans 31ab72a0ed Merge pull request #1609 from YunfeiBai/master
Add PyBullet API to set projective texture.
2018-03-26 16:27:14 -07:00
erwincoumans f690687416 Merge pull request #1615 from haudren/topic/fixJacobian
Fix jacobian computation with fixed joints
2018-03-26 16:25:21 -07:00
erwincoumans 680ce39e96 Merge pull request #1601 from dbartolini/dev
Fix warning with -Wmisleading-indentation
2018-03-15 07:40:32 -07:00
erwincoumans 73d6624da3 Merge pull request #1603 from erwincoumans/master
add missing implementation of b3RobotSimulatorClientAPI_NoGUI::getCam…
2018-03-15 07:34:46 -07:00
erwincoumans 9c9ac6cba8 Merge pull request #1604 from jietan/pullRequest
Revised URDFEditor
2018-03-15 07:34:25 -07:00
erwincoumans 90b6befe3d add missing implementation of b3RobotSimulatorClientAPI_NoGUI::getCameraImage
Fixes Issue 1602
2018-03-14 17:33:51 -07:00
erwincoumans 282458684f Merge pull request #1598 from erwincoumans/master
fix loadTexture for tinyrenderer
2018-03-12 21:10:35 -07:00
erwincoumans b62501d04d fix loadTexture for tinyrenderer 2018-03-12 19:40:13 -07:00
erwincoumans 11e789d32b Merge pull request #1596 from erwincoumans/master
example for Issue #1586
2018-03-10 19:51:09 -08:00
Erwin Coumans f5d7e5bed3 example for Issue #1586 2018-03-10 19:49:30 -08:00
erwincoumans cce41a62ef Merge pull request #1594 from erwincoumans/master
PyBullet: explicit sync transform right before hardware OpenGL getCam…
2018-03-09 18:33:28 -08:00
Erwin Coumans 69d343386d PyBullet/C-API: implement createVisualShapeArray, with multiple visual shapes (require 1 texture max, since visual shapes are merged) 2018-03-09 18:02:06 -08:00
Erwin Coumans 159fef5818 PyBullet: explicit sync transform right before hardware OpenGL getCameraImage 2018-03-09 09:56:03 -08:00
erwincoumans d69fefd7e9 Merge pull request #1559 from shubhtuls/patch-1
minor bugfix in image reshaping in kukaGymEnv.py
2018-03-08 15:16:30 -08:00
erwincoumans 94118bb2aa Merge pull request #1592 from erwincoumans/master
git merge --no-ff a-anik-fix-import-spherical
2018-03-08 15:14:51 -08:00
erwincoumans 31c2e00139 Merge pull request #1587 from a-anik/fix-import-spherical
Fix import of spherical joint state
2018-03-07 15:49:09 -08:00
erwincoumans 047da9dc04 Merge pull request #1591 from erwincoumans/master
Use kF_UseGjkConvexCastRaytest by default for raycast in PyBullet (it…
2018-03-07 15:47:08 -08:00
Erwin Coumans b578361acf Use kF_UseGjkConvexCastRaytest by default for raycast in PyBullet (it is more robust/accurate, but a bit slower)
Use 10*EPSILON, as suggested in Gino's paper:
http://www.continuousphysics.com/ftp/pub/test/files/physics/papers/jgt04raycast.pdf
2018-03-07 14:51:51 -08:00
erwincoumans d77d85edce Merge pull request #1590 from erwincoumans/master
increase shared memory block size, bump up pybullet version, simplify r2d2 stl meshes
2018-03-07 13:29:40 -08:00
erwincoumans 8bde0d35cc Merge pull request #1589 from GaborPuhr/Fix-for-#1567
Fix for #1567
2018-03-05 16:10:46 -08:00
erwincoumans 6d326a79c8 Merge pull request #1575 from erwincoumans/master
fix minor sdf warning in kiva_shelf/model.sdf
2018-03-04 12:34:21 -08:00
Erwin Coumans 4d6e2c1905 update imgui test 2018-02-24 14:57:49 -08:00
erwincoumans 94bc897067 Merge pull request #1574 from erwincoumans/master
fix glx include
2018-02-22 09:41:01 -08:00
Erwin Coumans 05b02d6b3e fix glx include 2018-02-22 09:08:10 -08:00
erwincoumans 90b34680b0 Merge pull request #1572 from erwincoumans/master
explicitly remove textures during resetSimulation
2018-02-22 08:37:03 -08:00
erwincoumans c632fea48d PyBullet: remove VisualLeakDetector 2018-02-21 23:44:57 -08:00
erwincoumans 73a4334e30 explicitly remove textures during resetSimulation
move glViewport to Win32Window
2018-02-21 23:22:16 -08:00
erwincoumans 91f77dfb39 Merge pull request #1571 from erwincoumans/master
fix __init__.py
2018-02-21 12:42:37 -08:00
erwincoumans 3508a4523b Merge pull request #1560 from YunfeiBai/master
Add shader and example for projective texture.
2018-02-21 10:23:18 -08:00
erwincoumans 8bc39ab11e Merge pull request #1569 from erwincoumans/master
allow to build GLFW version of Bullet examples on Linux (use premake4…
2018-02-21 10:07:39 -08:00