Output of Inertia Sensor Block

4 ビュー (過去 30 日間)
Shafeeg
Shafeeg 2022 年 1 月 16 日
回答済み: Steve Miller 2023 年 3 月 12 日
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

回答 (1 件)

Steve Miller
Steve Miller 2023 年 3 月 12 日
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

カテゴリ

Help Center および File ExchangeMultibody Dynamics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by