329a1f5a74PyBullet: move TinyRenderer into a plugin, default statically loaded. You can also dynamically load a render plugin, as shown in renderPlugin.py example. premake has a way to compile the tinyRendererPlugin.
erwincoumans
2018-01-17 12:48:48 -08:00
c6a350b807BulletInverseDynaimcs: re-applied fix PyBullet: increase humanoid training from 30 to 300M (need to figure out the right hyperparameters...)
Erwin Coumans
2018-01-16 21:54:46 -08:00
df89ce6f92small refactor of LinkVisualShapesConverter / TinyRendererVisualShapeConverter, it allows to use it in a Python module and in a PyBullet plugin.
erwincoumans
2018-01-16 17:58:19 -08:00
023ec7ce9eMerge pull request #1515 from erwincoumans/master
erwincoumans
2018-01-16 17:28:46 -08:00
173eec93fcMerge pull request #1513 from erwincoumans/master
erwincoumans
2018-01-16 10:20:14 -08:00
055930817eapply a maximum velocity for the KUKA arm, otherwise motion can become very unrealistic
erwincoumans
2018-01-16 10:17:57 -08:00
af43e6465dfix wrong enum type
Erwin Coumans
2018-01-15 15:13:11 -08:00
19ecca396aMerge pull request #1512 from erwincoumans/master
erwincoumans
2018-01-15 14:55:45 -08:00
18c83592f3bump up PyBullet to version 1.8.2
Erwin Coumans
2018-01-15 12:53:41 -08:00
851ca5bfb3Improve PyBullet ports of Roboschool envs: fix reset (it kept adding stadium objects, causing slowdown), now reset uses saveState/restoreState and reset becomes a few orders of magnitude faster. Use python -m pybullet_envs.examples.testEnv --env AntBulletEnv-v0 --render=1 --steps 1000 --resetbenchmark=1
erwincoumans
2018-01-15 12:48:32 -08:00
9ffb05eb3bfix double->float issue by cast, fixes issue #1510 fix possible out-of-bounds access in btMultiBody
erwincoumans
2018-01-15 11:59:00 -08:00
9d405fde67PyBullet: free cached textures PyBullet: bool PhysicsServerCommandProcessor::pickBody, disable collision filtering to allow picking of all objects
erwincoumans
2018-01-15 08:36:08 -08:00
387d3f16dbPyBullet: fix memory leak in case connection to shared memory cannot be made PyBullet: allow setJointMotorControl2 to use maxVelocity in combination with obsolete 'bodyIndex'
erwincoumans
2018-01-15 08:33:19 -08:00
3c770e56fbPyBullet/C-API: only free handle if we found it
erwincoumans
2018-01-14 12:35:40 -08:00
0919ce0f30PyBullet: fix issue when picking an object while it is remove using PyBullet.removeBody
erwincoumans
2018-01-14 11:01:57 -08:00
d83cf58731Merge pull request #1509 from erwincoumans/master
erwincoumans
2018-01-13 18:14:52 -08:00
ed890f23e6add implicit plane_implicit.urdf and use it in humanoid_running.py (numpy version)
erwincoumans
2018-01-13 13:47:28 -08:00
e961800278parse plane geom for URDF files (not just SDF)
erwincoumans
2018-01-13 13:41:46 -08:00
1b569c0701Add humanoid_running.py using just numpy (no tensorflow, no gym) for testing
erwincoumans
2018-01-13 13:39:57 -08:00
c7a4222b58Merge pull request #1506 from erwincoumans/master
erwincoumans
2018-01-12 09:02:51 -08:00
1875652d8fadd cup example, generated using vhacd
Erwin Coumans
2018-01-12 09:01:16 -08:00
0e41cc65c9bump up pybullet version
Erwin Coumans
2018-01-11 21:11:27 -08:00
79051b7611allow 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"]
Erwin Coumans
2018-01-11 21:04:08 -08:00
cdbd93e519Merge pull request #1503 from erwincoumans/master
erwincoumans
2018-01-10 12:22:01 -08:00
22b4809891leave 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.
erwincoumans
2018-01-10 11:16:50 -08:00
c4b1b84687Enable '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
erwincoumans
2018-01-09 22:47:56 -08:00
616d3358bdupdate MinitaurSetup.cpp/h to allow switching between different minitaurs. add getToeForces, thanks to Avik (requires 8 toes!)
erwincoumans
2018-01-09 17:38:51 -08:00
8879ec38d6Merge pull request #1501 from erwincoumans/master
erwincoumans
2018-01-09 15:55:00 -08:00
15a429f1bfpremake build system fixes
erwincoumans
2018-01-09 12:23:25 -08:00
e138e85bcaallow 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)
erwincoumans
2018-01-09 10:10:36 -08:00
bf6d805228fix compile issues on Windows after recent softbody patch
erwincoumans
2018-01-09 08:43:00 -08:00
e932583237Merge pull request #1499 from wrosecrans/fix-nproc
erwincoumans
2018-01-09 07:42:12 -08:00
7118470eb6Merge pull request #1500 from YunfeiBai/master
erwincoumans
2018-01-09 07:40:20 -08:00
de3b8bf3c9Merge branch 'master' into master
YunfeiBai
2018-01-08 18:13:03 -08:00
0e0d3da2b5Add python binding and a pybullet example for loading softbody from obj.
yunfeibai
2018-01-08 18:10:28 -08:00
6a74f63604Merge pull request #1498 from erwincoumans/master
erwincoumans
2018-01-08 16:45:28 -08:00
61636038d8bump up pybullet version
Erwin Coumans
2018-01-08 16:16:59 -08:00
90c5d66e1bfix for Python 2.x
Erwin Coumans
2018-01-08 16:15:54 -08:00
a6e817756eBail if cmake or make fails. PRint a friendly message if you make it to the end.
Will Rosecrans
2018-01-08 15:07:14 -08:00
6fa4945da0ln to force mode to suppress message if target already exists.
Will Rosecrans
2018-01-08 15:05:20 -08:00
e2105dfaadFix nproc unavailable
Will Rosecrans
2018-01-08 15:00:20 -08:00
7acd169befTidy build script
Will Rosecrans
2018-01-08 14:48:58 -08:00
1e0d1c2b6dMerge pull request #1496 from erwincoumans/master
erwincoumans
2018-01-08 13:23:44 -08:00
e97b751781further work on urdfEditor.py, fix some serialization issues
Erwin Coumans
2018-01-08 12:25:56 -08:00
d3bc98e245Add filename as an argument in the softbody loading function.
yunfeibai
2018-01-07 19:56:46 -08:00
d077bdec07Change the API names for loading softbody.
yunfeibai
2018-01-07 19:24:37 -08:00
e3e9546960Load the deformable object through obj file. Modify the demo for two way coupling between multibody and softbody.
yunfeibai
2018-01-07 19:06:09 -08:00
a85a4f387bmore work on UrdfEditor.py
Erwin Coumans
2018-01-06 15:00:20 -08:00
9a9aa5e9e7example of joint motor with friction
Erwin Coumans
2018-01-06 13:43:07 -08:00
02e5d51052bump up version
Erwin Coumans
2018-01-05 14:23:45 -08:00
9523df2519warning fix (param name different in header/cpp)
Erwin Coumans
2018-01-04 15:48:59 -08:00
380738308dMerge pull request #1495 from erwincoumans/master
erwincoumans
2018-01-04 15:18:30 -08:00
c59a3763e5tweak 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
Erwin Coumans
2018-01-04 13:14:11 -08:00
6237386c7cMerge pull request #1494 from erwincoumans/master
erwincoumans
2018-01-04 12:11:08 -08:00
79d78a325aStart 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
Erwin Coumans
2018-01-03 19:17:28 -08:00
dc50c0ff3bMerge pull request #1493 from jietan/pullRequest
erwincoumans
2018-01-02 19:45:14 -08:00
85bd1ce2b4Merge remote-tracking branch 'bp/master' into pullRequest
Jie
2018-01-02 18:54:07 -08:00
de11d71246use the right mass for the rotational part of motors.
Jie
2018-01-02 18:53:38 -08:00
a1492f50fcMerge pull request #1492 from erwincoumans/master
erwincoumans
2017-12-31 19:19:35 -08:00
35b44f8a85implement pybullet.saveState command, for in-memory storage of state. bump up pybullet API version (SHARED_MEMORY_MAGIC_NUMBER) to 201801010
Erwin Coumans
2017-12-31 15:37:16 -08:00
515aa9ee9bMerge pull request #1491 from erwincoumans/master
erwincoumans
2017-12-31 13:39:27 -08:00
f104765c47added some template to restore (syncMultiBody, syncContactManifolds) for single float and double precision, in 'pybullet.restoreState'
Erwin Coumans
2017-12-31 11:19:29 -08:00
20e00d11d8further work on saveRestoreState.py
Erwin Coumans
2017-12-30 21:57:42 -08:00
4084c1cc71also add serializeContactManifolds to btSoftMultiBodyDynamicsWorld.cpp and btDiscreteDynamicsWorld.
Erwin Coumans
2017-12-30 14:20:20 -08:00
0326fa93a8made some progress in saving and restoring the state during the simulation, with identical results. Option to de/serialize btPersistentContactManifolds and fix lossy conversion during btMultiBody de/serialization of base world transform (serialize the quaternion, not the converted 3x3 matrix) There are still several caches not taken into account, and btMultiBody links/constraints are not deserialized yet etc. See examples\pybullet\examples\saveRestoreState.py for an example.
Erwin Coumans
2017-12-30 14:19:13 -08:00
e3a85493e8Merge pull request #1484 from rhaps0dy/MJCFImporter
erwincoumans
2017-12-29 10:58:08 -08:00
28803dc56fMerge pull request #1487 from erwincoumans/master
erwincoumans
2017-12-29 10:55:15 -08:00
29cfac096bcompile fix in pybullet.c
Erwin Coumans
2017-12-28 12:57:49 -08:00
5517cbc4e0add segmask_linkindex.py example using p.getCameraImage(320,200,flags=p.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX) to extract object unique id and link index from segmentation mask in getCameraImage
Erwin Coumans
2017-12-28 12:37:07 -08:00
afd1066c50pybullet.getCameraImage: preparation to expose link index in segmentation mask buffer
Erwin Coumans
2017-12-28 10:18:35 -08:00
97547eda0dpreliminary work towards saveState/restoreState and saveRestoreState.py example (not implemented yet) allow multiple options in connect, for example: p.connect(p.GUI, options="--width=640, --height=480")
Erwin Coumans
2017-12-28 10:05:51 -08:00
ddabc6b70cbump up pybullet version
Erwin Coumans
2017-12-23 11:02:22 -08:00
cb2fcfd032Skipping calculateLocalInertia is unnecessary
Adrià Garriga
2017-12-23 17:56:47 +01:00
4d70d54d19Support for reading <inertial> elements from MJCF
Adrià Garriga
2017-12-23 08:49:48 +01:00
799d030874restore multibody world transform and joint angles/velocities from a .bullet file.
Erwin Coumans
2017-12-22 14:45:36 -08:00
60d2af8ed2Merge pull request #1483 from erwincoumans/master
erwincoumans
2017-12-20 17:46:36 -08:00
41f9bb89e5expose API to change the local inertia diagonal, pybullet.ChangeDynamics(objectUid, linkIndex, localInertiaDiagonal=[xx,yy,zz])
erwincoumans
2017-12-20 16:56:31 -08:00
6803c80f89Merge pull request #1482 from erwincoumans/master
erwincoumans
2017-12-20 16:09:01 -08:00
eb35cba740expose local inertia diagonal in C-API, PyBullet, through the 'getDynamicsInfo' render the inertia boxes in examples/pybullet/examples/quadruped.py and examples/pybullet/examples/reset_dynamic_info.py fix an issue where the original margin (0.04) was used to compute the inertia, instead of latest margin
erwincoumans
2017-12-20 14:54:32 -08:00
ecba966890add minitaur rainbow dash (carbon fiber) simulating flexibility in outside brackets using prismatic joints
Erwin Coumans
2017-12-19 14:44:39 -08:00