How to keep the foot flat when squatting

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Yanran Jiang
Posts: 10
Joined: Sun Feb 09, 2020 11:48 pm

How to keep the foot flat when squatting

Post by Yanran Jiang » Sun Oct 04, 2020 8:11 pm

Hi there,

I'm simulating squatting using my own motion capture data, but when I'm running inverse kinematics I found the foot is not flat(the toes is downward). I think the foot should be flat and the preview marker data also shows the foot is flat when squatting. How should I reduce this error? In the scalling step, the error has been reduced to under 2cm. How should I reduce the error in IK and keep the foot is flat?

I have tried to change the coordinate value(ankle_angle_r/l) and fix it to ensure the foot is flat, but it will cause another problem.
Should I change the parent_frame of the markers on foot(eg. FOOT_R_LAT) to ground and fix it?

Any help will be appreciated.

Thanks,
Yanran
Attachments
Capture2.PNG
Capture2.PNG (30.19 KiB) Viewed 797 times
Capture.PNG
Capture.PNG (141.39 KiB) Viewed 797 times

Tags:

User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Re: How to keep the foot flat when squatting

Post by Simon Jeng » Sun Oct 04, 2020 10:19 pm

Hi, yanran

I meet the same problem with you. I find that this phenomenon comes from the errror of hip and knee joint angles. I have tried to adjust the position of the virtual marker but it has no effective changes. Waiting for professional reply.

Simon

User avatar
Aaron Fox
Posts: 286
Joined: Sun Aug 06, 2017 10:54 pm

Re: How to keep the foot flat when squatting

Post by Aaron Fox » Tue Oct 06, 2020 3:28 pm

Hi Yanran & Simon.

One thing you could try is create virtual markers at the 'floor' of your participant based on the static trial. I've done this more-so for scaling purposes by projecting markers that are on the feet down to the floor (i.e. y=0). You could use a similar process and also keep these virtual markers in your dynamic trials - and subsequently they would sort of represent the bottom of the foot. If you heavily weighted these virtual markers for IK I think it would do a reasonable job of keeping the feet positioned appropriately on the floor relative to your participants movement.

Aaron

User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Re: How to keep the foot flat when squatting

Post by Simon Jeng » Tue Oct 06, 2020 9:07 pm

Hi Aaron,

Thanks for your reply. I partially understand your meaning. Could you provide a model that contains your setting?

Best wishes,
Simon

User avatar
Aaron Fox
Posts: 286
Joined: Sun Aug 06, 2017 10:54 pm

Re: How to keep the foot flat when squatting

Post by Aaron Fox » Tue Oct 06, 2020 10:23 pm

Hi Simon,

I can't really provide a model - I typically add these markers as a part of the processing steps in my code. The general gist is (for the static trial at least) that you add a new marker to the .trc file below any markers you have on the foot, where you take the X and Z data from the original marker but just make the Y constantly zero. This needs to correspond to a marker in your .osim file that sits on the foot at the ground level.

In thinking about this further, a more simple solution if you want the foot to stay in contact with the ground is to have a weld joint between the foot and ground bodies. That may not represent experimental data appropriately given the foot likely lifts off the ground a little - but if you are determined to have it completely flat on the ground a weld would do it.

Aaron

User avatar
Simon Jeng
Posts: 87
Joined: Fri Sep 07, 2018 8:26 pm

Re: How to keep the foot flat when squatting

Post by Simon Jeng » Wed Oct 07, 2020 2:57 am

Hi Aaron,

Thanks a lot. Now the feet are flat. :D

Best wishes,
Simon
Attachments
squat_screenshot.png
squat_screenshot.png (277.05 KiB) Viewed 636 times

POST REPLY