erwincoumans
f93e4e4553
fix mjcf2urdf.py for Python 3 (utf) and don't export visuals (let it auto-convert from collision element)
2018-11-21 11:07:05 -08:00
erwincoumans
41e28e3587
Add link/joint names for DeepMimic humanoid urdf
2018-11-20 21:40:20 -08:00
Erwin Coumans
bded2968ea
add PyBullet.rotateVector method
...
add missing walk humanoid3d_walk.txt
2018-11-19 10:10:33 -08:00
erwincoumans
9e99f5cdbc
Expose PyBullet.calculateVelocityQuaternion, getAxisAngleFromQuaternion, getQuaternionFromAxisAngle, getDifferenceQuaternion
...
Add preparation for DeepMimic humanoid environment, replicating parts of https://github.com/xbpeng/DeepMimic
Loading humanoid.urdf and applying motion action: examples/pybullet/gym/pybullet_envs/mimic/humanoid.py
Loading MotionCapture data: examples/pybullet/gym/pybullet_envs/mimic/motion_capture_data.py
Little test: examples/pybullet/gym/pybullet_envs/mimic/humanoid_test.py
2018-11-16 17:29:03 -08:00
erwincoumans
a06b5de7b6
add converted humanoid from DeepMimic ( https://github.com/xbpeng/DeepMimic ,
...
thanks to Jason Peng), and motion capture playback example.
See also https://www.youtube.com/watch?v=vw3EKnKrgqw
2018-11-11 20:15:47 -08:00
erwincoumans
0b2142414d
fix usage of btMultiBody::setJointPosMultiDof/setJointVelMultiDof
2018-11-11 19:04:07 -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
131535a99f
remove debug stats
2018-10-31 21:24:44 -07:00
Erwin Coumans
8e82de1b00
add rudimentary MuJoCo mjcf xml to ROS URDF file, based on
...
pybullet_utils.urdfEditor
2018-10-31 11:02:19 -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
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
erwincoumans
b5e475aec3
enable planar reflection in MinitaurGymEnv
...
enable follow cam in other Gym locomotion environments
add testing assets for multi-material obj files -> sdf conversion.
Also use ER_NO_SEGMENTATION_MASK flag for TinyRenderer/EGL plugin renderer
2018-10-14 15:10:19 -07:00
Joshua Aduol
cc4c02edc7
Fixed bugs mistaking forearm_roll_joint for upper_arm_roll_joint
2018-09-09 00:17:06 +01:00
erwincoumans
0d8564db22
PyBullet: added preliminary DART and MuJoCo backend files, MuJoCo can loadMJCF, stepSimulation and getBasePositionAndOrientation, DART is empty.
...
PyBullet: add 2d biped example.,
2018-07-01 14:42:32 -07:00
Alexis David Jacq
6adea4964f
forgot one "isAlive" to change
2018-06-16 14:00:05 +02:00
Alexis David Jacq
50b5edd7b5
isDone instead of isAlive
2018-06-16 13:53:05 +02:00
Alexis David Jacq
292a3f1cf6
methode isAlive
...
Method def isAlive(self), which defaults to return self._alive < 0, and each environment can override this method (Half Cheetah would implement return False)
(In response to bea468fb93
)
2018-06-15 17:55:20 +02:00
Alexis David Jacq
a57c480f28
Update gym_locomotion_envs.py
...
As suggested in https://github.com/bulletphysics/bullet3/pull/1759 . The default isDone lets done = alive<0, and a special case is made for halfcheetah, forcing done=False.
I had to pass the 'alive' condition as an additive parameter of WalkerBaseBulletEnv.
2018-06-15 17:38:35 +02:00
Erwin Coumans
e24da97140
revert GJK change yet again, some degenerate case / regression
2018-06-12 19:52:38 -07:00
Erwin Coumans
e74f86d148
remove ANYmal meshes
2018-06-11 07:44:05 -07:00
erwincoumans
5ede227e94
Update robot_bases.py
...
remove print
2018-06-05 19:33:28 -07:00
erwincoumans
b6f5cb4c34
enable pdControlPlugin by default (requires pdControlPlugin.cpp and b3RobotSimulatorClientAPI_NoDirect.cpp)
...
add pdControl.py example, make pdControlPlugin functional
reduce memory usage
fix examples/pybullet/gym/pybullet_data/random_urdfs/948/948.urdf, fixes issue #1704
2018-06-05 15:59:01 -07:00
Erwin Coumans
e74cd05e37
add space
2018-05-31 21:21:50 -07:00
Erwin Coumans
76e88dddc5
add space to make conversion work
2018-05-31 18:16:40 -07:00
Erwin Coumans
39808ddfdf
allow to run minitaur environment examples from pip version, like this:
...
python -m pybullet_envs.minitaur.envs.minitaur_trotting_env_example
python -m pybullet_envs.minitaur.envs.minitaur_reactive_env_example
2018-05-29 09:28:31 -07:00
Erwin Coumans
efe9161670
fix cmake build
2018-05-26 08:46:12 +10:00
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
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
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
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