Modifying MuscleReflex Parameters with SconePy
Posted: Tue Dec 17, 2024 4:14 am
Hi Thomas,
I am currently using SconePy to run a large number of optimizations. For each optimization, I need to modify specific controller parameters within MuscleReflex (e.g., KL, L0, KF, C0) in the following hierarchy:
GaitStateController --> ConditionalControllers --> ConditionalController --> ReflexController --> MuscleReflex
My question is: is there a way to directly access and modify these parameters using SconePy?
I have tried using the scenario.set() function as demonstrated in the Batch Optimization Tutorial. However, instead of modifying the existing MuscleReflex parameters, it adds a new ConditionalController at the end of the script.
Is there a recommended way to achieve this?
Thank you in advance for your help!
Best regards,
Mustafa
I am currently using SconePy to run a large number of optimizations. For each optimization, I need to modify specific controller parameters within MuscleReflex (e.g., KL, L0, KF, C0) in the following hierarchy:
GaitStateController --> ConditionalControllers --> ConditionalController --> ReflexController --> MuscleReflex
My question is: is there a way to directly access and modify these parameters using SconePy?
I have tried using the scenario.set() function as demonstrated in the Batch Optimization Tutorial. However, instead of modifying the existing MuscleReflex parameters, it adds a new ConditionalController at the end of the script.
Is there a recommended way to achieve this?
Thank you in advance for your help!
Best regards,
Mustafa