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
..
2018-09-23 14:17:31 -07:00
2019-05-07 11:18:11 -07:00
2018-09-23 14:17:31 -07:00
2019-02-24 14:09:42 -08:00
2019-09-27 17:14:36 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-04-25 07:04:22 -07:00
2018-10-08 21:27:08 -07:00
2018-09-23 14:17:31 -07:00
2020-02-04 20:59:26 -08:00
2020-02-04 20:59:26 -08:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-03-26 15:07:55 -07:00
2019-06-13 23:24:22 -07:00
2019-06-13 23:24:22 -07:00
2019-06-13 23:24:22 -07:00
2019-07-02 09:48:34 -07:00
2019-06-13 23:24:22 -07:00
2019-06-13 23:24:22 -07:00
2019-07-02 09:48:34 -07:00
2019-07-02 09:48:34 -07:00
2020-01-11 12:43:27 -08:00
2019-07-10 17:21:18 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-06-17 19:00:53 -07:00
2020-02-14 17:36:40 -08:00
2020-02-14 17:36:40 -08:00
2018-10-20 19:44:39 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-27 09:49:59 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-02-20 19:57:10 -08:00
2017-09-20 23:18:18 -07:00
2018-09-23 14:17:31 -07:00
2020-02-03 15:24:12 +01:00
2019-08-08 10:53:23 +02:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2020-02-03 15:24:12 +01:00
2019-08-08 10:53:23 +02:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-06-17 19:00:53 -07:00
2019-06-17 19:00:53 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2020-02-14 17:36:40 -08:00
2020-01-17 11:55:42 +01:00
2019-09-09 14:56:26 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-06-13 23:24:22 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-12-11 13:07:53 -08:00
2019-07-02 09:48:34 -07:00
2019-07-02 09:48:34 -07:00
2018-09-23 14:17:31 -07:00
2018-09-23 14:17:31 -07:00
2019-08-11 13:59:24 -07:00
2019-03-06 23:27:59 -08:00
2018-09-23 14:17:31 -07:00
2020-02-14 17:36:40 -08:00
2018-09-23 14:17:31 -07:00
2019-06-13 23:24:22 -07:00
2019-06-13 23:24:22 -07:00
2018-09-23 14:17:31 -07:00
2020-02-14 17:36:40 -08:00
2018-09-23 14:17:31 -07:00
2018-11-24 11:57:01 -08:00
2018-09-23 14:17:31 -07:00