I'm trying to build a subroutine for a custom contact normal force. I require the locations of the contact so I wanted to utilize the loci, locj variables but every time print their information they seem to be completely off. To elaborate:
I have set up a model with a contact taking place around the location of -100,0,0. I've built a subroutine that prints out the loci, locj arrays from matlab but instead of printing something like
[-100, 0, 0 (+-some small percentage due to the contact incidents)]
the numbers are completely off.
Does Adams measure the locations from a starting point other than the global (0,0,0)? Or am I perhaps interpreting the loci, locj vectors wrong?
I assume that local coordinates are measured from a body's CG. One of the loci coordinates however is -1900 (on a body of a total length of 1000 mm in the same direction and its CG in its center i.e., 500 mm on either side). So this should not be possible really.
The contact force appears on a different position in the model so I tried measuring from there but the numbers till don't add up.
I assume that local coordinates are measured from a body's CG. One of the loci coordinates however is -1900 (on a body of a total length of 1000 mm in the same direction and its CG in its center i.e., 500 mm on either side). So this should not be possible really.
The contact force appears on a different position in the model so I tried measuring from there but the numbers till don't add up.