- Right-click on the Marker Pose Target.
- Select "Edit Constraint".
- Set the Orientation Weight from 1 to 0 (or any other desired value). You may also consider modifying other parameters of the constraint for meeting your objectives.
- Exit the text box, then click "Apply"
Why is my robotic arm unable to achieve desired end-effector position in the IK Designer App?
조회 수: 4 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2024년 9월 20일
답변: MathWorks Support Team
2024년 9월 20일
I am trying to simulate my robot in the IK Designer App. The robot is defined using a URDF file, which I can successfully import into MATLAB. After this, when I provide the desired end-effector position to the App, I am able to achieve the desired positions along X and Z directions, but not along Y direction. However, I am able to manually set the desired orientation (Euler angle) across each of X, Y, and Z directions.
Why am I not able to achieve the desired end-effector position?
채택된 답변
MathWorks Support Team
2024년 9월 20일
The behavior observed in the IK designer app is an expected behavior. This is because the inverse kinematic solver uses weighted optimization. The target end pose contains both target position and orientation, and the weighted optimization gives equal weightage to both by default leading to a solution that doesn't hit the Y-position target. In case the position is of higher priority, you can set the weightage for orientation to 0 or a small value. The workflow for setting the weightage is as follows:
The relevant documentation, with the relevant section highlighted, can be found below:
After these changes, the robot should behave as expected. Additionally, the aforementioned workflow can also be achieved using Inverse Kinematics MATLAB class, which can help achieve finer control of the constraint parameters.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Coordinate Transformations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!