Issue with using SIMTKArrayCoordinateReference and InverseKinematicSolver
Posted: Wed Jul 05, 2023 8:29 am
I am currently trying to set up a multimodal inverse kinematics tracking using marker locations, coordinates and IMUs. For this purpose, I had originally used the two classes IMUInverseKinematicsTool and InverseKinematicsTool, which worked pretty well using .sto files as input.
However, I have now tried to track all three modalities together through the InverseKinematicsSolver. To start off, I attempted to use the constructor which uses the model, markersReference, coordinateReferences and a constraint weight. My attempts have been unsuccessful so far, and I believe it is due to the CoordinateReferences Array.
At first, I tried to simply create an Array and fill that with CoordinateReferences, but that did not match the constructor signature. I then tried to create an object from the class SimTKArrayCoordinateReference(). Unfortunately, there is no documentation on this class in the API. To fill the Array with data, I attempted to use the method adoptData, but it has not worked either. What long is one supposed to use when filling the SIMTKArray?
Does anyone have any experience with using the InverseKinematicsSolver or the SIMTKArrayCoordinateReference? I would greatly appreciate any further insight or information :)
However, I have now tried to track all three modalities together through the InverseKinematicsSolver. To start off, I attempted to use the constructor which uses the model, markersReference, coordinateReferences and a constraint weight. My attempts have been unsuccessful so far, and I believe it is due to the CoordinateReferences Array.
At first, I tried to simply create an Array and fill that with CoordinateReferences, but that did not match the constructor signature. I then tried to create an object from the class SimTKArrayCoordinateReference(). Unfortunately, there is no documentation on this class in the API. To fill the Array with data, I attempted to use the method adoptData, but it has not worked either. What long is one supposed to use when filling the SIMTKArray?
Does anyone have any experience with using the InverseKinematicsSolver or the SIMTKArrayCoordinateReference? I would greatly appreciate any further insight or information :)