Jacobian matrix derived from SimbodyMatterSubsystem
Posted: Tue May 28, 2024 7:17 am
Hi everyone,
I have a problem when I use 'calcFrameJacobian()' to calculate the Jacobian matrix in MATLAB API. It seems that the coordinate indexes from the CoordinateSet are different from those of the SimbodyMatterSubsystem.
For example, I import a hand model with all fingers and calculate the Jacobian matrix according to the middle fingertip. However, the columns in Jacobian that refer to the middle finger joints derived from CoordinateSet are all zeros and some other columns that refer to other fingers have values.
Jacobian matrix in which the columns are arranged finger by finger (columns 10,11,18,23 are for middle fingers ) Coordinate list derived from CoordinateSet in which the coordinates for the middle finger are 15-18. I am wondering if this issue is due to the mismatch of the Coordinate index system of OpenSim and Simbody or something else.
Thanks for the help!
Best,
Junnan
I have a problem when I use 'calcFrameJacobian()' to calculate the Jacobian matrix in MATLAB API. It seems that the coordinate indexes from the CoordinateSet are different from those of the SimbodyMatterSubsystem.
For example, I import a hand model with all fingers and calculate the Jacobian matrix according to the middle fingertip. However, the columns in Jacobian that refer to the middle finger joints derived from CoordinateSet are all zeros and some other columns that refer to other fingers have values.
Jacobian matrix in which the columns are arranged finger by finger (columns 10,11,18,23 are for middle fingers ) Coordinate list derived from CoordinateSet in which the coordinates for the middle finger are 15-18. I am wondering if this issue is due to the mismatch of the Coordinate index system of OpenSim and Simbody or something else.
Thanks for the help!
Best,
Junnan