RRA

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
jing liu
Posts: 17
Joined: Wed Nov 30, 2022 10:56 am

RRA

Post by jing liu » Sat Oct 28, 2023 10:25 pm

Hello teachers, I am having some problems running RRA. I used the gait2354 model. Refer to the Visual3D to OpenSim_4_0 file. Runs RRA directly after running scale. But I found some issues after running the RRA (as shown in the picture), the scaling model was fine in the left support phase, but dropped in the left swing phase. I tried to run the sample file and it didn't happen, which confused me. Do any of the teachers know what's going on?
Attachments
RRA.png
RRA.png (298.44 KiB) Viewed 638 times

Tags:

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: RRA

Post by Mohammadreza Rezaie » Sun Oct 29, 2023 9:00 am

Hi, RRA works well when all external forces exist and are applied to the model. If this is a walking task, three force plates must be assigned (one to the left leg and two to the right leg in your case). Is this condition satisfied?

User avatar
jing liu
Posts: 17
Joined: Wed Nov 30, 2022 10:56 am

Re: RRA

Post by jing liu » Sun Oct 29, 2023 11:08 pm

kernalnet wrote:
Sun Oct 29, 2023 9:00 am
Hi, RRA works well when all externalfo rces exist and are applied to the model. If this is a walking task, three force plates must be assigned (one to the left leg and two to the right leg in your case). Is this condition satisfied?
It is indeed a walking task. Unfortunately, we only have two force plates. During the collection process, it is impossible to ensure that the left and right feet are fully stepped on the two force plates. You mean that this situation is due to the lack of complete force data on the right side, right? Is it OK if I only select the left support time range when running RRA? Or do you have any better suggestions?
Attachments
力台.png
力台.png (81.24 KiB) Viewed 550 times

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: RRA

Post by Mohammadreza Rezaie » Wed Nov 08, 2023 11:33 am

we only have two force plates. During the collection process, it is impossible to ensure that the left and right feet are fully stepped on the two force plates.
These explain why the model drops. When using RRA, always check the residual forces/moments as well as the kinematics errors. Please see: https://simtk-confluence.stanford.edu:8 ... ourResults:

You can crop the time range to include the frames in which all external forces exist (single limb support).

But in your case, you may want to use Static Optimization as an alternative to RRA+CMC.

User avatar
jing liu
Posts: 17
Joined: Wed Nov 30, 2022 10:56 am

Re: RRA

Post by jing liu » Wed Nov 08, 2023 8:56 pm

kernalnet wrote:
Wed Nov 08, 2023 11:33 am
we only have two force plates. During the collection process, it is impossible to ensure that the left and right feet are fully stepped on the two force plates.
These explain why the model drops. When using RRA, always check the residual forces/moments as well as the kinematics errors. Please see: https://simtk-confluence.stanford.edu:8 ... ourResults:

You can crop the time range to include the frames in which all external forces exist (single limb support).

But in your case, you may want to use Static Optimization as an alternative to RRA+CMC.
I followed the tutorial on the Visual 3D website and ran the RRA directly after scale. The tutorial may be a little easier than the OpenSim website, eliminating some intermediate steps. But according to your suggestion, I may have to do this according to the official website scale-IK-ID-Static Optimization, which needs to adjust the markers, which may be more complicated than the previous method. So I want to know what effect crop the time range and use Static Optimization as an alternative to RRA+CMC have on the muscle force obtained in the end?

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

Re: RRA

Post by Nicos Haralabidis » Wed Nov 08, 2023 9:36 pm

Hello Jing,

Have you taken a look at the tutorial 'Computing Joint Moments With Experimental Data'? https://simtk-confluence.stanford.edu:8 ... ental+Data The Inverse Dynamics/RRA steps and associated questions may be of relevance to you here.

Hope that helps.

Nicos

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: RRA

Post by Mohammadreza Rezaie » Thu Nov 09, 2023 9:09 am

If using the visual3d to opensim workflow. you already have all the required files for running Static Optimization:
  • Scaled model (.osim),
  • IK file (.mot),
  • GRF file (.xml),
  • CMC actuator file (xml).
Please see: https://simtk-confluence.stanford.edu:8 ... ion-Inputs
So, you can continue the workflow with Static Optimization after scaling the model.

POST REPLY