mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-26 03:56:05 +00:00
Update jacobian.py
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import pybullet as p
|
||||
import pybullet_data
|
||||
|
||||
|
||||
|
||||
def getJointStates(robot):
|
||||
@@ -51,6 +53,8 @@ clid = p.connect(p.SHARED_MEMORY)
|
||||
if (clid < 0):
|
||||
p.connect(p.DIRECT)
|
||||
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
|
||||
time_step = 0.001
|
||||
gravity_constant = -9.81
|
||||
p.resetSimulation()
|
||||
|
||||
Reference in New Issue
Block a user