Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to find the function with having input and output?

1 回表示 (過去 30 日間)
azarang asadi
azarang asadi 2020 年 2 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hey guys,
So I have the end effector global transformation matrix and also joint variables(q). I'm trying to get a function acting between these two, so that by having this function and qs, I can get my end effector g. Generally speaking, I have a matrix q(7,1) and a matrix g(4,4) and I'm trying to find the fuction as g = F(q). I need g.
q=[pi/6;pi/6;pi/6;pi/2;0;0;0]; %some example joint angles
g = [ -0.4330, -0.8080, 0.3995, 0.4194;
-0.2500, 0.5335, 0.8080, 0.4760;
-0.8660, 0.2500, -0.4330, 0.3399;
0, 0 , 0, 1];
Here's the matrices.
Thanks

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 2 月 21 日
Hi,
It is not possible to estimate F as the relationship might be linear, non-linear etc., if you have a set of data then you can use curve fitting algorithm to find F. Or otherwise if you have some equation relating them then you can solve for the unknow parameters using the information you have
Hope this helps!

Community Treasure Hunt

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

Start Hunting!

Translated by