Page 1 of 1

Why doesn't my joint track the desired position?

Posted: 12 Jul 2019, 05:20
by biscuit122
In this scene, I used function sim.setJointTargetPosition to force hipJoint3 and hipJoint4 reaching desired position. But the final position does not equal the given value. So could you tell me how to solve it?

Additionally, driveJoint1, driveJoint2, ..., and driveJoint6 reach their accurate target position. Because I set them through the Joint Dynamic Properties taskbar.
Thanks for your time and help.
Best

Re: Why doesn't my joint track the desired position?

Posted: 14 Jul 2019, 16:55
by biscuit122
Hi all,
I have solved this problem. It is resulted from the transformation between radian and degree unit. In LUA script, we should set the target position for revolute joint using radian unit instead of degree. Due to the copyright protection, I delete the .ttt model. Thanks.