Contact Geometry Parameter Optimisation
Posted: Tue Sep 03, 2024 2:28 am
Hi all,
I have a questiong regarding Contact Geometry parameter optimisation using the SmoothSphereHalfSpaceForce.
I was wondering if a MocoContactTrackingGoal is required to optimise the contact parameters (ie stiffness and damping) in a MocoStudy ?
At the moment, I am trying to run a contact parameter optimisation only using a MocoMarkerTrackingGoal and a MocoControlGoal, while trying to minimise the pelvis residuals (as shown in the exampleMocoTrack.py file) and providing the ground reaction forces via the ModOpAddExternalLoads method, but I get the following error:
I must say that the contact parameters that I am optimising for aren't related to the foot-ground interface, but rather to a contact that occurs at the shoulder level.
I get a warning that says to check whether the file exists or not, but the file clearly exists and as soon as I stop adding the contact parameters to the problem, the problem runs with no issues (therefore, finding the file).
I hope I was clear enough for you to understand. Any help will be very much appreciated.
All the best,
Andrea
I have a questiong regarding Contact Geometry parameter optimisation using the SmoothSphereHalfSpaceForce.
I was wondering if a MocoContactTrackingGoal is required to optimise the contact parameters (ie stiffness and damping) in a MocoStudy ?
At the moment, I am trying to run a contact parameter optimisation only using a MocoMarkerTrackingGoal and a MocoControlGoal, while trying to minimise the pelvis residuals (as shown in the exampleMocoTrack.py file) and providing the ground reaction forces via the ModOpAddExternalLoads method, but I get the following error:
Code: Select all
[error] IO.OpenInputFile(const string&,openmode mode): failed to open external_force.mot.
I get a warning that says to check whether the file exists or not, but the file clearly exists and as soon as I stop adding the contact parameters to the problem, the problem runs with no issues (therefore, finding the file).
I hope I was clear enough for you to understand. Any help will be very much appreciated.
All the best,
Andrea