Commit Graph

2904 Commits

Author SHA1 Message Date
Tigran Gasparian
34db76d263 Adds an option to syncUserData to specify the bodies for which to sync. 2020-01-23 14:46:33 +01:00
Tigran Gasparian
899d53ee29 Added null check. 2020-01-21 19:40:22 +01:00
Tigran Gasparian
a88ffea416 . 2020-01-17 13:30:26 +01:00
Tigran Gasparian
68d3fb28e0 Adds support for loading user data from URDF files. 2020-01-17 11:55:42 +01:00
Erwin Coumans
1be6a1d16b fix loadpanda video generation
remove duplicate code (formerly Windows ffpmeg needed different settings?)
2020-01-12 08:07:54 -08:00
Erwin Coumans
84e2ea918c add xarm, modify loadpanda to work with pybullet_robots module 2020-01-12 07:20:32 -08:00
Erwin Coumans
fb15aea414 add example robots in pybullet_robots module 2020-01-12 07:11:57 -08:00
Erwin Coumans
3ca233193f : 2020-01-12 07:03:38 -08:00
Erwin Coumans
2f08938110 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2020-01-11 16:52:01 -08:00
erwincoumans
66ffa329c8
Merge pull request #2577 from xhan0619/master
Add position error into deformable vs. rigid contact
2020-01-11 16:05:15 -08:00
erwincoumans
a9615258d3
Merge pull request #2580 from erwincoumans/master
add --mp4fps=30 command line parameter for ExampleBrowser, various other fixes
2020-01-11 15:14:11 -08:00
Erwin Coumans
d328406cfa Merge branch 'master' of https://github.com/erwincoumans/bullet3 2020-01-11 13:17:00 -08:00
Erwin Coumans
8b578093a3 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2020-01-11 13:16:47 -08:00
Erwin Coumans
eee7bcbc14 remove debug/profile tag 2020-01-11 13:16:12 -08:00
Erwin Coumans
3f11b03255 add friction anchors for Panda gripper (prevents/reduces sliding objects out of gripper) 2020-01-11 13:13:28 -08:00
Erwin Coumans
8f8bbbee3b example how to create a video using PyBullet using GUI mode with ffmpeg, synchronizing video with stepSimulation at specific frame rate (240 Hz for example) 2020-01-11 13:06:45 -08:00
Erwin Coumans
2336dfcb9e Remove a temporary global static work matrix in the BussIK, since it conflicts with multithreaded applications.
Instead, let the user pass it in explicitly.
2020-01-11 12:43:27 -08:00
Erwin Coumans
83bdef8254 add --mp4fps=30 command line parameter for ExampleBrowser (and using pybullet.connect(p.GUI, options="--mp4fps=30 --mp4=\"testvideo.mp4\"") 2020-01-11 12:19:42 -08:00
erwincoumans
88826da6b5
Merge pull request #2576 from dmcconachie/DeformableGravity
[BUGFIX] Update existing deformable gravity forces on gravity change.
2020-01-09 21:30:48 -08:00
Erwin Coumans
8ebdf7862c fix b3RobotSimulatorClientAPI_NoDirect::changeConstraint API 2020-01-09 17:56:21 -08:00
Dale McConachie
b526c01bec Update existing deformable gravity forces on gravity change. 2020-01-09 16:24:32 -05:00
Erwin Coumans
5cd4647943 fix submitProfileTiming API in b3RobotSimulatorClientAPI_NoDirect 2020-01-09 10:40:14 -08:00
erwincoumans
c85e8f038b
Merge pull request #2574 from erwincoumans/master
fix indexing issue removing graphics shape in tinyrenderer plugin (us…
2020-01-08 21:20:52 -08:00
Erwin Coumans
07cdae8c6e also apply TinyRenderer remove shape fix for rigid body and soft body/deformable 2020-01-08 14:02:32 -08:00
Erwin Coumans
6fde189735 fix indexing issue removing graphics shape in tinyrenderer plugin (use getUserIndex3 instead of broadphase uid) 2020-01-08 13:49:41 -08:00
erwincoumans
2dcb372080
Merge pull request #2565 from araffin/feat/sb-example
Add Stable-Baselines example with SAC and TD3
2020-01-08 11:51:35 -08:00
Xuchen Han
ee2a811c09 parameter tweaks after testing on robot 2020-01-04 19:29:52 -08:00
Erwin Coumans
3cdbc4cc29 fix CartPoleBulletEnv-v1 and add CartPoleContinuousBulletEnv-v0 (continuous version) 2020-01-02 19:33:57 -08:00
Erwin Coumans
3c8cf390d4 one more fix in previous commit related to bullet_client.py 2020-01-02 14:45:42 -08:00
Antonin RAFFIN
adad4dc402 Update buffer size 2020-01-02 14:47:30 +01:00
Antonin RAFFIN
59c61a46bb Simplify imports 2020-01-02 11:12:45 +01:00
Antonin RAFFIN
da0483b03a Add colab notebook 2020-01-02 11:06:39 +01:00
Antonin RAFFIN
9c969614bc Add Stable-Baselines example with SAC and TD3 2020-01-02 11:00:45 +01:00
Erwin Coumans
c39afa61cb revert bullet_client.py 2020-01-01 20:27:27 -08:00
Erwin Coumans
a9455ce891 add 'runServer.py' script in pybullet_utils, this will run a GUI server
that accepts SHARED_MEMORY connections. Handy if you run a pybullet_envs Gym environment
and want to visualize it. By default, bullet_client will try to connect to a shared memory connection first.
2020-01-01 18:53:32 -08:00
Erwin Coumans
b6dea7ba64 fix a few pybullet Gym environments for rendering in stable_baselines
if PYBULLET_EGL environment is set, try to enable EGL for faster rendering
bump up pybullet to 2.6.2
2020-01-01 18:47:46 -08:00
Xuchen Han
a274bcbfa3 add position error into deformable vs. rigid solve 2019-12-31 19:18:37 -08:00
Erwin Coumans
528bd28e34 increase plane from 30 to 200 (to allow quadrupeds to run further, not fall off cliff)
fix issue with gym.wrappers in pybullet_envs.agents.visualize_ppo.py
2019-12-31 18:13:49 -08:00
Xuchen Han
78a8ddb466 change default damping model for mass spring to the angular momentum conserving one 2019-12-31 14:08:21 -08:00
Xuchen Han
4ab550d358 update deformable demos 2019-12-31 14:05:45 -08:00
Xuchen Han
442047a862 more bug fixes 2019-12-27 13:16:31 -08:00
Erwin Coumans
ffc76fbf6d add xarm 6 example with inverse kinematics (IK) that runs about 150 microseconds (Ryzen 3900x) 2019-12-22 17:17:37 -08:00
erwincoumans
830f0a9565
Merge pull request #2550 from xhan0619/master
Group deformable constraint solves by islands
2019-12-20 16:26:32 -08:00
Xuchen Han
6a8973d2f4 address PR comment and tune parameters for cloth 2019-12-19 21:51:54 -08:00
Erwin Coumans
7a4023430a fix pybullet.submitProfileTiming 2019-12-19 18:05:41 -08:00
Erwin Coumans
9c7e6d6a48 enable programmatic creation of spherical joint 2019-12-19 16:56:09 -08:00
Xuchen Han
4ab0387262 Merge remote-tracking branch 'origin/master'
merge origin/master
2019-12-18 23:18:16 -08:00
erwincoumans
7584847f33
Merge pull request #2537 from erwincoumans/master
fix pybullet_envs path, pybullet version to 2.6.0, allow clang-cl on Windows
2019-12-17 19:06:11 -08:00
Xuchen Han
f65a8b03c0 separate deformable contact solve by islands WIP 2019-12-17 18:27:23 -08:00
Chuyuan Fu
0f477e27ae add link index to setdamping C APIs. If link index is not set, the command is igored for rigidbody 2019-12-17 13:48:34 -08:00