Erwin Coumans
5fd11fe90b
add crossguid
2020-05-07 23:20:55 +00:00
NiranthS
620e899e28
Update externalTorqueControlledSphere.py
2020-05-07 22:44:32 +05:30
erwincoumans
f92ad9a33d
Update base64.h
2020-05-06 17:58:22 -07:00
Erwin Coumans
0883aa06f3
fix OpenGL issue on Mac OSX, requiring a resize before drawing works ok.
2020-05-06 17:39:41 -07:00
Erwin Coumans
298ee24f0e
add cpp_base64
2020-05-06 22:49:09 +00:00
erwincoumans
4ab592dab1
Merge pull request #2776 from stephengold/master
...
extend BVH and GImpact algorithms to accept meshes with PHY_UCHAR indices
2020-05-06 14:59:48 -07:00
Erwin Coumans
d479ca712c
allow to call getDebugVisualizerCamera in DIRECT mode (returns all 0)
2020-05-05 03:15:26 +00:00
Erwin Coumans
8719ac6c95
soft body is not enabled in the test
2020-05-05 02:46:19 +00:00
Xuchen Han
9a35ccfd5f
demo changes
2020-05-03 00:51:53 -07:00
erwincoumans
ca50714996
Merge pull request #2775 from xhan0619/splitImpulse
...
Split impulse
2020-04-29 20:00:00 -07:00
Xuchen Han
84f028a5e6
move the position of physicsclientid in the list of argument to be the last
2020-04-29 16:40:06 -07:00
Stephen Gold
5ec86e9f9a
extend BVH and GImpact algorithms to accept meshes with UCHAR indices
2020-04-28 00:00:07 -07:00
Xuchen Han
eefec255cf
Merge remote-tracking branch 'origin/master' into splitImpulse
2020-04-27 20:29:06 -07:00
Chuyuan Fu
4e1fa56104
updateVisualShape for softbody
...
fix
fix space
2020-04-27 20:08:32 -07:00
Xuchen Han
5f1260199a
set appropriate repulsion stiffness for pybullet torus demo
2020-04-27 20:05:16 -07:00
Xuchen Han
ae3526254d
add API for setting repulsion stiffness
2020-04-27 17:42:45 -07:00
Xuchen Han
301cad8a09
tune parameters in deformable demos
2020-04-27 17:30:46 -07:00
erwincoumans
ddc47f9328
Merge pull request #2769 from NiranthS/master
...
Changed "eglrendertest.py":Windows Error
2020-04-26 11:55:31 -07:00
Erwin Coumans
847eeda76d
fix pybullet_envs locomotion camera issues: camera lagging behind over time, also follow cam in 'GUI' mode, allow user to change disance/yaw/pitch
2020-04-25 22:32:01 -07:00
Erwin Coumans
a721f1cdb3
Merge remote-tracking branch 'bp/master'
2020-04-25 20:34:44 -07:00
sgillen
3563509b27
Revert "Revert "Bugfix for camera_adjust and move_and_look_at""
...
oh boy..
This reverts commit a6e0f752b9
.
2020-04-24 20:48:54 -07:00
sgillen
a6e0f752b9
Revert "Bugfix for camera_adjust and move_and_look_at"
...
... To do a sanity check that my changes are what's causing the travis build to fail.
This reverts commit e5d1cb768c
.
2020-04-24 19:50:23 -07:00
sgillen
e5d1cb768c
Bugfix for camera_adjust and move_and_look_at
2020-04-24 17:59:27 -07:00
Erwin Coumans
6268c5d105
conditionally compile btSoftBody only if not SKIP_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD
2020-04-23 16:24:03 -07:00
erwincoumans
3dbe5426bf
Merge pull request #2766 from erwincoumans/master
...
fix getContactPoint issue in case of swapped link indices, thanks to …
2020-04-23 15:05:03 -07:00
Erwin Coumans
ba5f8db0cf
fix getContactPoint issue in case of swapped link indices, thanks to Jonas Gehring for the report
2020-04-23 14:04:53 -07:00
NiranthS
011a4cc91e
Update eglRenderTest.py
2020-04-24 00:10:38 +05:30
NiranthS
cc49632589
Update eglRenderTest.py
2020-04-24 00:10:23 +05:30
NiranthS
4434a091c0
Update eglRenderTest.py
2020-04-24 00:07:44 +05:30
NiranthS
ae905d7bbb
Update rendertest.py
2020-04-23 23:42:58 +05:30
NiranthS
7a2732d92b
Update widows.py
2020-04-23 23:39:21 +05:30
NiranthS
0261494716
Update vrtracker.py
2020-04-23 23:39:14 +05:30
NiranthS
6e4af46a1b
Update vrminitaur.py
2020-04-23 23:38:55 +05:30
NiranthS
74977abdce
Update vrhand_vive_tracker.py
2020-04-23 23:38:36 +05:30
NiranthS
9c773edd0e
Update vrhand.py
2020-04-23 23:38:09 +05:30
NiranthS
f1fa54ebe3
Update vr_racecar_differential.py
2020-04-23 23:37:55 +05:30
NiranthS
0f6a605c38
Update vr_kuka_setup_vrSyncPython.py
2020-04-23 23:37:39 +05:30
NiranthS
d73d42dc84
Update vr_kuka_setup_vrSyncPlugin.py
2020-04-23 23:37:02 +05:30
NiranthS
e515c3d7dd
Update vr_kuka_setup.py
2020-04-23 23:36:46 +05:30
NiranthS
86fb6ca350
Update vr_kuka_pr2_move.py
2020-04-23 23:36:31 +05:30
NiranthS
ae5a4ae7ad
Update vr_kuka_control.py
2020-04-23 23:36:15 +05:30
NiranthS
058128e8bc
Update vr_kitchen_setup_vrSyncPython.py
2020-04-23 23:36:02 +05:30
NiranthS
ab48affbd0
Update vrEvent.py
2020-04-23 23:35:43 +05:30
NiranthS
fcc862dc34
Update video_sync_mp4.py
2020-04-23 23:35:18 +05:30
NiranthS
ac3357ee45
Update vhacd.py
2020-04-23 23:35:00 +05:30
NiranthS
ccf3426748
Update urdfEditor.py
2020-04-23 23:34:34 +05:30
NiranthS
7c0cfa24cf
Update transparent.py
2020-04-23 23:34:19 +05:30
NiranthS
64fe29987e
Update testrender_np.py
2020-04-23 23:34:12 +05:30
NiranthS
0215969ea2
Update testrender_egl.py
2020-04-23 23:33:46 +05:30
NiranthS
93f4accd3b
Update testrender.py
2020-04-23 23:33:17 +05:30
NiranthS
db1bdae32b
Update test_inertia.py
2020-04-23 23:32:59 +05:30
NiranthS
c8960af14d
Update testPlugin.py
2020-04-23 23:32:31 +05:30
NiranthS
e9a892ce50
Update switchConstraintSolver.py
2020-04-23 23:32:00 +05:30
NiranthS
ae7e441afb
Update snake.py
2020-04-23 23:31:36 +05:30
NiranthS
df81157f3c
Update sleeping.py
2020-04-23 23:31:31 +05:30
NiranthS
6233c07817
Update signedDistanceField.py
2020-04-23 23:31:27 +05:30
NiranthS
23a3fd08e8
Update shiftCenterOfMass.py
2020-04-23 23:31:23 +05:30
NiranthS
98397463c8
Update segmask_linkindex.py
2020-04-23 23:29:46 +05:30
NiranthS
4f076c0230
Update sceneAabb.py
2020-04-23 23:29:40 +05:30
NiranthS
74f1cc43e4
Update saveWorld.py
2020-04-23 23:29:35 +05:30
NiranthS
8ac528d477
Update saveRestoreState.py
2020-04-23 23:29:22 +05:30
NiranthS
95cc69c2e7
Update satCollision.py
2020-04-23 23:28:57 +05:30
NiranthS
4204f36ca5
Update rotationalFriction.py
2020-04-23 23:28:50 +05:30
NiranthS
5cf984b0b0
Update rollPitchYaw.py
2020-04-23 23:28:46 +05:30
NiranthS
23e06e5420
Update robotcontrol.py
2020-04-23 23:28:31 +05:30
NiranthS
3da0b375ac
Update restitution.py
2020-04-23 23:28:23 +05:30
NiranthS
668d6a6c04
Update reset_dynamic_info.py
2020-04-23 23:28:07 +05:30
NiranthS
1376d9507a
Update rendertest.py
2020-04-23 23:27:33 +05:30
NiranthS
02a804f733
Update renderPlugin.py
2020-04-23 23:26:49 +05:30
NiranthS
7943cd35ef
Update racecar_differential.py
2020-04-23 23:26:44 +05:30
NiranthS
c92f7f9008
Update quadruped_setup_playback.py
2020-04-23 23:26:16 +05:30
NiranthS
405c67ba15
Update quadruped_playback.py
2020-04-23 23:25:42 +05:30
NiranthS
c702f5ac4a
Update quadruped.py
2020-04-23 23:25:26 +05:30
NiranthS
598bb20674
Update projective_texture.py
2020-04-23 23:24:47 +05:30
NiranthS
75bbab6ccb
Update profileTiming.py
2020-04-23 23:24:31 +05:30
NiranthS
fcbd6d4501
Update pointCloudFromCameraImage.py
2020-04-23 23:24:29 +05:30
NiranthS
e29ca91fc0
Update pdControl.py
2020-04-23 23:24:08 +05:30
NiranthS
61c628e8df
Update otherPhysicsEngine.py
2020-04-23 23:24:04 +05:30
NiranthS
9aba00923a
Update motorMaxVelocity.py
2020-04-23 23:23:40 +05:30
NiranthS
24840ca71a
Update minitaur_test.py
2020-04-23 23:23:35 +05:30
NiranthS
72f4fa0e8d
Update mimicJointConstraint.py
2020-04-23 23:17:07 +05:30
NiranthS
67d9ce47e7
Update manyspheres.py
2020-04-23 23:16:51 +05:30
NiranthS
ccbffaad14
Update logMinitaur.py
2020-04-23 23:16:36 +05:30
NiranthS
cab2d9bb76
Update loadingBench.py
2020-04-23 23:16:19 +05:30
NiranthS
8c76b2ced2
Update load_soft_body.py
2020-04-23 23:16:14 +05:30
NiranthS
274dcbccb0
Update kuka_with_cube_playback.py
2020-04-23 23:14:46 +05:30
NiranthS
0a7579cdfc
Update kuka_with_cube.py
2020-04-23 23:14:35 +05:30
NiranthS
7135f565c9
Update kuka_grasp_block_playback.py
2020-04-23 23:14:31 +05:30
NiranthS
7b6dc8358c
Update jointFrictionDamping.py
2020-04-23 23:14:23 +05:30
NiranthS
822b866488
Update jointFrictionAndMotor.py
2020-04-23 23:14:18 +05:30
NiranthS
b3100b5bb5
Update jacobian.py
2020-04-23 23:14:12 +05:30
NiranthS
73e6f5fd20
Update inverse_kinematics_pole.py
2020-04-23 23:13:49 +05:30
NiranthS
cdf1e10671
Update inverse_kinematics_husky_kuka.py
2020-04-23 23:13:32 +05:30
NiranthS
b767c5c819
Update inverse_kinematics.py
2020-04-23 23:13:05 +05:30
NiranthS
a6f99317ed
Update internalEdge.py
2020-04-23 23:12:19 +05:30
NiranthS
4a4cdb44c5
Update integrate.py
2020-04-23 23:12:15 +05:30
NiranthS
abcdf44e97
Update ik_end_effector_orientation.py
2020-04-23 23:12:06 +05:30
NiranthS
451be44377
Update humanoid_manual_control.py
2020-04-23 23:12:05 +05:30
NiranthS
079d318965
Update humanoid_knee_position_control.py
2020-04-23 23:11:53 +05:30
NiranthS
02b62d858e
Update humanoid_benchmark.py
2020-04-23 23:11:29 +05:30
NiranthS
844c5b62f4
Update humanoidMotionCapture.py
2020-04-23 23:11:16 +05:30
NiranthS
e9163d0987
Update hello_pybullet.py
2020-04-23 23:10:49 +05:30
NiranthS
e27a8df07b
Update hand.py
2020-04-23 23:10:23 +05:30
NiranthS
168578245f
Update grpcServer.py
2020-04-23 23:09:52 +05:30
NiranthS
0500154739
Update grpcClient.py
2020-04-23 23:09:24 +05:30
NiranthS
cdb01e6354
Update getTextureUid.py
2020-04-23 23:08:41 +05:30
NiranthS
20d8be383f
Update getClosestPoints.py
2020-04-23 23:08:36 +05:30
NiranthS
2c6a5c5b96
Update getCameraImageTest.py
2020-04-23 23:08:29 +05:30
NiranthS
a747a035de
Update getAABB.py
2020-04-23 23:08:04 +05:30
NiranthS
d91369c345
Update frictionCone.py
2020-04-23 23:07:33 +05:30
NiranthS
a555fee4f6
Update forcetorquesensor.py
2020-04-23 23:07:26 +05:30
NiranthS
93cb25cb39
Update fileIOPlugin.py
2020-04-23 23:05:41 +05:30
NiranthS
a0e98e310d
Update externalTorqueControlledSphere.py
2020-04-23 23:05:32 +05:30
NiranthS
2c80ac1bb7
Update experimentalCcdSphereRadius.py
2020-04-23 23:05:24 +05:30
NiranthS
83f506ebef
Update eglRenderTest.py
2020-04-23 23:05:14 +05:30
NiranthS
0fba23d602
Update deformable_torus.py
2020-04-23 23:04:45 +05:30
NiranthS
3cd7cca8f8
Update deformable_ball.py
2020-04-23 23:04:18 +05:30
NiranthS
304700408a
Update deformable_anchor.py
2020-04-23 23:03:43 +05:30
NiranthS
19016528e6
Update debugDrawItems.py
2020-04-23 23:03:12 +05:30
NiranthS
09630941da
Update createVisualShapeArray.py
2020-04-23 23:02:45 +05:30
NiranthS
18ec4610be
Update createVisualShape.py
2020-04-23 23:02:12 +05:30
NiranthS
09ed4d54de
Update createTexturedMeshVisualShape.py
2020-04-23 23:01:42 +05:30
NiranthS
7807de7fa6
Update createSphereMultiBodies.py
2020-04-23 23:00:14 +05:30
NiranthS
bd33c7c43c
Update createObstacleCourse.py
2020-04-23 22:59:53 +05:30
NiranthS
f8ce0ebf08
Update createMultiBodyLinks.py
2020-04-23 22:57:05 +05:30
NiranthS
23e67a9733
Update createMultiBodyBatch.py
2020-04-23 22:55:42 +05:30
NiranthS
f2e7d026da
Update createMesh.py
2020-04-23 22:52:17 +05:30
NiranthS
5e23b8f2b8
Update contactFriction.py
2020-04-23 22:49:30 +05:30
NiranthS
1c2493a031
Update constraint.py
2020-04-23 22:45:29 +05:30
NiranthS
ade9056de2
Update configureDebugVisualizer.py
2020-04-23 22:44:56 +05:30
NiranthS
faa59f3799
Update commandLogAndPlayback.py
2020-04-23 22:43:53 +05:30
NiranthS
97bfc4d5be
Update collisionFilter.py
2020-04-23 22:42:14 +05:30
NiranthS
cf4441cdbd
Update changeTexture.py
2020-04-23 22:40:02 +05:30
NiranthS
06e6350aa8
Update changeDynamicsMass.py
2020-04-23 22:37:12 +05:30
NiranthS
15e29e4b86
Update biped2d_pybullet.py
2020-04-23 22:36:00 +05:30
erwincoumans
5ac86c5f68
Merge pull request #2762 from NiranthS/master
...
Error running script in Windows
2020-04-23 09:47:51 -07:00
erwincoumans
8618d60c7c
Merge pull request #2756 from xhan0619/KKT
...
Add support for KKT solver.
2020-04-23 09:45:58 -07:00
NiranthS
584a052f9a
Update batchRayCast.py
2020-04-23 15:58:11 +05:30
NiranthS
fa6713328d
Update addPlanarReflection.py
2020-04-23 15:57:31 +05:30
erwincoumans
f13629bf48
Update __init__.py
2020-04-22 21:02:49 -07:00
Xuchen Han
95287e458c
support split impulse for deformable vs. rigid contact
2020-04-22 15:18:29 -07:00
erwincoumans
e1f5729963
Merge pull request #2757 from erwincoumans/master
...
fixes for tcp server, allow createCollisionShape to load stl
2020-04-22 08:53:07 -07:00
Erwin Coumans
cbb459f5d4
fixes for TCP connection: report serverStatusOut.m_numDataStreamBytes when storing results in bufferServerToClient
2020-04-21 12:15:44 -07:00
erwincoumans
687780af6b
Merge pull request #2745 from xhan0619/fix-rayTest-crash
...
fix rayTest crash for btSoftBody
2020-04-21 07:57:30 -07:00
Erwin Coumans
9cf93cebfd
allow createCollisionShape to load stl. Still, it is best to convert it to obj and use v-hacd for concave shapes.
2020-04-20 20:59:32 -07:00
Xuchen Han
78aebd44e2
Merge remote-tracking branch 'origin/master' into KKT
2020-04-20 19:35:46 -07:00
Erwin Coumans
01e8f363bf
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2020-04-17 19:23:47 -07:00
Erwin Coumans
e5b26fb323
fix tinyrenderer size of mjcf box (mjcf box size is half-sizes (half-extents)
2020-04-17 19:23:33 -07:00
Erwin Coumans
a8e2eb44e9
remote origin coordinate frame debug lines from egl renderer
2020-04-16 09:44:19 -07:00
Xuchen Han
165427de01
refactor to support both CG+projection and KKT
2020-04-15 17:46:01 -07:00
Xuchen Han
b3e23cfaa4
parameter tuning for new solver
2020-04-15 14:49:07 -07:00
Xuchen Han
ed3b697320
fix rayTest crash for btSoftBody
2020-04-14 17:13:00 -07:00
Erwin Coumans
89a7907f45
add vesion of laikago with limits.
2020-04-14 13:39:43 -07:00
erwincoumans
a144ce6d54
Merge pull request #2722 from BlGene/master
...
improve EGL context creation
2020-04-14 12:49:40 -07:00
erwincoumans
f7577863a2
Merge pull request #2736 from erwincoumans/master
...
remove old unused methods from btMultiBody.
2020-04-13 08:59:50 -07:00
Erwin Coumans
b45d697d28
always use python release version (not debug) on Windows, similar hack as pybind11
2020-04-10 09:19:51 -07:00
Xuchen Han
5498c575c8
add guard agaist non-manifold geometry in vtk files
2020-04-09 11:16:28 -07:00
Chuyuan Fu
59ddea6fa4
bodyUniqueId can be 0
2020-04-07 13:38:26 -07:00
Max Argus
5bd9e4ec9b
improve EGL context creation
2020-04-07 20:38:41 +02:00
erwincoumans
9d1a2c4c57
Merge pull request #2711 from fuchuyuan/loadURDF
...
Load urdf
2020-04-06 20:31:28 -07:00
stolk
4c2eb79f29
Fix compiler warning.
2020-04-03 09:47:28 -07:00
Chuyuan Fu
f51c76f0c9
fix space
2020-04-01 21:34:12 -07:00
Chuyuan Fu
3829887ced
twin torus
2020-04-01 21:27:48 -07:00
Chuyuan Fu
c2ea0293d8
fix mesh finding and notification
2020-04-01 20:48:09 -07:00
erwincoumans
ec2b6dd920
Merge pull request #2704 from stolk/master
...
Compiler warnings.
2020-04-01 19:19:37 -07:00
erwincoumans
c661179554
Merge pull request #2709 from xhan0619/master
...
Tune deformable collision parameters for more stable deformable vs. d…
2020-04-01 19:14:51 -07:00
Erwin Coumans
d2ffab8905
fix previous leak fix
2020-04-01 18:32:58 -07:00
Xuchen Han
80aa523825
Tune deformable collision parameters for more stable deformable vs. deformable contact
2020-04-01 17:46:37 -07:00
stolk
f4d8f5d6de
Don't go out of bounds.
2020-04-01 11:28:50 -07:00
Chuyuan Fu
3c46e6a584
load deformable object from URDF files
2020-03-31 20:55:47 -07:00
Erwin Coumans
05efff3c4f
move pickup.zip inside pickup2.zip
2020-03-30 14:59:41 -07:00
Erwin Coumans
d725b3fd0e
add pickup2.zip (that contains pickup.zip)
2020-03-30 14:35:28 -07:00
Erwin Coumans
762c21601f
cache zipfile, and also allow to read zipfile from memory
...
this allows zipfiles to be stored anywhere in already registed fileIO (such as zipfiles inside other zipfiles)
see Bullet/examples/pybullet/examples/fileIOPlugin.py
enable vhacd, fileIO and zipFileIO in premake version of PyBullet
fix potential memory leak in mtl loading
2020-03-30 14:24:20 -07:00
Erwin Coumans
e20b858a28
add pybullet_utils.transformations from ROS geometry:
...
https://github.com/ros/geometry/blob/melodic-devel/tf/src/tf/transformations.py
2020-03-24 10:34:02 -07:00
erwincoumans
dd2f2e3128
Merge pull request #2682 from xhan0619/master
...
Add support for getPose for deformable objects and separate deformable vs. rigid face contact and deformable vs. multibody face contact for flexibility.
2020-03-22 18:44:18 -07:00
erwincoumans
eab851635e
Merge pull request #2679 from erwincoumans/master
...
Embed TCP remote graphics server in PyBullet (enable WFH), fixes for compilation on Visual C++ for Python 9.0
2020-03-22 14:04:35 -07:00
Erwin Coumans
bd8c537c86
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2020-03-22 20:12:21 -07:00
Erwin Coumans
7d499c4e2d
fix userDataTest.py
2020-03-22 20:12:07 -07:00
Erwin Coumans
0b6457d318
fix cmake/premake builds
2020-03-22 11:58:39 -07:00
Erwin Coumans
377069bfa5
add laikago/xarm in pybullet_robots
2020-03-22 11:37:08 -07:00
Antonin RAFFIN
a6314958a6
Add CheckpointCallback and load best automatically
2020-03-22 13:44:05 +01: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
Xuchen Han
5d26efd988
formatting and minor bug fix
2020-03-19 12:29:00 -07:00
Xuchen Han
19ed1c952a
separate face contact between deformable and rigid and multibodies
2020-03-18 17:58:46 -07:00
Xuchen Han
cab8b84a8f
Support get body state for deformable objects so that it retrieves the best fit rigid transform
2020-03-18 17:11:20 -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
fde6cffecc
create BulletRoboticsGUI CMake target, pybullet links against it
...
fix BulletRobotics header install
2020-03-16 23:15:18 -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
07b9194e15
Merge pull request #2667 from xhan0619/teleport
...
Teleport deformables
2020-03-15 21:12:26 -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
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
erwincoumans
8721482e7b
Merge pull request #2670 from erwincoumans/master
...
convert upper/lower limits in urdfEditor.py
2020-03-15 12:53:54 -07:00
Erwin Coumans
2d5e8ea1f3
convert upper/lower limits in urdfEditor.py
2020-03-13 20:49:39 -07:00
Xuchen Han
0a66818841
Use latest mouse position for picking 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
Xuchen Han
4b35af3830
change deformable teleport to absolute pose
2020-03-12 16:40:25 -07:00
Xuchen Han
6e97302610
activate deformable after teleporting
2020-03-12 16:39:28 -07:00
Xuchen Han
cbf282fb2f
Add support for teleporting deformables
2020-03-12 16:39:28 -07:00
Xuchen Han
7dfef92267
Add support for picking deformable with mouse
2020-03-09 11:19:08 -07:00
Xuchen Han
41ca8b9e59
More parameter tuning for cloth-like behavior
2020-03-06 16:29:32 -08:00
Xuchen Han
ec0e9892b5
add slider demo
2020-03-06 16:04:34 -08:00
Chuyuan Fu
d02989cc96
fix space
2020-03-05 10:50:54 -08:00
Chuyuan Fu
b37448278a
fix rigidbody activation
2020-03-05 10:48:56 -08:00
Xuchen Han
4efc983ca5
bug fixes and parameter tuning
2020-03-04 17:22:46 -08:00
erwincoumans
8a3e2e9fa6
Merge pull request #2653 from xhan0619/master
...
Bug fix in barycentric weight calculation
2020-03-03 11:53:22 -08:00
Xuchen Han
1cb9a0630f
bug fix in barycentric weight calculation
2020-03-02 22:48:25 -08:00
erwincoumans
acb7f7ee8a
Merge pull request #2652 from xhan0619/master
...
Support separate render and simulation obj & fix sleeping issue for deformable.
2020-03-02 17:06:37 -08:00
erwincoumans
2b1e27834b
Merge pull request #2649 from erwincoumans/master
...
use PyBullet's own visualizer for enjoy script, + add a time.sleep si…
2020-03-02 16:43:21 -08:00
Xuchen Han
62537436f2
more Motor->NonContactInner
2020-03-02 16:03:27 -08:00
Xuchen Han
4f36e09747
Motor->NonContactInner
2020-03-02 16:00:40 -08:00
Xuchen Han
c86da93d58
fix type error
2020-03-02 13:29:59 -08:00
Erwin Coumans
1f3c0057e5
increase the number of steps from 1000 to 2000, to mimic multiple cycles
2020-03-02 12:52:14 -08:00
Xuchen Han
a6bc125945
formatting
2020-03-02 12:12:04 -08:00
Xuchen Han
dbf2050269
extrapolate render mesh
2020-03-02 12:12:04 -08:00
erwincoumans
44ddb17c0c
Merge pull request #2645 from xhan0619/master
...
Separate motor constraint iterations and expose API.
2020-03-01 21:48:22 -08:00
Erwin Coumans
6b393dffca
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-01 21:27:30 -08:00
Erwin Coumans
81c1daacbb
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-01 21:13:10 -08:00
Erwin Coumans
7c5073d3ab
prepare towards HumanoidDeepMimicBackflipBulletEnv-v1 and HumanoidDeepMimicWalkBulletEnv-v1
...
remove unused SubprocVecEnv from stable_baselines/enjoy.py
2020-03-01 13:11:47 -08:00
Erwin Coumans
7ecb769a9c
add flag to assure deterministicOverlappingPairs
2020-03-01 12:22:47 -08:00
Erwin Coumans
da5ac61baa
use PyBullet's own visualizer for enjoy script, + add a time.sleep since it is way too fast (1000FPS for cart pole)
2020-02-29 22:02:01 -08:00
Erwin Coumans
8e8955571f
workaround for Tensorflow 2.x breaking API:
...
try:
import tensorflow.compat.v1 as tf
except Exception:
import tensorflow as tf
2020-02-29 20:35:05 -08:00
Xuchen Han
7ad19fde6f
formatting
2020-02-26 14:16:51 -08:00
Xuchen Han
84117b8440
separate motor constraint iterations and expose API
2020-02-26 14:11:41 -08:00
Erwin Coumans
36738b7676
release memory of m_deformableBodySolver in ClothFriction demo.
2020-02-22 10:40:31 -08:00
erwincoumans
279a5c19d5
Merge pull request #2640 from erwincoumans/master
...
PyBullet: add option to merge fixed links in URDF file, capsule field init
2020-02-21 17:49:51 -08:00
erwincoumans
3f4299d588
Merge pull request #2630 from vabr-g/vabr-g-dlerror-patch
...
Include dlerror() in handling of failed dlopen()
2020-02-21 17:26:13 -08:00
erwincoumans
e78eb2706d
Merge pull request #2627 from araffin/feat/sb-enjoy
...
Add enjoy script for Stable Baselines
2020-02-21 17:25:39 -08:00
erwincoumans
49960d18df
Update UrdfParser.cpp
...
fix cast
2020-02-21 16:49:05 -08:00
Erwin Coumans
0fd8598ca3
fix pybullet constants in previous commit
2020-02-21 16:16:13 -08:00
Erwin Coumans
f5afe9a1d1
Merge remote-tracking branch 'bp/master'
2020-02-21 15:12:17 -08:00
Erwin Coumans
e29ba9fe5c
add option to merge fixed links in URDF file (improves performance, can handle URDF files with many fixed links)
...
add option to ignore visual and collision shapes in URDF file
2020-02-21 15:04:26 -08:00
Erwin Coumans
6910fc9229
initialize capsule from_to field
2020-02-21 02:05:01 -08:00
erwincoumans
bfba4ac2b6
Merge pull request #2637 from drigz/tf-compat
...
Replace tensorflow with tf.compat.v1
2020-02-20 10:56:21 -08:00
Rodrigo Queiro
d18531cc6a
Replace tensorflow with tf.compat.v1
...
This means they won't break when using TensorFlow 2.0.
2020-02-19 17:35:48 +01:00
Antonin RAFFIN
21efd84c18
Add enjoy script for Stable Baselines
2020-02-15 21:06:10 +01:00
Erwin Coumans
0617f4f3cd
expose computeDofCount to pybullet
...
expose computeDofCount and calculateMassMatrix to BulletRobotics C++ API
(all untested)
2020-02-14 19:58:32 -08:00
Erwin Coumans
56e6893ed9
Merge remote-tracking branch 'bp/master'
2020-02-14 17:37:18 -08:00
Erwin Coumans
6afa0a463d
unsupported: expose collisionMargin to changeDynamics/getDynamicsInfo.
...
add cube_convex.urdf for testing this collisionMargin. Test script:
import pybullet as p
import time
p.connect(p.GUI)
plane = p.loadURDF("plane_implicit.urdf")
cube = p.loadURDF("cube_convex.urdf",[0,0,1])
p.setGravity(0,0,-10)
while (1):
p.stepSimulation()
pts = p.getContactPoints()
p.changeDynamics(plane,-1,collisionMargin=0.3)
p.changeDynamics(cube,-1,collisionMargin=0.3)
print("===================")
print("cube pos=", p.getBasePositionAndOrientation(cube)[0])
print("margin=", p.getDynamicsInfo(plane,-1)[11])
#time.sleep(1./10.)
2020-02-14 17:36:40 -08:00
erwincoumans
665c04fbed
Merge pull request #2622 from marcel303/NoGL-fixes
...
NoGL fixes
2020-02-14 14:54:14 -08:00
erwincoumans
f80806db49
Merge pull request #2623 from marcel303/TinyRender-namespace2
...
Put TinyRender functions and classes inside a TinyRender namespace.
2020-02-14 14:53:33 -08:00
vabr-g
dd8fcad6d8
Include dlerror() in handling of failed dlopen()
...
X11OpenGLWindow::X11OpenGLWindow() ends up calling dlopen() to get libX11.
When this fails, it only reports that it failed, and what filename it was looking for.
This commit adds dlerror() to the error message, which makes investigating failures easier.
2020-02-14 15:32:40 +01:00
Marcel Smit
bdb0cc2f3e
LuaDemo compile fix.
2020-02-14 12:07:39 +01:00
Marcel Smit
40e44caedd
Put TinyRender functions and classes inside a TinyRender namespace. The TinyRender library defines some classes with very generic names, such as vec, Matrix, Model, which in my case, when compiling the example browser using a different library for graphics, is giving me name clashes.
2020-02-14 11:54:25 +01:00
Marcel Smit
3b0f5812c9
NoGL: double to btScalar.
2020-02-14 11:30:45 +01:00
Marcel Smit
04f03d78af
NoGL: Update ExampleBrowserInterface and EmptyBrowser, with interface methods added to the OpenGL example browser, but didn't get added to the interface and empty interface. Required to compile the in-process example browser without OpenGL dependency.
2020-02-14 11:23:28 +01:00
Marcel Smit
df0910e5a8
NoGL: Cleanup inverse kinematics example. It was still including an OpenGL-related header file, even though not using any OpenGL.
2020-02-14 11:12:47 +01:00
erwincoumans
b06cdd5fc1
Merge pull request #2612 from xhan0619/master
...
Improve intra-deformable collision and deformable self collision
2020-02-12 19:30:46 -08:00
Erwin Coumans
b3ff3ebcb1
add pendulum of 5 links
2020-02-12 13:05:51 -08:00
Erwin Coumans
e7ad8a9d67
add urdf file for testing
2020-02-11 15:10:22 -08:00
Xuchen Han
b9c0456d85
fix split impulse demo
2020-02-07 13:22:41 -08:00
Xuchen Han
3bc701c487
Improve intra-deformable collision and deformable self collision
2020-02-06 17:01:20 -08:00
Erwin Coumans
6195f40c02
fix compile issue in pybullet.c
2020-02-06 09:11:18 -08:00
erwincoumans
b809cdef5b
Merge pull request #2608 from erwincoumans/master
...
implement b3RobotSimulatorClientAPI_NoDirect::createVisualShape
2020-02-06 09:00:05 -08:00
Erwin Coumans
d0f895fbbd
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2020-02-04 20:59:26 -08:00
Erwin Coumans
401abd9ebc
implement b3RobotSimulatorClientAPI_NoDirect::createVisualShape
2020-02-04 20:58:15 -08:00
Tigran Gasparian
19075f75b2
Only clear the user data cache when a full user data sync is requested.
2020-02-03 15:24:12 +01:00
erwincoumans
7380a55ba7
Merge pull request #2594 from RanTig/SyncSingleBodyUserData
...
Adds an option to syncUserData to specify the bodies for which to sync.
2020-01-29 19:23:44 -08:00
erwincoumans
9ac1dd6194
Merge pull request #2597 from erwincoumans/master
...
made char* in addUserDebugParameter const
2020-01-24 09:45:35 -08:00
Erwin Coumans
4c6e3daf5e
made char* in addUserDebugParameter const
2020-01-24 08:43:20 -08:00
Tigran Gasparian
2403a22ebf
Bump up shared memory magic number.
2020-01-23 16:58:32 +01:00
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