Tracking marker position

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
krishna raj
Posts: 21
Joined: Thu Dec 01, 2022 7:40 am

Tracking marker position

Post by krishna raj » Mon Mar 04, 2024 3:25 am

Hi,

I have applied load on 4 points on head,
on movement ,point force position tracking ,i am going to give the marker position as the point force position
So that point force position moves along the marker position during movement.

How can i get the marker position x,y,z for my 4 Markers, in ground coordinates from the available motion file

It is a 5 sec .mot file.

regards
Krishnaraj GR
Attachments
hyoid model.png
hyoid model.png (115.2 KiB) Viewed 885 times

User avatar
Nicos Haralabidis
Posts: 196
Joined: Tue Aug 16, 2016 1:46 am

Re: Tracking marker position

Post by Nicos Haralabidis » Mon Mar 04, 2024 10:09 am

Hello Krishna,

Just to be clear, do you have the coordinates over time for your model? As you could then use the Analyze tool to run a BodyKinematics/Kinematics analysis to get each marker's position in the ground.

Best wishes,

Nicos Haralabidis

User avatar
krishna raj
Posts: 21
Joined: Thu Dec 01, 2022 7:40 am

Re: Tracking marker position

Post by krishna raj » Tue Mar 05, 2024 11:30 pm

Hi Nicos,

thank you for the reply.

"coordinates over time for your model" -do you mean the motion file?

The body kinmatics not showing the marker trajectory .

my case:

I have the .mot file ,magnitude of point force (vx,vy,vz) alone ,not having the point position (px,py,pz)
in that case i tried the marker (x,y,z) position as (px,py,pz)

marker1 name:LCAG

i need point trajectory data- LCAGx,LCAGy,LCAGz(ground frame) for the complete motion.

in the attached picture -head is moving forward ,the pressure point is not following the markers.

i have tired the point kinematics also locating my markers ,but result marker point is not exactly matching the location.

if any other way please suggest

regards
krishnaraj gr
Attachments
MOT FILE.png
MOT FILE.png (18.06 KiB) Viewed 768 times
pos point nt following markeers.png
pos point nt following markeers.png (45.27 KiB) Viewed 768 times

User avatar
Nicos Haralabidis
Posts: 196
Joined: Tue Aug 16, 2016 1:46 am

Re: Tracking marker position

Post by Nicos Haralabidis » Wed Mar 06, 2024 10:44 am

Hello Krishna,

It looks like you have the coordinates/motion file based on your attachment in the previous post - great!

Have your model loaded in the OpenSim GUI, then go Tools -> Analyze... in the input space select Motion and From File, select your motion file. At the top then go to Analyses, at the bottom select Add -> PointKinematics. Select the PointKinematics, at the bottom hit Edit. In the value field of point_name provide a name for your desired point, expand the point field and set the values of the position vector in the local frame. In the field of body_name specify the body name for which the point is expressed locally. In the field of relative_to_body_name specify the ground body. (these instructions may not yield what you expect to see, in which case try body_name as ground and relative_to_body_name the body name for which the point is expressed) If you want more points then add further PointKinematics analyses.

Hope that helps.

Nicos

User avatar
krishna raj
Posts: 21
Joined: Thu Dec 01, 2022 7:40 am

Re: Tracking marker position

Post by krishna raj » Thu Mar 07, 2024 10:16 pm

Hi Nicos,

Thanks a lot; it worked for me.
been struggling on this,got it at last

Can you clarify this

My experiment is applying load to four points of the head.

I have the force magnitudes vx vy and vz and now I have the marker position px py px.

So on the external force mot file, I filled in the vx vy and vz -magnitude values, and for the positions px py and pz I filled in the marker position.

The static optimization-muscle force result of with load and without load diff is very small. Any comments on this?

My Doubts:

1. Is it the right way to apply a load to the head through a marker point attached to the skull
2. Is torque necessary or not for the application of point force?
3: After applying the load, the green external forces are not visible; they are seen inside the skull. Does this affect the analysis result?
4. My model is a half-body model. Do I need ground-reaction external forces for my model?

regards
krshnaraj gr
Attachments
helmet.jpg
helmet.jpg (107.1 KiB) Viewed 696 times
3 out of 4 forces are inside the skull.png
3 out of 4 forces are inside the skull.png (62.86 KiB) Viewed 696 times

POST REPLY