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

 Accepted Answer

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

2 Comments

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.
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.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!