I have two questions about using SYSARY in subroutines:
1) How can I tell the units at which SYSARY outputs the data (e.g. velocities)? I have set units in Adams as mm/deg but I think that my angular velocty components where output in rad/s.
2) In which manner does SYSARY request data. For example, when requesting displacements , SYSARY receives the ipar vector, containing the values of I marker, J marker and I marker. Does this mean that SYSARY requiests the displacement of the I marker, relative to the J marker, in the reference frame of the I marker?
Regarding the use of reference markers, when they rotate along one of the bodies, do the DX value directions change as well, or do they keep getting calculated based on the reference marker's initial orientation?
To clarify here is my case:
I used a subroutine which estimates the displacement between two markers in the x, y directions and returns a force based on them (kind of like a spring in the manner of fx =k*x and fy = k*y). Assuming I calculate x between markers I and J using marker I as reference, that is DX(I_MARKER, J_MARKER, I_MARKER), while marker I rotates along with its parent body. Will the direction of x be constant (aligned with the I_MARKER's original orientation) or will it change based on its rotation?
I also have the same problem when returning the calculated force. Is fx returned to Adams in the original orientation, or in the current orientation of the gforce marker?
Regarding the use of reference markers, when they rotate along one of the bodies, do the DX value directions change as well, or do they keep getting calculated based on the reference marker's initial orientation?
To clarify here is my case:
I used a subroutine which estimates the displacement between two markers in the x, y directions and returns a force based on them (kind of like a spring in the manner of fx =k*x and fy = k*y). Assuming I calculate x between markers I and J using marker I as reference, that is DX(I_MARKER, J_MARKER, I_MARKER), while marker I rotates along with its parent body. Will the direction of x be constant (aligned with the I_MARKER's original orientation) or will it change based on its rotation?
I also have the same problem when returning the calculated force. Is fx returned to Adams in the original orientation, or in the current orientation of the gforce marker?