Update forcetorquesensor.py

This commit is contained in:
NiranthS
2020-04-23 23:07:26 +05:30
committed by GitHub
parent 93cb25cb39
commit a555fee4f6

View File

@@ -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")