Erwin Coumans
2eace2f715
update mpi usage
2019-02-01 19:20:08 -08:00
Erwin Coumans
176edeff1e
add mpi_run version (not working yet)
2019-02-01 17:57:31 -08:00
Erwin Coumans
1cef924973
deepmimic fix: reference initialization wasn't spread over all frames
2019-02-01 17:18:13 -08:00
Erwin Coumans
7cc2685faf
enable deepmimic training on mac
2019-02-01 16:24:48 -08:00
erwincoumans
63e781b88b
PyBullet env for DeepMimic (preliminary work-in-progress)
2019-01-31 21:32:51 -08:00
erwincoumans
5d871806eb
enable stable PD plugin in premake4.lua PyBullet
...
add a normalize in the setRotation axis/angle to be sure.
Add more code from the DeepMimic project, training doesn't work yet.
2019-01-31 21:31:26 -08:00
Erwin Coumans
63683e8f02
fix Issue 2039
2019-01-28 16:24:44 -08:00
Erwin Coumans
0818112ede
fix some gym envs
2019-01-28 16:21:52 -08:00
erwincoumans
c97d1041ed
Merge pull request #2037 from araffin/update-gym
...
Update gym envs
2019-01-28 10:14:09 -08:00
erwincoumans
505cb15600
proto2csv
2019-01-27 12:11:40 -08:00
erwincoumans
6c2568bf5e
PyBullet Minitaur: Fix Minitaur logging (binary file)
...
PyBullet Minitaur: Add minitaur_raibert_controller_example.py
2019-01-27 11:37:35 -08:00
erwincoumans
03549ca7c6
pass force as array instead of value
2019-01-23 17:24:10 -08:00
gaurav pathak
7f73081a89
Added code for issue #2036
...
Made necessary changes to ```humanoid_deep_mimic_env.py``` file, setting ```initial_frame``` to new position after simulation steps and setting ```SimTime``` using this new initial frame time
2019-01-03 18:17:08 -05:00
Antonin RAFFIN
f9fdf89c06
Fix indentation
2018-12-31 12:52:43 +01:00
Antonin RAFFIN
1c61b629e3
Fix formating issues
2018-12-31 12:48:42 +01:00
Antonin RAFFIN
0df3527884
Fix gym deprecation warnings
2018-12-28 14:30:05 +01:00
Erwin Coumans
2e30a9565b
add humanoid_deepmimic_gym_env.py for HumanoidDeepMimicBulletEnv-v1 (still untested)
2018-11-25 15:33:28 -08:00
erwincoumans
bb6f4fb17c
improve the ARS implementation: add multiprocessing Gym environment stepping, add command-line parameters to resume a policy, --render, --movie, --steps, --env
2018-11-24 11:54:36 -08:00
erwincoumans
ca36a82c62
add deepmimic args file (for testing)
...
implement deepmimic reward function (only joint angles/velocities for now)
fix an out-of-date comment, related to contactPoint.m_lateralFrictionInitialized in btSequentialImpulseConstraintSolver.cpp
2018-11-23 18:32:23 -08:00
erwincoumans
121cdc91b0
more work on PyBullet implementation of DeepMimic humanoid mimic of motion capture.
...
b3Quaternion, deal with zero-length axis (in axis,angle constructor)
2018-11-21 11:09:10 -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
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
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
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
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
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
3a4d1799d8
remove "DO NOT SUBMIT" comments, it blocks commits in google3
2018-05-07 17:35:55 -07:00