Graphs and Mass XML
- Lisias Camargo
- Posts: 15
- Joined: Mon Aug 23, 2021 7:35 am
Graphs and Mass XML
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?
- Ayman Habib
- Posts: 2236
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Graphs and Mass XML
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
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
- Lisias Camargo
- Posts: 15
- Joined: Mon Aug 23, 2021 7:35 am
Re: Graphs and Mass XML
Thank you!
By changing the mass of a body is it possible to see changes in the graphs plot?
By changing the mass of a body is it possible to see changes in the graphs plot?