mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
Update inverse_kinematics_pole.py
This commit is contained in:
parent
cdf1e10671
commit
73e6f5fd20
@ -2,10 +2,13 @@ import pybullet as p
|
|||||||
import time
|
import time
|
||||||
import math
|
import math
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
import pybullet_data
|
||||||
|
|
||||||
clid = p.connect(p.SHARED_MEMORY)
|
clid = p.connect(p.SHARED_MEMORY)
|
||||||
if (clid < 0):
|
if (clid < 0):
|
||||||
p.connect(p.GUI)
|
p.connect(p.GUI)
|
||||||
|
|
||||||
|
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||||
p.loadURDF("plane.urdf", [0, 0, -1.3])
|
p.loadURDF("plane.urdf", [0, 0, -1.3])
|
||||||
p.configureDebugVisualizer(p.COV_ENABLE_RENDERING, 0)
|
p.configureDebugVisualizer(p.COV_ENABLE_RENDERING, 0)
|
||||||
sawyerId = p.loadURDF("pole.urdf", [0, 0, 0])
|
sawyerId = p.loadURDF("pole.urdf", [0, 0, 0])
|
||||||
|
Loading…
Reference in New Issue
Block a user