Page 1 of 1

Input File For Opensim

Posted: Thu Sep 22, 2016 11:28 am
by deepak001
I capture the motion of gait in BTS motion and got files in .mdx and .tdf.Can anybody tell how to convert that files in .trc and .grf files .


Any suggestion will be helpful for me....
Thanks in advance

Re: Input File For Opensim

Posted: Fri Nov 04, 2016 2:18 pm
by jimmy
We are unfamiliar with those data formats. You should approach BTS to see if they have a converter, otherwise you may need to write your own in Matlab.

Re: Input File For Opensim

Posted: Mon Nov 07, 2016 11:16 am
by deepak001
I got it sir. We can convert tdf data into c3d file by TDF inspector.

But from which i did BTS analyse they have 12 force plate so whether i have to edit the program which is written in MOtoNMSv2.2 or from same i can extract .trc and .grf file...??

Any suggestion will be helpful....thanx in advance...

Re: Input File For Opensim

Posted: Mon Nov 07, 2016 11:54 am
by jimmy
But from which i did BTS analyse they have 12 force plate so whether i have to edit the program which is written in MOtoNMSv2.2 or from same i can extract .trc and .grf file...??
Could you please explain again? I don't understand what you are asking.

Re: Input File For Opensim

Posted: Mon Nov 07, 2016 9:57 pm
by deepak001
In MotoNMS toolbox we can convert c3d data into .trc and .grf format and in MotoNMS we have to define laboratory file under which we have to tell about force plate like below:

<Laboratory xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2 <Name>UNIPD</Name>
3 <MotionCaptureSystem>BTS</MotionCaptureSystem>
4 <CoordinateSystemOrientation>ZYX</CoordinateSystemOrientation>
5 <NumberOfForcePlatforms>2</NumberOfForcePlatforms>
6 <ForcePlatformsList>
7 <ForcePlatform>
8 <ID>1</ID>

9 <Brand>Bertec</Brand>
10 <Type>1</Type>
11 <FrameRate>960</FrameRate>
12 <FPtoGlobalRotations>
13 <Rot>
14 <Axis>X</Axis>
15 <Degrees>-90</Degrees>
16 </Rot>
17 </FPtoGlobalRotations>
18 </ForcePlatform>
19 <ForcePlatform>
20 <ID>2</ID>

21 <Brand>Bertec</Brand>
22 <Type>1</Type>
23 <FrameRate>960</FrameRate>
24 <FPtoGlobalRotations>
25 <Rot>
7.2. Setup Files 19
MOtoNMS Documentation, Release 2.2
26 <Axis>X</Axis>
27 <Degrees>-90</Degrees>
28 </Rot>
29 <Rot>
30 <Axis>Y</Axis>
31 <Degrees>180</Degrees>
32 </Rot>
33 </FPtoGlobalRotations>
34 </ForcePlatform>
35 </ForcePlatformsList>
36 </Laboratory>

So if we have 12force plate in BTS motion then whether we have to define each force plate or from above program we can convert data into .trc and .grf ..??