How do I measure the x,y,z coordinates of a reference frame in solidworks?

2 views (last 30 days)
I am currently using Sebastian Castro's walking robot example to implement my control algorithm on. https://au.mathworks.com/videos/matlab-and-simulink-robotics-arena-walking-robots-part-1-modeling-and-simulation-1505941655157.html
A few of my equations require a constant update on the x,y,z movements of the torso of the model during the walking cycle. Is there a way to output the x,y,z coordinates of the top solid (the torso) of the model, maybe output the coordinates of the reference frame of the solid in relation to the world reference frame? Or is there a better way to do this?

Answers (1)

Exeedo
Exeedo on 6 Sep 2019
Yes there is, just choose the (Transform Sensor) block in the (multibody) library and then choose (X,Y,Z) under (Translation) tab.

Community Treasure Hunt

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

Start Hunting!