How to use CableConstraint achieve rotation? #194
-
Hi! I'm trying to using only one cable to control a continuum robot. After add CableConstraint to the robot, I want to do a extra rotation ( or twist) besides displacements, which means I need to rotate the Cable by an axis.
So I am wondering is there any methods to achieve the function that cable rotate and make the robot model twist? And I found that |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi, It makes me think of this paper. Maybe @adagolodjo can point you examples? |
Beta Was this translation helpful? Give feedback.
-
Hi! @EulalieCoevoet and @adagolodjo I have successfully achieved teh function according to the paper link you mentioned. For others who may have the same problem as me, here is the method: In function Hope these can help others! |
Beta Was this translation helpful? Give feedback.
-
Hello @TeoREN0217 , Thanks for your feedback, and sorry for my late reply. |
Beta Was this translation helpful? Give feedback.
Hi! @EulalieCoevoet and @adagolodjo
I have successfully achieved teh function according to the paper link you mentioned. For others who may have the same problem as me, here is the method:
Using
directFingerActuator
template inCosserat Plugin
and I think there are some bugs:In function
def onKeypressedEvent(self, event)
self._extracted_from_onKeypressedEvent_10( qOld, posA, self.angularRate)
has an extra paramself
, you need to delete it.And in my SOFA version,
TetrahedronSetTopologyContainer
didn't work well. So I changed it asMeshTopology
.Hope these can help others!