Search found 14 matches

by Anne Koelewijn
Tue Jul 05, 2022 2:22 am
Forum: OpenSim
Topic: Scaled model makes MATLAB crash in Linux
Replies: 2
Views: 216

Re: Scaled model makes MATLAB crash in Linux

Thanks! Using this approach, I was able to isolate the problem and I found that it has to do with the ConstraintSet.
by Anne Koelewijn
Thu Jun 30, 2022 4:21 am
Forum: OpenSim
Topic: Scaled model makes MATLAB crash in Linux
Replies: 2
Views: 216

Scaled model makes MATLAB crash in Linux

Hi, We have downloaded/checked out OpenSim version 4.1 and 4.3 from git and installed it on Linux. It generally works well, but we run into an issue when trying to load a scaled version of the Catelli model, where it crashed MATLAB when we run the following state = Mod.initSystem(); It works fine wi...
by Anne Koelewijn
Mon Jul 19, 2021 4:38 am
Forum: SCONE
Topic: Random seed multiple optimizations
Replies: 3
Views: 193

Re: Random seed multiple optimizations

Hi, Not really. I guess the .bat approach could work, but it seems slower than using the "run multiple optimizations" in the GUI, because it does not run in parallel. I can indeed set the random_seed in the controller file or in the scone file to a specific number, but then the same random_seed is u...
by Anne Koelewijn
Thu Jul 15, 2021 11:13 pm
Forum: SCONE
Topic: Random seed multiple optimizations
Replies: 3
Views: 193

Random seed multiple optimizations

Hi, I would like to run multiple optimizations of the same scenario, each with a different random seed. However, they should use the same seed throughout the optimization. I have tried to program this using the signature (using HasSignature), but this did not work. Is there any way to program this i...
by Anne Koelewijn
Thu Jun 24, 2021 6:34 am
Forum: SCONE
Topic: Fitness calculation
Replies: 2
Views: 136

Re: Fitness calculation

Thanks! It did. I also figured out now that one of the columns in the .sto file is input, and by using the input and the same frequency, I get the exact same result.
by Anne Koelewijn
Thu Jun 24, 2021 3:06 am
Forum: SCONE
Topic: Fitness calculation
Replies: 2
Views: 136

Fitness calculation

Hi, I have solved some optimizations, and afterwards want to calculate the fitness of the optimal solution again in MATLAB, based on the activation and excitation in the .sto file. However, I get a slightly different result compared to the objective in the history.txt file. - Is the muscle activatio...
by Anne Koelewijn
Thu Jan 28, 2021 3:39 am
Forum: OpenSim
Topic: Get Joint Location in Matlab
Replies: 2
Views: 304

Re: Get Joint Location in Matlab

Hi,

I think your problem might be solved with line 63-66 here:
https://github.com/dasproject/DAS3/blob ... readosim.m

Kind regards,
Anne
by Anne Koelewijn
Sat Jan 23, 2021 7:44 am
Forum: OpenSim
Topic: Get Joint Location in Matlab
Replies: 2
Views: 304

Re: Get Joint Location in Matlab

Hi,

I actually have the same question, though related to the function "setLocationInParent". Previously I could use this function to change the location of a joint, but now I get an error, and also using the MATLAB option methodsview(), I cannot find it.

Kind regards,
Anne
by Anne Koelewijn
Fri Jan 17, 2020 1:56 am
Forum: SCONE
Topic: Force DOF measure in tutorial 4a
Replies: 1
Views: 122

Force DOF measure in tutorial 4a

Hi, I had a quick question about the second DOFmeasure in tutorial 4a, where Geyer and Herr's controller is used for walking. The first one makes sense to me because there the ankle angle is limited between -60 and 60 degrees. However, I do not understand the physical meaning of the second measure w...
by Anne Koelewijn
Fri Nov 17, 2017 8:15 am
Forum: OpenSim
Topic: MATLAB crashes while creating .osim model with API
Replies: 3
Views: 1109

Re: MATLAB crashes while creating .osim model with API

Thanks for the help! These three suggestions, and using setFunction(spline1.clone()) solved the problem. I checked if the random order of the numbers in the spline is a problem, but it is not.