Hi,
I'm a new here. Just got a S250e setup with Motive.
I was wondering if there is already an import script for Matlab that reads Motives c3d or csv exports, either from NaturalPoint or the community?
Wouldn't be a big deal to write my own, but why reinvent the wheel?
existing matlab import script?
Re: existing matlab import script?
C3D server is free and comes with MATLAB scripts. This allows you to import C3D files easily, but unfortunately the software doesn't work post Win-XP. This has been useful to me in the past, but due to our tracker system being upgraded to Windows 8, I'm now on the lookout for pre-existing CSV reading code. As you say, it wouldn't be hard to make my own, but why reinvent the wheel? Did you end up making a CSV parser and would you be prepared to share if you did?
If you're able to choose your own OS and didn't find a solution already, you can find C3D Server here: http://www.c3dserver.com
If you're able to choose your own OS and didn't find a solution already, you can find C3D Server here: http://www.c3dserver.com
Re: existing matlab import script?
Hey,
I was wondering if any of you had already made a Matlab script for Windows 8?
Thanks in advance for considering sharing!
Best,
Arthur
I was wondering if any of you had already made a Matlab script for Windows 8?
Thanks in advance for considering sharing!
Best,
Arthur
Re: existing matlab import script?
Although it might be outdated with the upcoming introduction of Motive 1.6, here is my simple Matlab script to load the position, quaternion orientation and euler angles for multiple rigid bodies
https://bitbucket.org/friederw/loadoptitrackcsv
https://bitbucket.org/friederw/loadoptitrackcsv
Re: existing matlab import script?
Thanks for posting this import script. When I use it with a Motive 1.5.1 csv file, the script recognizes the appropriate number of rigid bodies, however, the data points are all coming in as NaN for all four variables: T, P, Q, and Euler.
Are there any modifications that should be done before being able to use? Thanks in advance!
Are there any modifications that should be done before being able to use? Thanks in advance!
Re: existing matlab import script?
Hi, I also tried the script from frwl and get same result as CPGRTT. All the data from the rigid bodies are labeled NaN, except the data form the resting coordinate system. Does anyone have a clue. Thank you.