Ground reaction forces (GRF)
Posted: Thu Jun 13, 2024 12:56 pm
Hi everyone,
I'm working on a project using OpenSim 4.5 and encountered an issue related to applying ground reaction forces (GRF) to a model.
While following the OpenSim tutorial, I observed specific messages in the OpenSim console related to GRF application that are not present in my own setup.
The tutorial shows the following messages:
ExternalLoades: external_loads_model_kinematics_file option is not supported anymore. Results may change.
ExternalLoads 'grf_walk' was renamed and is being reset to 'externalloads'.
ExternalLoads 'Ex2' was renamed and is being reset to 'externalloads'.
Storage: read data file = ../../ExpData/grf_walk.mot (nr=4778 nc=19)
ExternalForce::Right_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
ExternalForce::Left_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
Storage: read data file = /OpenSim/4.5/Models/Rajagopal/RRA/walk/../../ExpData/grf_walk.mot (nr=4778 nc=19)
Storage: read data file = /OpenSim/4.5/Models/Rajagopal/RRA/walk/../../ExpData/grf_walk.mot (nr=4778 nc=19)
However, my example only shows:
ExternalLoades: external_loads_model_kinematics_file option is not supported anymore. Results may change.
ExternalLoads 'grf_walk' was renamed and is being reset to 'externalloads'.
ExternalLoads 'Ex2' was renamed and is being reset to 'externalloads'.
ExternalForce::Right_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
ExternalForce::Left_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
Missing Messages:
The missing lines in my example suggest that the .mot file containing the GRF data is not being read correctly, which might explain the discrepancy in my results compared to the tutorial.
Additionally, I've tried to match the header information in my .mot file to the one used in the OpenSim tutorial, but this hasn't changed the results.
My .mot file header:
subject11_noload_free_trial03_ground_reaction
inDegrees=no
nColumns=19
nRows=2480
DataType=double
version=3
OpenSimVersion=4.5
endheader
Tutorial's .mot file header:
subject11_noload_free_trial03_ground_reaction
version=1
nRows=4778
nColumns=19
inDegrees=no
endheader
Could you please point out any potential issues with my .mot file header or data format that might prevent OpenSim from reading the GRF data correctly?
What are the common troubleshooting steps for ensuring the correct application of GRF in OpenSim?
Is there a way to verify if OpenSim is successfully reading the GRF data from the .mot file?
I appreciate your insights and help in resolving this issue.
Thanks in advance!
I'm working on a project using OpenSim 4.5 and encountered an issue related to applying ground reaction forces (GRF) to a model.
While following the OpenSim tutorial, I observed specific messages in the OpenSim console related to GRF application that are not present in my own setup.
The tutorial shows the following messages:
ExternalLoades: external_loads_model_kinematics_file option is not supported anymore. Results may change.
ExternalLoads 'grf_walk' was renamed and is being reset to 'externalloads'.
ExternalLoads 'Ex2' was renamed and is being reset to 'externalloads'.
Storage: read data file = ../../ExpData/grf_walk.mot (nr=4778 nc=19)
ExternalForce::Right_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
ExternalForce::Left_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
Storage: read data file = /OpenSim/4.5/Models/Rajagopal/RRA/walk/../../ExpData/grf_walk.mot (nr=4778 nc=19)
Storage: read data file = /OpenSim/4.5/Models/Rajagopal/RRA/walk/../../ExpData/grf_walk.mot (nr=4778 nc=19)
However, my example only shows:
ExternalLoades: external_loads_model_kinematics_file option is not supported anymore. Results may change.
ExternalLoads 'grf_walk' was renamed and is being reset to 'externalloads'.
ExternalLoads 'Ex2' was renamed and is being reset to 'externalloads'.
ExternalForce::Right_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
ExternalForce::Left_GRF Data source being set to subject11_noload_free_trial03_ground_reaction
Missing Messages:
The missing lines in my example suggest that the .mot file containing the GRF data is not being read correctly, which might explain the discrepancy in my results compared to the tutorial.
Additionally, I've tried to match the header information in my .mot file to the one used in the OpenSim tutorial, but this hasn't changed the results.
My .mot file header:
subject11_noload_free_trial03_ground_reaction
inDegrees=no
nColumns=19
nRows=2480
DataType=double
version=3
OpenSimVersion=4.5
endheader
Tutorial's .mot file header:
subject11_noload_free_trial03_ground_reaction
version=1
nRows=4778
nColumns=19
inDegrees=no
endheader
Could you please point out any potential issues with my .mot file header or data format that might prevent OpenSim from reading the GRF data correctly?
What are the common troubleshooting steps for ensuring the correct application of GRF in OpenSim?
Is there a way to verify if OpenSim is successfully reading the GRF data from the .mot file?
I appreciate your insights and help in resolving this issue.
Thanks in advance!