60b9551b38If a convex has called 'initializePolyhedralFeatures', use those features also to create debug visualizer mesh, to avoid showing penetration. Avoid crash in InvertedPendulumPDControl, due to recent change in m_jointFeedbackInWorldSpace
erwincoumans
2018-11-12 21:46:11 -08:00
38109dbd10Merge pull request #1987 from erwincoumans/master
erwincoumans
2018-11-11 20:17:15 -08:00
0b2142414dfix usage of btMultiBody::setJointPosMultiDof/setJointVelMultiDof
erwincoumans
2018-11-11 19:04:07 -08:00
17219f84c6make setJointPosMultiDof and setJointVelMultiDof argument const. add PyBullet.resetJointStateMultiDof / getJointStateMultiDof, for preliminary support for spherical and planar joints
erwincoumans
2018-11-10 14:26:31 -08:00
3af132ffd4Fix compiler warning about shadowing int j variable.
stolk
2018-11-09 16:10:42 -08:00
f7237647fbMerge pull request #1984 from erwincoumans/master
erwincoumans
2018-11-07 11:16:18 -08:00
49b098854ePyBullet: avoid calling syncBodies for each DOF in pdControl. Allow PD_CONTROL in setJointMotorControlArray.
erwincoumans
2018-11-07 09:29:19 -08:00
99f4d80204Merge pull request #1983 from erwincoumans/master
erwincoumans
2018-11-06 12:35:19 -08:00
1cb8dc383fMerge pull request #1975 from erwincoumans/master
erwincoumans
2018-11-02 11:21:51 -07:00
8b53e47fe8add 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)
Erwin Coumans
2018-11-02 11:19:46 -07:00
f6ea2a7379fix a potential data race condition. remove createObstacleCourse programmatic creation part until we can steam vertices/indices.
Erwin Coumans
2018-11-01 10:20:54 -07:00
9ed9ef2894Merge pull request #1972 from erwincoumans/master
erwincoumans
2018-11-01 08:47:43 -07:00
750133694cDisable btQuickprof.h profiling by default. We use custom profiling functions, see b3ChromeUtilsStartTimings.
erwincoumans
2018-11-01 08:19:50 -07:00
336a4b65fedisable some internal statistics, reporting a race condition.
Erwin Coumans
2018-11-01 07:41:35 -07:00
44976780faremove ARS files
Erwin Coumans
2018-10-29 19:23:54 -07:00
5fbc015ba6Merge pull request #1951 from duckdoom5/patch-1
erwincoumans
2018-10-29 17:00:35 -07:00
d9fa97dd5bMerge pull request #1962 from erwincoumans/master
erwincoumans
2018-10-29 16:51:32 -07:00
c2b9dc9361update to CartPoleBulletEnv-v1 and check with latest baselines v0.1.5, works fine. (make it more similar to classical control cartpole)
Erwin Coumans
2018-10-29 16:44:12 -07:00
2fa0ae9349fix sprintf using nullptr string
Erwin Coumans
2018-10-29 13:45:42 -07:00
c80e2816adPyBullet: Use fileIOPlugin in processRestoreStateCommand PyBullet: Report debug information in case of failure in restoreState.
erwincoumans
2018-10-29 12:08:34 -07:00
fc4d531e3cpip egl install: added btThreads.cpp
Max Argus
2018-10-27 21:54:33 +02:00
df9b4fb005remove printf from demo
erwincoumans
2018-10-27 11:56:04 -07:00
bebe12d6d8tweak tensorflow humanoid_running.py demo to be more robust against mouse dragging (mouse dragging adds energy in the system that can cause explosions/instability): use solverResidualThreshold and increase number of sub steps, also clamp the max force.
Erwin Coumans
2018-10-27 11:48:21 -07:00
bdda7af8d7Use the kF_UseGjkConvexCastRaytest for more accurate picking fix upAxis in some demos
erwincoumans
2018-10-27 11:38:38 -07:00
9c780185afMerge pull request #1957 from erwincoumans/master
erwincoumans
2018-10-26 20:22:54 -07:00
0511a36a67add Laikago quadruped model, thanks to Unitree for the cad meshes. If you use the Laikago URDF, please add a citation to PyBullet:
Erwin Coumans
2018-10-26 18:49:58 -07:00
f1ac24cc60make pybullet setup.py use threadsafe version by default
Erwin Coumans
2018-10-26 18:37:28 -07:00
693985260fMerge pull request #1955 from erwincoumans/master
erwincoumans
2018-10-26 11:20:44 -07:00
a44df2b0a6PyBullet: allow to pass vertices (for convex) and vertices+indices (for concave) to createCollisionShape See createObstacleCourse.py for an example use. At the moment a limit of 1024 vertices and 1024 indices. Will be lifted once we implement the streaming version (soon).
erwincoumans
2018-10-26 10:18:51 -07:00
a198459b09reduce back to 128, some internal build has too limited stack size.
Erwin Coumans
2018-10-22 07:40:45 -07:00
7e86a579e9Merge pull request #1946 from RanTig/transform-changed-notification-active
erwincoumans
2018-10-22 07:36:13 -07:00
6512a67422Uses btCollisionBody::isActive instead of btMultiBody::isAwake to
Tigran Gasparian
2018-10-22 14:06:58 +02:00
c291fe5584PyBullet/BulletRobotics: increase max #degree of freedom from 128 to 256.
erwincoumans
2018-10-21 20:05:29 -07:00
04101565bcMerge pull request #1944 from erwincoumans/master
erwincoumans
2018-10-20 20:45:48 -07:00
2d224cf319revert backward compabitility in API
Erwin Coumans
2018-10-20 19:44:39 -07:00
df0889a450Merge pull request #1943 from erwincoumans/master
erwincoumans
2018-10-20 17:45:20 -07:00
01a8a36933fix example
erwincoumans
2018-10-20 16:13:48 -07:00
ed49edc1afPyBullet change API (since it was broken): pybullet_changeVisualShape with textureUniqueId ==-1 will clear the texture b3InitUpdateVisualShape doesn't take textureUniqueId by default. new API b3UpdateVisualShapeTexture to change texture (-1 will clear texture) PyBullet/BulletRobotics: allow to reset the textureUniqueId to -1, to clear a texture PyBullet/BulletRobotics: save all texture handles
erwincoumans
2018-10-20 15:56:56 -07:00
3d01a8c098Merge pull request #1942 from erwincoumans/master
erwincoumans
2018-10-20 12:25:50 -07:00
dc2d54df2cremove 32bit build ARCH from xcode4 generated files (premake4) optimization in btMultiBody::fillConstraintJacobianMultiDof: only compute links between current link and root
Erwin Coumans
2018-10-20 10:44:43 -07:00
b5e475aec3enable 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
erwincoumans
2018-10-14 15:10:19 -07:00
c1e20c448fImplement InMemoryFile for memory caching for fileIO plugin. Support SDF loading through fileIO plugin. Replace strcspn by C code (not crossplatform) Add flag for loadURDF to use color from MTL file (instead from URDF link material) pybullet.URDF_USE_MATERIAL_COLORS_FROM_MTL and pybullet.URDF_USE_MATERIAL_TRANSPARANCY_FROM_MTL
erwincoumans
2018-10-14 12:54:34 -07:00
3309ce8f6astrip \r \n from line
erwincoumans
2018-10-13 16:23:58 -07:00
fd3d292fcftinyRenderer, remove both \r and \n, not just \n
Erwin Coumans
2018-10-13 11:46:46 -07:00
11ef1bf0cdMerge pull request #1929 from erwincoumans/master
erwincoumans
2018-10-11 18:14:20 -07:00
c441a9469cenable fileIOPlugin and loading from zipfile in PyBullet, bump up to version 2.3.0
Erwin Coumans
2018-10-11 17:44:54 -07:00
ad10da57c5more initial work on fileIOPlugin
erwincoumans
2018-10-11 17:00:17 -07:00
a24c1436afstate 2 of FileIO plugin: adding/removing FileIO types, search through all registered FileIO types. (not enabled by default yet) Example: fileIO = p.loadPlugin("fileIOPlugin") print("fileIO=",fileIO) p.executePluginCommand(fileIO,"e:/develop/bullet3/data/plane.zip", [p.AddFileIOAction,p.ZipFileIO]) p.executePluginCommand(fileIO,"e:/develop/bullet3/data/test2.zip", [p.AddFileIOAction,p.ZipFileIO]) planeId = p.loadURDF("plane.urdf") duckId = p.loadURDF("duck_vhacd.urdf",[0,0,1])
erwincoumans
2018-10-11 14:39:31 -07:00
f792a5951amove zipfFileIO into own header route loadTextureFile from fileIO plugin fix B3_ENABLE_FILEIO_PLUGIN logic
erwincoumans
2018-10-11 10:58:14 -07:00