Output of Inertia Sensor Block

In Simscape Multibody, I connected an Inertia Sensor block to an assembled robot. I understand the block can output COM, Inertia Matrix and so on. Do I output COM and Inertia Matrix to workspace or to a scope? How can I get these two outputs from the sensor. I did try to output the Inertia Matrix to the Workspace but its a 1000x1 matrix. It would be big help if someone could explain to me how I can process the outputs of the inertia sensor block.
Thank You!
A.Shafeeg

Antworten (1)

Steve Miller
Steve Miller am 12 Mär. 2023

0 Stimmen

You can output the center of mass (COM) however you want. Note, though, that it will report the COM for every step of the simulation. If you only want it at the start or the end, you will have to extract that from the simulation results.
If you can use the final step of the simulation, a simple way to get that value is to limit the length of the measured results to 1. It will then only save the results from the last time step.
--Steve

Kategorien

Mehr zu Simscape Multibody finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 16 Jan. 2022

Beantwortet:

am 12 Mär. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by