Commits

Jeongseok Lee committed 4703306

More clean up DARTScrewJoint

  • Participants
  • Parent commits 6b5c540
  • Branches gazebo_3.0_dart_4.0

Comments (0)

Files changed (1)

gazebo/physics/dart/DARTScrewJoint.cc

 }
 
 //////////////////////////////////////////////////
+double DARTScrewJoint::GetAttribute(const std::string &_key,
+                                    unsigned int _index)
+{
+  if (_key  == "thread_pitch")
+    return this->threadPitch;
+  else
+    return DARTJoint::GetAttribute(_key, _index);
+}
+
+//////////////////////////////////////////////////
 double DARTScrewJoint::GetVelocity(unsigned int _index) const
 {
   double result = 0.0;