Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constrain the problem to result in gait-like locomotion. #106

Open
VDB-Bram opened this issue Jun 21, 2023 · 1 comment
Open

Constrain the problem to result in gait-like locomotion. #106

VDB-Bram opened this issue Jun 21, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@VDB-Bram
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Yes. In simulations I often find local minima where the model performs non-gait locomotion, e.g. single-legged hopping.

Describe the solution you'd like

Reformulate the OCP to reflect different phases during locomotion. E.g. for each side (R and L) you create two possible configurations; contact (C) or non-contact (NC). As input to the problem you can then give a sequence of these configurations, e.g. in the format [R -L (phase 1), R - L (phase 2),...] (C - NC, C - C, NC - C, C - C)

Describe alternatives you've considered

Add a constraint such that somewhere between 10 and 40% of the GC the right GRFy is above a threshold and between 60 and 100% the left GRFy is above a threshold. This would enforce a gait-like motion. I will try to implement this as a quick and dirty temporary solution.

Additional context

/

Are you willing to contribute in the development of this feature?

Yes

@VDB-Bram VDB-Bram added the enhancement New feature or request label Jun 21, 2023
@Lars-DHondt-KUL Lars-DHondt-KUL added this to the low priority milestone Sep 20, 2024
@Erik-Meilak
Copy link

Hello,
I was wondering if there had been any development on this that you might be able to share? I have been looking into simulating realistic running gait and all my simulations are resulting in limited knee flexion during the swing phase. Do you have any tips/methods which could constrain a certain coordinate at a particular point in the gait cycle? Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants