Commit Graph

6091 Commits

Author SHA1 Message Date
erwincoumans
e961800278 parse plane geom for URDF files (not just SDF) 2018-01-13 13:41:46 -08:00
erwincoumans
1b569c0701 Add humanoid_running.py using just numpy (no tensorflow, no gym) for testing 2018-01-13 13:39:57 -08:00
Erwin Coumans
1875652d8f add cup example, generated using vhacd 2018-01-12 09:01:16 -08:00
Erwin Coumans
0e41cc65c9 bump up pybullet version 2018-01-11 21:11:27 -08:00
Erwin Coumans
f4cc95c0d8 Merge remote-tracking branch 'bp/master' 2018-01-11 21:10:48 -08:00
Erwin Coumans
79051b7611 allow to use colors from MJCF file as option (default to random Google colors), use p.loadMJCF(filename, flags=p.URDF_MJCF_COLORS_FROM_FILE
fix quadruped.py example.
add PyBullet.isConnected() API, more friendly than PyBullet.getConnectionInfo()["connected"]
2018-01-11 21:04:08 -08:00
erwincoumans
cdbd93e519
Merge pull request #1503 from erwincoumans/master
update MinitaurSetup.cpp/h to allow switching between different minit…
2018-01-10 12:22:01 -08:00
erwincoumans
22b4809891 leave m_useGlobalVelocities to false, until enabled, for backward compatibility
use URDF_GLOBAL_VELOCITIES_MB flag in PyBullet loadURDF.
fix robot_bases.py due to new fields in getJointInfo.
backward compabitibility: BulletMJCFImporter, keep creating btMultiSphereShape for MJCF capsules with fromto, instead of shifted btCapsuleShapeZ, unless if CUF_USE_IMPLICIT_CYLINDER is used.
2018-01-10 11:16:50 -08:00
erwincoumans
c4b1b84687 Enable 'global absolute velocities' by default for btMultiBody. See 8.3.2B Proposed resolution Jakub Stepien PhD Thesis
https://drive.google.com/file/d/0Bz3vEa19XOYGNWdZWGpMdUdqVmZ5ZVBOaEh4ZnpNaUxxZFNV/view?usp=sharing
Fixes crashes due to rendering of softbody wireframe in the wrong thread (needs to be in 'debug' rendering section)
Use btCapsuleShapeZ instead of btMultiSphereShape when converting MJCF MuJoCo capsules using fromto
2018-01-09 22:47:56 -08:00
Erwin Coumans
164d3e62c3 remove testing getToeForces 2018-01-09 18:13:34 -08:00
erwincoumans
616d3358bd update MinitaurSetup.cpp/h to allow switching between different minitaurs. add getToeForces, thanks to Avik (requires 8 toes!) 2018-01-09 17:38:51 -08:00
erwincoumans
8879ec38d6
Merge pull request #1501 from erwincoumans/master
expose backward compatibility APIs (implicit cylinder conversion, deterministic overlapping pairs)
2018-01-09 15:55:00 -08:00
erwincoumans
15a429f1bf premake build system fixes 2018-01-09 12:23:25 -08:00
erwincoumans
e138e85bca allow to enable/disable implicit cylinder conversion through an API
p.loadURDF("r2d2.urdf", flags=p.URDF_USE_IMPLICIT_CYLINDER)
allow to enable/disable deterministicOverlappingPairs through an API
p.setPhysicsEngineParameter(deterministicOverlappingPairs = False)
2018-01-09 10:10:36 -08:00
erwincoumans
bf6d805228 fix compile issues on Windows after recent softbody patch 2018-01-09 08:43:00 -08:00
erwincoumans
e932583237
Merge pull request #1499 from wrosecrans/fix-nproc
Tidy up cmake build script
2018-01-09 07:42:12 -08:00
erwincoumans
7118470eb6
Merge pull request #1500 from YunfeiBai/master
Load softbody from obj file.
2018-01-09 07:40:20 -08:00
YunfeiBai
de3b8bf3c9
Merge branch 'master' into master 2018-01-08 18:13:03 -08:00
yunfeibai
0e0d3da2b5 Add python binding and a pybullet example for loading softbody from obj. 2018-01-08 18:10:28 -08:00
erwincoumans
6a74f63604
Merge pull request #1498 from erwincoumans/master
fix for python 2.x
2018-01-08 16:45:28 -08:00
Erwin Coumans
61636038d8 bump up pybullet version 2018-01-08 16:16:59 -08:00
Erwin Coumans
90c5d66e1b fix for Python 2.x 2018-01-08 16:15:54 -08:00
Will Rosecrans
a6e817756e Bail if cmake or make fails. PRint a friendly message if you make it to the end. 2018-01-08 15:07:14 -08:00
Will Rosecrans
6fa4945da0 ln to force mode to suppress message if target already exists. 2018-01-08 15:05:20 -08:00
Will Rosecrans
e2105dfaad Fix nproc unavailable 2018-01-08 15:00:20 -08:00
Will Rosecrans
7acd169bef Tidy build script 2018-01-08 14:48:58 -08:00
erwincoumans
1e0d1c2b6d
Merge pull request #1496 from erwincoumans/master
warning fix (param name different in header/cpp)
2018-01-08 13:23:44 -08:00
Erwin Coumans
f39d83580b Merge remote-tracking branch 'bp/master' 2018-01-08 12:29:32 -08:00
Erwin Coumans
e97b751781 further work on urdfEditor.py, fix some serialization issues 2018-01-08 12:25:56 -08:00
yunfeibai
d3bc98e245 Add filename as an argument in the softbody loading function. 2018-01-07 19:56:46 -08:00
yunfeibai
d077bdec07 Change the API names for loading softbody. 2018-01-07 19:24:37 -08:00
yunfeibai
e3e9546960 Load the deformable object through obj file. Modify the demo for two way coupling between multibody and softbody. 2018-01-07 19:06:09 -08:00
Erwin Coumans
a85a4f387b more work on UrdfEditor.py 2018-01-06 15:00:20 -08:00
Erwin Coumans
9a9aa5e9e7 example of joint motor with friction 2018-01-06 13:43:07 -08:00
Erwin Coumans
02e5d51052 bump up version 2018-01-05 14:23:45 -08:00
Erwin Coumans
9523df2519 warning fix (param name different in header/cpp) 2018-01-04 15:48:59 -08:00
Erwin Coumans
dfbb586cba Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-01-04 15:45:04 -08:00
erwincoumans
380738308d
Merge pull request #1495 from erwincoumans/master
tweak ImportMJCFSetup.cpp example MJCF humanoid a bit, clamp target p…
2018-01-04 15:18:30 -08:00
Erwin Coumans
c59a3763e5 tweak ImportMJCFSetup.cpp example MJCF humanoid a bit, clamp target positions to be within joint limits to avoid solver problems (conflicting constraints)
add humanoid_manual_control.py PyBullet example which is similar to ImportMJCFSetup.cpp
2018-01-04 13:14:11 -08:00
erwincoumans
6237386c7c
Merge pull request #1494 from erwincoumans/master
Start of a urdfEditor.py, limited support to extract a URDF from a Py…
2018-01-04 12:11:08 -08:00
Erwin Coumans
23efbdb593 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-01-04 12:10:31 -08:00
Erwin Coumans
4743d2770a fix recently introduced crashing bug in MJCF reader
due to https://github.com/bulletphysics/bullet3/pull/1484 (Issue 1484)
2018-01-03 21:47:58 -08:00
Erwin Coumans
36c258fd3d fix PhysicsLoopBack 2018-01-03 21:38:09 -08:00
Erwin Coumans
60b5ffc13a Merge remote-tracking branch 'bp/master' 2018-01-03 21:34:29 -08:00
erwincoumans
577ee86012
Update README.md 2018-01-03 19:30:12 -08:00
Erwin Coumans
79d78a325a Start of a urdfEditor.py, limited support to extract a URDF from a PyBullet body.
Use btCylinderShapeZ for URDF cylinder, instead of converting it to a btConvexHullShape.
Implement PyBullet.getCollisionShapeData
Extend PyBullet.getDynamicsInfo / b3GetDynamicsInfo, remove flag (don't rely on API returning a fixed number of elements in a list!)
Extend PyBullet.getJointInfo: add parentIndex
2018-01-03 19:17:28 -08:00
erwincoumans
dc50c0ff3b
Merge pull request #1493 from jietan/pullRequest
Pull request
2018-01-02 19:45:14 -08:00
Jie
85bd1ce2b4 Merge remote-tracking branch 'bp/master' into pullRequest 2018-01-02 18:54:07 -08:00
Jie
de11d71246 use the right mass for the rotational part of motors. 2018-01-02 18:53:38 -08:00
erwincoumans
a1492f50fc
Merge pull request #1492 from erwincoumans/master
implement pybullet.saveState command, for in-memory storage of state.
2017-12-31 19:19:35 -08:00