MATLAB: Regarding body position sensing in simmechanics 2nd gen

body position sensorsimmechanics 2nd genSimscape Multibody

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

Best Answer

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