Output of Inertia Sensor Block

1 visualización (últimos 30 días)
Shafeeg
Shafeeg el 16 de En. de 2022
Respondida: Steve Miller el 12 de Mzo. de 2023
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

Respuestas (1)

Steve Miller
Steve Miller el 12 de Mzo. de 2023
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

Categorías

Más información sobre Multibody Dynamics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by