I can't use some of my files in opensim, because when I try to open them to scale the model or for inverse kinematics I get the "unable to open marker file" error. Preview the experimental data also doesn't work for those files.
But the rest of files (more than half) work with no problem. All data was collected on the same machine with identical configuration and then converted to .trc and .mot files in the same way.
How do I go about troubleshooting this problem? Files that give error don't seem corrupted or anything. Thank you in advance
Unable to open marker file, but only for half the files
- Milosz Lukaszewicz
- Posts: 8
- Joined: Mon Jun 27, 2022 1:29 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Unable to open marker file, but only for half the files
Hi Milosz,
I'd send an example file either here if small or open an issue on github and attach the problem file and we'll take a look. My guess would be that there's something different in the header, space/separator(s) between the files that work and the others that don't. What did you use to convert the file and is it on the same platform (line endings could be an issue).
Best regards,
-Ayman
I'd send an example file either here if small or open an issue on github and attach the problem file and we'll take a look. My guess would be that there's something different in the header, space/separator(s) between the files that work and the others that don't. What did you use to convert the file and is it on the same platform (line endings could be an issue).
Best regards,
-Ayman
- Milosz Lukaszewicz
- Posts: 8
- Joined: Mon Jun 27, 2022 1:29 am
Re: Unable to open marker file, but only for half the files
I have attached two files, the "not working" one gives me the error message. These are .trc files, but had to change extension to share them here.
If you could tell me what is the problem that would mean a world to me.
If you could tell me what is the problem that would mean a world to me.
- Attachments
-
- OFM walk_not working.txt
- (222.35 KiB) Downloaded 56 times
-
- OFMwalk_working.txt
- (234.44 KiB) Downloaded 22 times
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Unable to open marker file, but only for half the files
Hello,
While I had no issue previewing the trc file that was reported as not working, the header data is incorrect as the number of frames is off by 1. It's possible the handling of the trc file is more strict in the scale tool than preview mode. Please fix this either in the file itself or the tool that writes the file/header and let us know if it fixes the problem.
-Ayman
While I had no issue previewing the trc file that was reported as not working, the header data is incorrect as the number of frames is off by 1. It's possible the handling of the trc file is more strict in the scale tool than preview mode. Please fix this either in the file itself or the tool that writes the file/header and let us know if it fixes the problem.
-Ayman