bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Home Page:http://bulletphysics.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stepSimulation after resetJointState issue.

marcos724 opened this issue · comments

hello!
i am trying to simulate a path for a manipulator using R.L. in pybullet. i have noticed that running stepSimulation() after the resetJointState() the manipulator moves.

    for i in range(6):
        p.resetJointState(bodyUniqueId=self.ur5_id, jointIndex=i + 1, targetValue=self.init_joint_val[i])
    p.stepSimulation()

case_1
after running stepSimulation()
case_2
regards!