Search found 35 matches

by Sepehr Ramezani
Sun Mar 19, 2023 4:06 pm
Forum: OpenSim Moco
Topic: MocoParameter gives a wrong stiffness for PathSpring
Replies: 3
Views: 329

Re: MocoParameter gives a wrong stiffness for PathSpring

Hi Nick, That's right. For the PathSpring() I was able to fix the problem. I had too much variables for optimization, that's why it was able to reach the desired convergence tolerance by just optimizing the few of variables while other variables were remaind at the average of theirs boundaries. So I...
by Sepehr Ramezani
Mon Feb 20, 2023 11:23 am
Forum: OpenSim Moco
Topic: MocoParameter gives a wrong stiffness for PathSpring
Replies: 3
Views: 329

MocoParameter gives a wrong stiffness for PathSpring

Hi everyone, I'm using MOCO parameter to optimize stiffness of PathSpring() actuator. Model is working in FD, optimization converges, parameters_require_initsystem is disable, Matlab 2022, Opensim 4.4 The problem is optimized parameter is always the average of it's boundary [min max] regardless of t...
by Sepehr Ramezani
Wed Jul 13, 2022 6:24 pm
Forum: OpenSim Moco
Topic: Can we optimize parameter of FiberForceLengthCurve with MOCO
Replies: 18
Views: 1841

Re: Can we optimize parameter of FiberForceLengthCurve with MOCO

Hi Nick, Sorry for delay in response, I'm dealing with Ph.D. stuff right now. What do you mean by large error of estimation of tendon_strain_at_one_norm_force? Did the solution not converge to the solution you would expect, or did the the problem violate the parameter bounds somehow? Solution conver...
by Sepehr Ramezani
Fri Jun 24, 2022 10:20 am
Forum: OpenSim Moco
Topic: Can we optimize parameter of FiberForceLengthCurve with MOCO
Replies: 18
Views: 1841

Re: Can we optimize parameter of FiberForceLengthCurve with MOCO

Hi Nick, Thanks, I changed the intermediate parameter in the DeGrooteFregly2016Muscle.h ( here ) and MOCO_parameter successfully updated the internal variable (tendon_strain_at_one_norm_force) without enabling set_parameters_require_initsystem. However, I got a large error of the estimation of tendo...
by Sepehr Ramezani
Wed Jun 15, 2022 12:01 pm
Forum: OpenSim Moco
Topic: Can we optimize parameter of FiberForceLengthCurve with MOCO
Replies: 18
Views: 1841

Re: Can we optimize parameter of FiberForceLengthCurve with MOCO

Hi Nick,
I have learnt how to build from source code. Do you have any recommendation what exactly should change in source (DeGrooteFregly2016Muscle.cpp or other files) to solve this problem?

Best,
Sepehr
by Sepehr Ramezani
Fri May 27, 2022 1:30 pm
Forum: OpenSim
Topic: Error when installing OpenSim in Linux system
Replies: 3
Views: 609

Re: Error when installing OpenSim in Linux system

Hi I have a same problem. I followed the Superbuild instructors. In the section of "Configure and generate project files" when I want to configure Cmake I get this error CMake Error at CMakeLists.txt:836 (find_package): By not providing "Findcasadi.cmake" in CMAKE_MODULE_PATH this project has asked ...
by Sepehr Ramezani
Thu Feb 24, 2022 11:37 am
Forum: OpenSim
Topic: Muscle Path way data
Replies: 1
Views: 266

Muscle Path way data

Hi everyone, I'm coding with MATLAB and wondering is there any way to get the muscle's curvature data related to segment coordinate? The easy way is using markers to follow the muscle pathway (curvature) then use marker's position data and fitting curve (picture below). Capture3.JPG This way is time...
by Sepehr Ramezani
Thu Feb 24, 2022 11:05 am
Forum: OpenSim Moco
Topic: Can we optimize parameter of FiberForceLengthCurve with MOCO
Replies: 18
Views: 1841

Re: Can we optimize parameter of FiberForceLengthCurve with MOCO

Hi Nick, Thanks, I'm trying to wrap up the project before a dead line, I was wondering if I can apply changes in my fork and try to test it in my system (I have my code in MATLAB). Presumably after fixing the bug in my fork I need to do extra steps to update the API (because I'm running my code with...
by Sepehr Ramezani
Thu Feb 17, 2022 1:36 pm
Forum: OpenSim Moco
Topic: Can we optimize parameter of FiberForceLengthCurve with MOCO
Replies: 18
Views: 1841

Re: Can we optimize parameter of FiberForceLengthCurve with MOCO

Hi Nick, My case is: parameter estimation of knee's flexors and extensors during Isokinetic knee flexion (0deg to 90deg). I'm using MOCOTrack, stateTracking for motion, plus control tracking (external force). estimation of these 2 parameters was successful: tendon_slack_length passive_fiber_strain_a...
by Sepehr Ramezani
Wed Dec 08, 2021 1:12 pm
Forum: OpenSim Moco
Topic: Can we optimize parameter of FiberForceLengthCurve with MOCO
Replies: 18
Views: 1841

Re: Can we optimize M_T parameter with MOCO

If you use the DeGrooteFregly2016Muscle, it has a property called 'passive_fiber_strain_at_one_norm_force'. If you're trying to optimize passive forces and don't mind switching to that muscle, that could be viable alternative. Hi, quick update for this post it might be useful. I have used DegrooteM...