mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-21 17:54:29 +00:00
Update humanoid_knee_position_control.py
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import pybullet as p
|
||||
import time
|
||||
import pybullet_data
|
||||
|
||||
|
||||
|
||||
cid = p.connect(p.SHARED_MEMORY)
|
||||
if (cid < 0):
|
||||
@@ -11,6 +14,8 @@ useRealTime = 0
|
||||
|
||||
p.setRealTimeSimulation(useRealTime)
|
||||
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
|
||||
p.setGravity(0, 0, -10)
|
||||
|
||||
p.loadSDF("stadium.sdf")
|
||||
|
||||
Reference in New Issue
Block a user