Commit Graph
8206 Commits
Author SHA1 Message Date
Erwin Coumans 377069bfa5 add laikago/xarm in pybullet_robots 2020-03-22 11:37:08 -07:00
Erwin Coumans e09dc74bd8 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2020-03-21 18:52:30 -07:00
Erwin Coumans d71a787481 more tcp networking stuff (remove shared memory from tcp example) 2020-03-21 18:47:55 -07:00
Erwin Coumans 663c7ddc54 more TCP remote fixes 2020-03-20 21:12:45 -07:00
Erwin Coumans 1e3bc22483 linux fixes 2020-03-20 20:19:15 -07:00
Erwin Coumans c4898ed3e3 more tcp tuning 2020-03-20 18:46:10 -07:00
Erwin Coumans 6cedf26f24 more tcp fixes 2020-03-20 17:47:13 -07:00
Erwin Coumans 4cbc8c2a8d set tcp timeouts for send/receive 2020-03-20 16:58:18 -07:00
Erwin Coumans 99c7c32b10 tcp fixes and allow to run graphics server on mainloop (for Mac) 2020-03-20 16:50:44 -07:00
Erwin Coumans 911355fe62 fixes for Mac OSX 2020-03-20 15:57:19 -07:00
Erwin Coumans 344bd629ee embed TCP graphics server in PyBullet for easier working-from-home
This allows to render at a different machine, sending all assets across the TCP network, using port 6667 by default.
You can use ssh port forwarding to get this working:
ssh -R 6667:localhost:6667 username@remotehost.com -v

python3 -m pybullet_utils.graphicsServer
python3 -m pybullet_utils.graphicsClient

Note that there are still some tcp networking issues that can cause a hang, just restart graphics server and graphics client if it hangs.
2020-03-20 15:43:52 -07:00
Erwin Coumans c06859723b Embed graphics server (shared memory) in PyBullet. Use pybullet.connect(pybullet.GRAPHICS_SERVER) to enable it.
TODO: enable for Mac OSX on mainloop, add tcp bridges from and to shared memory.
2020-03-19 14:18:35 -07:00
Erwin Coumans d3fdf434ed few more fixes in pybullet setup.py 2020-03-17 10:38:51 -07:00
Erwin Coumans 88ce0be26b fix int64_t 2020-03-17 17:20:57 -07:00
Erwin Coumans d31c248751 fixes for compilation on Visual C++ for Python 9.0
bump up to PyBullet 2.6.9
2020-03-17 17:10:47 -07:00
Erwin Coumans 9c53c52847 fix BulletRoboticsGUI target 2020-03-17 00:06:12 -07:00
Erwin Coumans fde6cffecc create BulletRoboticsGUI CMake target, pybullet links against it
fix BulletRobotics header install
2020-03-16 23:15:18 -07:00
Erwin Coumans d0c0c9584d pybullet -> 2.6.8 2020-03-16 18:08:02 -07:00
Erwin Coumans 1507431a32 Merge remote-tracking branch 'bp/master' 2020-03-16 18:06:28 -07:00
Erwin Coumans 1640eef937 pybullet: enable getMeshData for multibody/rigid body (and filter on collisionShapeIndex for compound shapes) 2020-03-17 00:38:12 -07:00
Erwin Coumans 7991012f9d pybullet: fixes in polyhedral feature generation 2020-03-16 23:32:26 -07:00
Erwin Coumans 27fbbfee7f pybullet removeAllParameters (sliders, buttons)
pybullet addUserDebugParameter adds button instead of slider, if min > max.
2020-03-16 21:29:30 -07:00
erwincoumans 0bae3a4967 Merge pull request #2674 from erwincoumans/master
Update README.md
2020-03-15 21:45:32 -07:00
erwincoumans b105764470 Update README.md 2020-03-15 21:44:54 -07:00
erwincoumans 9781e43049 Merge pull request #2673 from erwincoumans/master
also include inl files in PyBullet MANIFEST
2020-03-15 21:32:29 -07:00
Erwin Coumans c0c88b7e71 Merge remote-tracking branch 'bp/master' 2020-03-15 21:13:01 -07:00
erwincoumans 07b9194e15 Merge pull request #2667 from xhan0619/teleport
Teleport deformables
2020-03-15 21:12:26 -07:00
Erwin Coumans c09d43fbaa also include inl files 2020-03-15 19:31:58 -07:00
Xuchen Han 27d2cdaef0 Merge remote-tracking branch 'xuchen/master' into teleport 2020-03-15 19:29:06 -07:00
erwincoumans e8c873a5cd Merge pull request #2672 from erwincoumans/master
embed V-HACD directly into PyBullet
2020-03-15 19:18:11 -07:00
Erwin Coumans 661ffe8820 bump up PyBullet to 2.6.7 2020-03-15 19:16:57 -07:00
Erwin Coumans 17c6839a77 add example of using vhacd in pybullet 2020-03-15 18:15:14 -07:00
Erwin Coumans f0528db5e9 embed V-HACD directly into Pybullet to make it easier to use:
pip3 install pybulle
import pybullet as p
p.connect(p.DIRECT)
p.vhacd("teddy.obj", "teddy_large_newout.obj", "newlog.txt", depth=2,resolution=1000000)
2020-03-16 00:38:52 -07:00
Erwin Coumans 1c39f763bb Merge branch 'master' of https://github.com/erwincoumans/bullet3 2020-03-15 22:55:07 -07:00
Erwin Coumans 623bd27bac VHACD -> use Bullet/src/LinearMath instead of a copy of those files 2020-03-15 22:54:01 -07:00
erwincoumans 8721482e7b Merge pull request #2670 from erwincoumans/master
convert upper/lower limits in urdfEditor.py
2020-03-15 12:53:54 -07:00
erwincoumans 1d5c633b2d Merge pull request #2661 from xhan0619/master
Support Deformable Picking and Add Demo for Physics Parameters.
2020-03-13 20:50:58 -07:00
Erwin Coumans 2d5e8ea1f3 convert upper/lower limits in urdfEditor.py 2020-03-13 20:49:39 -07:00
Xuchen Han a807d4c0c1 Fix include for std::numerical_limits; Fix uninitialized params 2020-03-13 15:03:08 -07:00
Xuchen Han 0a66818841 Use latest mouse position for picking force 2020-03-13 14:52:13 -07:00
Xuchen Han 2d3cd509eb Fix divide by zero error in repulsion force 2020-03-13 14:52:13 -07:00
Xuchen Han 4730dab4bb Address PR comments 2020-03-13 14:52:13 -07:00
Chuyuan Fu f43c40f694 fix space 2020-03-13 14:52:13 -07:00
Chuyuan Fu b4bfe4fa99 fix rigidbody activation 2020-03-13 14:52:13 -07:00
Erwin Coumans 4d0d8a189c increase the number of steps from 1000 to 2000, to mimic multiple cycles 2020-03-13 14:52:13 -07:00
Erwin Coumans ca5061fac3 set correct reward for deep_mimic gymenv (max episode = 1000 steps, 1 reward at each step)
terminate testrl.py at 1000, show reward
2020-03-13 14:52:12 -07:00
Erwin Coumans 9ecd0884d9 Connect deep_mimic_env.py to internal pybullet_deep_mimic_env.py
This adds two untested Gym environments to pybullet_envs. todo: train using PPO2 etc
HumanoidDeepMimicBackflipBulletEnv-v1
HumanoidDeepMimicWalkBulletEnv-v1
2020-03-13 14:52:12 -07:00
Erwin Coumans 812c675d4c prepare towards HumanoidDeepMimicBackflipBulletEnv-v1 and HumanoidDeepMimicWalkBulletEnv-v1
remove unused SubprocVecEnv from stable_baselines/enjoy.py
2020-03-13 14:52:12 -07:00
Erwin Coumans 55de20b945 add flag to assure deterministicOverlappingPairs 2020-03-13 14:52:12 -07:00
Erwin Coumans 91df837a79 use PyBullet's own visualizer for enjoy script, + add a time.sleep since it is way too fast (1000FPS for cart pole) 2020-03-13 14:52:12 -07:00