diff options
Diffstat (limited to 'examples/Importers/ImportURDFDemo/UrdfParser.h')
-rw-r--r-- | examples/Importers/ImportURDFDemo/UrdfParser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/Importers/ImportURDFDemo/UrdfParser.h b/examples/Importers/ImportURDFDemo/UrdfParser.h index 7cd87c49a..b11578113 100644 --- a/examples/Importers/ImportURDFDemo/UrdfParser.h +++ b/examples/Importers/ImportURDFDemo/UrdfParser.h @@ -228,6 +228,7 @@ struct UrdfDeformable double m_collisionMargin; double m_friction; double m_repulsionStiffness; + double m_gravFactor; SpringCoeffcients m_springCoefficients; LameCoefficients m_corotatedCoefficients; @@ -237,7 +238,7 @@ struct UrdfDeformable std::string m_simFileName; btHashMap<btHashString, std::string> m_userData; - UrdfDeformable() : m_mass(1.), m_collisionMargin(0.02), m_friction(1.), m_repulsionStiffness(0.5), m_visualFileName(""), m_simFileName("") + UrdfDeformable() : m_mass(1.), m_collisionMargin(0.02), m_friction(1.), m_repulsionStiffness(0.5), m_gravFactor(1.), m_visualFileName(""), m_simFileName("") { } }; |