フィルターのクリア

Weight for Pose Tolerances - inverseKinematics

3 ビュー (過去 30 日間)
N
N 2021 年 1 月 23 日
編集済み: Karsh Tharyani 2024 年 5 月 23 日
I need clarification on what exactly the weights parameter does in the call to inverseKinematics. The following is the documentation, but it is not clear to me:
"Weight for pose tolerances, specified as a six-element vector. The first three elements correspond to the weights on the error in orientation for the desired pose. The last three elements correspond to the weights on the error in xyz position for the desired pose."
What does pose tolerance mean, and if I assign a weights, say, [0, 1, 1, 0, 1, 1, 0] what does it do for me?
  2 件のコメント
Yiping Liu
Yiping Liu 2021 年 1 月 25 日
Do you have a particular IK problem that you try to solve?
N
N 2021 年 1 月 30 日
For now, I am using the examples, but eventually I will have my own problem, yes. But don't understand the weights.

サインインしてコメントする。

回答 (1 件)

Karsh Tharyani
Karsh Tharyani 2024 年 5 月 23 日
編集済み: Karsh Tharyani 2024 年 5 月 23 日
Hi @N,
The inverse kinematics problem is formulated as a non-linear program in the Robotics Systems Toolbox. The objective function (to be minimized with argmin joint positions) is a weighted sum of square of errors between the end-effector pose (a weight is on each of the 6 degrees of freedom associated with a 3D pose) given joint positions and the desired end-effector pose.
When you specify a zero value for any of the weights, the error function ignores the cost/error in that dimension of the pose. For example, if it doesn't mattter to you that the solved joint configuration should result in an end-effector pose which matches the Z coordinate of the desired end-effector pose set the weights to [1,1,1,1,1,0].
The first three values of the weights are derived from an axis-angle representation of orientation. You can set those weights accordingly if you also want to ignore orientations in a particular plane, then.
I hope that helps!
Karsh

カテゴリ

Help Center および File ExchangeRobotics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by