Graphs and Mass XML

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Lisias Camargo
Posts: 15
Joined: Mon Aug 23, 2021 7:35 am

Graphs and Mass XML

Post by Lisias Camargo » Wed Jan 26, 2022 8:57 am

Hello everyone, can anyone tell me if changing the mass of a body via XML, for example hand, is it possible to analyze and plot graphics with this mass in kg?

User avatar
Ayman Habib
Posts: 2236
Joined: Fri Apr 01, 2005 12:24 pm

Re: Graphs and Mass XML

Post by Ayman Habib » Wed Jan 26, 2022 3:06 pm

Hi Lisias,

You definitely can change the value of the mass in XML for any Body/Segment in the model. For units, a Model has a "getLengthUnits()" and a "getForceUnits()" that allow you to retrieve the units of the model. These also show in the Properties window when a model is selected in the OpenSim application, internally these are Meters and Newtons respectively.

Hope this helps,
-Ayman

User avatar
Lisias Camargo
Posts: 15
Joined: Mon Aug 23, 2021 7:35 am

Re: Graphs and Mass XML

Post by Lisias Camargo » Tue Feb 01, 2022 5:36 pm

Thank you!

By changing the mass of a body is it possible to see changes in the graphs plot?

POST REPLY