Position vector of the "Spatial Contact Force" reaction.
1 回表示 (過去 30 日間)
古いコメントを表示
Hello.
I am currently employing the "Spatial Contact Force" block to model the contact reaction between two bodies. I need the position vector of the contact point between the two bodies. That is, either the global or local position vector of the instantaneous point of contact. This information seems not to be included in the block menu.
Is there any way to measure it?.
Thanks in advance.
0 件のコメント
回答 (1 件)
Juan Sagarduy
2020 年 10 月 31 日
Hello Camilo
This is not trivial to derive. You can have a sensor between selected points in the two bodies and then sample this when the sensed separation distance given by the block becomes very low (contact).
Then, the contact point vector consists of the vector position of one body + fraction of the sampled vector. To know exactly, you need knowledge on the mesh. This is easiest for contact between two spheres.
Good luck / Juan
2 件のコメント
Juan Sagarduy
2020 年 11 月 1 日
Hi Camilo
There is a function called stlread that extracts the triangulation mesh from a STL file from CAD.
So, if u use STL files in Multibody, the approach i proposed might be plausible. In any case, it remains an ambitious goal.
Cheers Juan
参考
カテゴリ
Help Center および File Exchange で Bodies についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!