Regarding body position sensing in simmechanics 2nd gen

I have imported a CAD model of a parallel manipulator (like a stewart platform but with only 3 legs connecting the top and bottom platform) in simmechanics 2nd generation. I want to sense the position of the top platform CG with respect to the fixed bottom platform. How can i do this?
I have gone through the stewart platform 1st generation examples but i cant do this in 2nd generation. Pls help

 採用された回答

Sebastian Castro
Sebastian Castro 2015 年 12 月 31 日

0 投票

You can get a Transform Sensor block and connect it between those two frames you specified.
- Sebastian

2 件のコメント

Ash
Ash 2015 年 12 月 31 日
Thank you Sebastian. I am attaching the simmechanics model picture. The transform sensor blocks base is connected to the world frame and the follower is connected to the Top platform. One more coordinate system has to be added to the top platform to connect the Transform sensor block. The distance is sensed when the prismatic joints are actuated by force. Kindly take a look at this and let me know if this is the right way to do this.
Sebastian Castro
Sebastian Castro 2015 年 12 月 31 日
I don't see any attachments.
However, you can look at the Transform Sensor in the tree view on the left of the Mechanics Explorer to see if the "B" and "F" ports are located where you expected them to be.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeApplications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by