Erwin Coumans
5de53d7355
PyBullet: add ANYmal.py quadruped example, usage:
...
pip install pybullet
python -m pybullet_envs.examples.ANYmal
2018-05-25 07:54:38 +10:00
Erwin Coumans
ab7bbf4396
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2018-05-24 15:50:02 +10:00
Erwin Coumans
ff4d0b1777
add HelloBulletRobotics C++ example with similar API to PyBullet
...
Add ANYmal quadruped robot URDF to pybullet_data
2018-05-24 15:48:45 +10:00
erwincoumans
abeae7e1e7
Merge pull request #1701 from erwincoumans/master
...
PyBullet: add option to cache graphics shapes for URDF files, handy f…
2018-05-23 14:47:01 +10:00
Erwin Coumans
8ace9251aa
pass by pointer instead of reference to satisy compiler
2018-05-23 14:22:22 +10:00
Erwin Coumans
94da262906
case sensitive header include
2018-05-23 13:51:51 +10:00
Erwin Coumans
77c332bd88
PyBullet: add option to cache graphics shapes for URDF files, handy for benchmarks with many duplicate robots
...
See https://github.com/erwincoumans/pybullet_robots ANYmal.py for an example.
PyBullet: Expose p.setPhysicsEngineParameter(solverResidualThreshold=1e-2) (b3PhysicsParamSetSolverResidualThreshold), increases solver performance a lot
PyBullet: Expose p.setPhysicsEngineParameter(contactSlop) Set it to zero, to avoid issues with restitution.
PyBullet: Expose isNumpyEnabled, return True is PyBullet was compiled with NUMPY support for 'getCameraImage'.
PyBullet: Expose p.ChangeDynamics(objectUid, linkIndex, contactProcessingThreshold), to avoid issues of speculative/predictive contacts with restitution.
See also http://twvideo01.ubm-us.net/o1/vault/gdc2012/slides/Programming%20Track/Vincent_ROBERT_Track_ADifferentApproach.pdf
2018-05-23 13:26:00 +10:00
erwincoumans
f1b4ffaf98
Merge pull request #1699 from benelot/fix-pendula-with-pbclient
...
Fix pendulum & manipulator envs with pybullet client
2018-05-23 08:20:40 +10:00
Benelot
4a16032820
Fix manipulators too.
2018-05-22 18:12:45 +02:00
Benelot
7b219e0ea6
Fix pendula to use the bullet-client.
2018-05-22 16:40:10 +02:00
Erwin Coumans
f5952a73e7
UrdfImporter: Collada DAE, rudimentary support for polylist (for ANYmal), assumes all polygons have 3 vertices
...
remove obsolete env from __init__.py
2018-05-23 00:28:49 +10:00
Erwin Coumans
9a706d9cfd
PyBullet: fix Gym envs
2018-05-23 00:24:03 +10:00
Erwin Coumans
a0a1c9347c
PyBullet: fix in Gym env
2018-05-23 00:18:17 +10:00
Erwin Coumans
a7a6e20d9c
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2018-05-20 14:19:49 +10:00
Erwin Coumans
90939279f9
PyBullet: cmake build, enable DBUILD_PYBULLET_NUMPY=ON
...
fix issue with HalfCheetahBulletEnv-v0 in previous commit
2018-05-20 14:18:53 +10:00
Erwin Coumans
964f52f62d
remove unsupported simpleHumanoid.py, use env = gym.make("HumanoidBulletEnv-v0") instead.
2018-05-20 12:35:33 +10:00
Erwin Coumans
0b2c9ea645
PyBullet: avoid a crash in SHARED_MEMORY_SERVER
2018-05-20 12:20:06 +10:00
Erwin Coumans
bcd209fd93
Merge remote-tracking branch 'bp/master'
2018-05-18 16:25:40 -07:00
Erwin Coumans
701b50ec12
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2018-05-18 16:25:27 -07:00
Erwin Coumans
0abe4151e5
Fix for 1643, allow to instantiate multiple PyBullet Gym environments (Ant, Humanoid, Hopper, Pendula etc) in the same process (same or other thread). It uses the pybullet_utils.bullet_client to achieve this.
2018-05-18 16:23:54 -07:00
erwincoumans
f90bd1f713
Merge pull request #1688 from erwincoumans/master
...
workaround for an out-of-date tinyxml2 version
2018-05-17 13:49:49 -07:00
Erwin Coumans
ff646fbef2
workaround for an out-of-date tinyxml2 version
2018-05-17 12:18:17 -07:00
erwincoumans
8f4d1e722e
Merge pull request #1686 from yuchenericwu2/master
...
Expose CFM parameters
2018-05-16 16:18:45 -07:00
erwincoumans
034dfba3ae
fix VR controllers only visible in one eye (remove stray glClear for testing planar reflection)
...
PyBullet: force both contactStiffness and contactDamping (report error otherwise)
2018-05-16 14:24:12 -07:00
Yuchen Wu
f03ae5a857
Expose CFM parameters in PhysicsClient.
...
Add b3PhysicsParamSetDefaultGlobalCFM() and
b3PhysicsParamSetDefaultFrictionCFM().
2018-05-16 13:46:19 -07:00
erwincoumans
b432daed65
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2018-05-16 12:11:29 -07:00
erwincoumans
0ca2c5f925
use Bullet3Common/b3AlignedObjectArray.h instead of LinearMath version in SharedMemory/PhysicsClientSharedMemory
2018-05-16 12:10:34 -07:00
Erwin Coumans
28b86ba0a4
fix some tsan issues (thread sanitizer)
2018-05-16 08:32:21 -07:00
Erwin Coumans
d17d496f97
fix potential asan/tsan issue
2018-05-15 13:24:28 -07:00
erwincoumans
e5a9b42f9a
expose PyBullet.setPhysicsEngineParameter(jointFeedbackMode)
...
use p.JOINT_FEEDBACK_IN_JOINT_FRAME if you want the joint feedback expressed in joint frame (instead of link inertial frame)
use p.JOINT_FEEDBACK_IN_WORLD_SPACE if you want the joint feedback in world space coordinates, instead of local link/joint coordinates.
Example: p.setPhysicsEngineParameter(jointFeedbackMode=p.JOINT_FEEDBACK_IN_WORLD_SPACE+p.JOINT_FEEDBACK_IN_JOINT_FRAME)
2018-05-11 19:52:06 -07:00
erwincoumans
1ec24a0853
fix PyBullet.applyExternalTorque for links (instead of base)
2018-05-11 19:35:27 -07:00
Erwin Coumans
e86d11f7b9
PyBullet combineUrdf, make createMultiBody much faster, by temporarily disabling rendering
2018-05-10 20:52:51 -07:00
erwincoumans
06a23ecd6d
PyBullet TinyRenderer, fix cylinder (don't add caps like a capsule), also convert colors stored in visual shapes, if needed.
2018-05-10 18:37:48 -07:00
erwincoumans
e488603603
UrdfEditor: fix indentation, causing an issue when a link had no collision shape but visual shapes
2018-05-10 18:05:50 -07:00
erwincoumans
80bab22b9c
urdfEditor: add euler -> quaternion conversions (otherwise orientations get silently ignored)
...
urdfEditor: move combine code into UrdfEditor.joinUrdf
urdfEditor: Fix geom_length
2018-05-10 15:08:00 -07:00
erwincoumans
3116cd82da
fix MSVC 2010 compile issue
...
urdfEditor: fix scale incorrectly saved in urdfEditor.saveUrdf
urdfEditor: fix linkMeshScaleArray in wrong location
2018-05-10 12:04:13 -07:00
Erwin Coumans
a0e72b2ae3
Merge branch 'master' of https://github.com/erwincoumans/bullet3
...
# Conflicts:
# examples/pybullet/gym/pybullet_utils/examples/combineUrdf.py
2018-05-09 10:29:20 -07:00
Erwin Coumans
414b3ef9bb
PyBullet urdfEditor improvements: saveUrdf mesh scale, fix incorrect index, add getCameraImage in examples/combineUrdf.py
2018-05-09 10:28:12 -07:00
Erwin Coumans
be7c6ac967
PyBullet add getCameraImage to debug urdfEditor/createMultiBody
2018-05-08 23:23:53 -07:00
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
Erwin Coumans
3a4d1799d8
remove "DO NOT SUBMIT" comments, it blocks commits in google3
2018-05-07 17:35:55 -07:00
Erwin Coumans
0b5785421b
PyBullet: re-add API to header
2018-05-07 16:59:06 -07:00
Erwin Coumans
7bc85c7d43
PyBullet.SHARED_MEMORY_SERVER, use secondary key for server
2018-05-07 16:01:38 -07:00
Erwin Coumans
7383843b24
expose PyBullet.SHARED_MEMORY_SERVER
...
connect from 1 different PyBullet client using PyBullet.SHARED_MEMORY)
(don't use more than 1 other client to submit commands in parallel)
2018-05-07 15:57:36 -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
YunfeiBai
e5036fbc3a
Merge remote-tracking branch 'upstream/master'
2018-05-03 10:48:55 -07:00