Error related to MarkersReference
Posted: Tue Feb 04, 2020 10:03 am
Hi Moco team,
We were working with the MarkerTracking10DOF example and received an error related to the MarkersReference constructor from Line 91 of the example code:
Error: No constructor 'org.opensim.modeling.MarkersReference' with matching signature found.
We think we found a solution and fixed the code with the following lines that allowed the code to run.
With this change, the code runs and we believe we got a reasonable solution. We wanted to verify that the fix we found was valid. Please let us know what you think and if you have any suggestions of another way to fix this error.
Thanks for your help,
Allison
We were working with the MarkerTracking10DOF example and received an error related to the MarkersReference constructor from Line 91 of the example code:
Code: Select all
markersRef = MarkersReference(fullfile(scriptdir, 'marker_trajectories.trc'));
We think we found a solution and fixed the code with the following lines that allowed the code to run.
Code: Select all
markersRef = MarkersReference();
markersRef.set_marker_file(fullfile(scriptdir, 'marker_trajectories.trc'));
Thanks for your help,
Allison