-
The iCub wiki specifies the shoulder constraints as Aq + b > 0 where q is in degrees, if I'm not mistaken. I'm working in radians for all the other calculations. How should I convert the above constraint to radians? I tried multiplying the A matrix by 180/pi, but when I print the result of Aq+b the result seems very large (i.e. very far from the constraints). I'm not sure if this is correct or not! Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi @Woolfrey Judging from https://github.com/robotology/icub-main/blob/master/src/libraries/iKin/src/iKinIpOpt.cpp#L155-L174, it seems that only the vector Therefore, the documentation is not really clear in this aspect. I'll amend it. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hi @Woolfrey
Judging from https://github.com/robotology/icub-main/blob/master/src/libraries/iKin/src/iKinIpOpt.cpp#L155-L174, it seems that only the vector$b$ gets converted in radians, having the shoulders' joints already expressed in radians.
Therefore, the documentation is not really clear in this aspect. I'll amend it.