Input File For Opensim

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Deepak Jindal
Posts: 14
Joined: Sun Jun 05, 2016 11:04 pm

Input File For Opensim

Post by Deepak Jindal » Thu Sep 22, 2016 11:28 am

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

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Input File For Opensim

Post by jimmy d » Fri Nov 04, 2016 2:18 pm

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.

User avatar
Deepak Jindal
Posts: 14
Joined: Sun Jun 05, 2016 11:04 pm

Re: Input File For Opensim

Post by Deepak Jindal » Mon Nov 07, 2016 11:16 am

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...

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Input File For Opensim

Post by jimmy d » Mon Nov 07, 2016 11:54 am

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.

User avatar
Deepak Jindal
Posts: 14
Joined: Sun Jun 05, 2016 11:04 pm

Re: Input File For Opensim

Post by Deepak Jindal » Mon Nov 07, 2016 9:57 pm

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 ..??

POST REPLY