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?