- This topic has 2 replies, 2 voices, and was last updated 3 years, 10 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] About the unit
Tagged: unit
Hello,
After read some tutorial code, I have a question about the unit.What is the unit of each parameter?
Does it use the international system of units(m,kg,s…)?
For example,there’s the code:
MainHeader(rootNode, gravity=[0.0,-981.0,0.0])
in different tutorials, the gravity sometimes is -981.0, and sometimes is -9.81, this makes me confused. What does it mean?
By the way, there are other parameters, such as ‘youngModulus’, ‘poissonRatio’, ‘totalMass’,… What’s the unit in the SOFA?
i would appreciate if anyone could help me to figure it out.
Hi @biu,
there is no fixed unit system in sofa, you just have to make sure that units are correct relative to each other. This is also explained at around 4:30 min in Sofa & Soft Robotics: First Steps Tutorial.Btw this tutorial is a good starting point in terms of understanding some of the main concepts of Sofa and the general structure of a scene. Hope that helps.
Best,
Jonny
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.