60b9551b38
If 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
0b2142414d
fix usage of btMultiBody::setJointPosMultiDof/setJointVelMultiDof
erwincoumans
2018-11-11 19:04:07 -08:00
17219f84c6
make 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
3af132ffd4
Fix compiler warning about shadowing int j variable.
stolk
2018-11-09 16:10:42 -08:00
49b098854e
PyBullet: avoid calling syncBodies for each DOF in pdControl. Allow PD_CONTROL in setJointMotorControlArray.
erwincoumans
2018-11-07 09:29:19 -08:00
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)
Erwin Coumans
2018-11-02 11:19:46 -07:00
f6ea2a7379
fix 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
750133694c
Disable btQuickprof.h profiling by default. We use custom profiling functions, see b3ChromeUtilsStartTimings.
erwincoumans
2018-11-01 08:19:50 -07:00
336a4b65fe
disable some internal statistics, reporting a race condition.
Erwin Coumans
2018-11-01 07:41:35 -07:00
c2b9dc9361
update 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
c80e2816ad
PyBullet: Use fileIOPlugin in processRestoreStateCommand PyBullet: Report debug information in case of failure in restoreState.
erwincoumans
2018-10-29 12:08:34 -07:00
df9b4fb005
remove printf from demo
erwincoumans
2018-10-27 11:56:04 -07:00
bebe12d6d8
tweak 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
0511a36a67
add 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
f1ac24cc60
make pybullet setup.py use threadsafe version by default
Erwin Coumans
2018-10-26 18:37:28 -07:00
a44df2b0a6
PyBullet: 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
01a8a36933
fix example
erwincoumans
2018-10-20 16:13:48 -07:00
ed49edc1af
PyBullet 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
dc2d54df2c
remove 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
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
erwincoumans
2018-10-14 15:10:19 -07:00
c1e20c448f
Implement 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
3309ce8f6a
strip \r \n from line
erwincoumans
2018-10-13 16:23:58 -07:00
fd3d292fcf
tinyRenderer, remove both \r and \n, not just \n
Erwin Coumans
2018-10-13 11:46:46 -07:00