Are joint-state vectors $q$, which define the position and orientation of a set of joints, limited somehow?
I know they are used for the rotation part of the transformation matrix => therefore I would think they were limited within 0 and 2$\pi$
Are joint-state vectors $q$, which define the position and orientation of a set of joints, limited somehow?
I know they are used for the rotation part of the transformation matrix => therefore I would think they were limited within 0 and 2$\pi$
For generalized joint parameters, there are no explicit limits on the value of $q$, regardless of the joint type.
This is done because more complex joints can be created by a group of relatively simple joints, so it's best to have a library of joints that use the generalized parameter with no bounds.
Consider a rack and pinion. The pinion might rotate an angle $q$ radians, but the rack then translates a distance of $rq$, where r is the effective diameter of the pinion gear. In this case, assuming $0 <= q < 2\pi$ means that the rack can only translate a distance of $2\pi r$.
Screws are similar, where the rotation may be $q$, but the axial translation is based on the pitch and total degree of rotation, $h = qp$, where $p$ is the pitch.
If you would like to evaluate a joint angle as though it were bounded, I would suggest creating a virtual sensor that taps into the joint parameter and performs the bounding operation, but I would definitely leave the actual joint parameter alone.
Additionally to what Chuck said, from a purely mathematical point of view, the rotation matrix is defined as: $$R(\theta) = \left[ \begin{array}[cc] \\ \cos(\theta) & -\sin(\theta) \\ \sin(\theta) & \cos(\theta) \\ \end{array} \right] $$
Thus, $R(\theta) = R(\theta+2\pi) $, thus you do not need to wrap the angle argument.