mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-26 12:06:09 +00:00
Update forcetorquesensor.py
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import pybullet as p
|
||||
p.connect(p.DIRECT)
|
||||
import pybullet_data
|
||||
|
||||
p.connect(p.GUI)
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
hinge = p.loadURDF("hinge.urdf")
|
||||
print("mass of linkA = 1kg, linkB = 1kg, total mass = 2kg")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user