Search found 457 matches

by Thomas Geijtenbeek
Mon Nov 18, 2024 6:36 am
Forum: SCONE
Topic: Download the video from Sconepy
Replies: 1
Views: 96

Re: Download the video from Sconepy

You can create video via Tools -> Generate Video
by Thomas Geijtenbeek
Tue Nov 12, 2024 3:56 am
Forum: SCONE
Topic: Missing Joint Powers and Moments
Replies: 6
Views: 235

Re: Missing Joint Powers and Moments

It seems like an issue with OpenSim, since I'm directly calling their API to compute the muscle moment arm: https://github.com/tgeijten/scone-core/blob/7222a3db04e022d11680c88ee0ed4a28b859b7c5/src/sconelib/sconeopensim4/MuscleOpenSim4.cpp#L166 This is beyond my reach, unfortunately. For in-dept supp...
by Thomas Geijtenbeek
Tue Nov 12, 2024 3:46 am
Forum: SCONE
Topic: Measure Weight Optimization
Replies: 3
Views: 106

Re: Measure Weight Optimization

You can't use SCONE directly for meta optimizations like that, but perhaps you can build something in Python that uses SCONE to perform the individual optimizations, using the SconePy interface: https://scone.software/doku.php?id=doc:batch This is something I would *not recommend* unless you know ex...
by Thomas Geijtenbeek
Mon Nov 11, 2024 2:50 am
Forum: SCONE
Topic: Missing Joint Powers and Moments
Replies: 6
Views: 235

Re: Missing Joint Powers and Moments

I looked into it, but I'm using the standard OpenSim API to compute the moment, moment arm and dof velocity. Is the moment, moment_arm or dof velocity also zero in your data?
by Thomas Geijtenbeek
Mon Nov 11, 2024 2:42 am
Forum: SCONE
Topic: Measure Weight Optimization
Replies: 3
Views: 106

Re: Measure Weight Optimization

Do I understand correctly that you want to run a meta optimization, i.e. run various optimizations to get the objective weights that lead to the best results? In that case, the weights for your cost function would remain constant during each SCONE optimization, and you would run another optimizer on...
by Thomas Geijtenbeek
Thu Nov 07, 2024 9:07 am
Forum: SCONE
Topic: Missing Joint Powers and Moments
Replies: 6
Views: 235

Re: Missing Joint Powers and Moments

Are you using an OpenSim model or a Hyfydy model?
by Thomas Geijtenbeek
Wed Nov 06, 2024 8:55 am
Forum: SCONE
Topic: access some of the states of the leg in a lua script
Replies: 8
Views: 349

Re: access some of the states of the leg in a lua script

I looked into it, and it appears that "target_body" in your example is actually the torso and not the pelvis. If I replace target_body with the pelvis body, the sagittal positions become identical to those from the GaitStateController.
by Thomas Geijtenbeek
Tue Nov 05, 2024 5:29 am
Forum: SCONE
Topic: access some of the states of the leg in a lua script
Replies: 8
Views: 349

Re: access some of the states of the leg in a lua script

Great, that looks correct.

Please note that you can also simply use grf_test:length() and gravity():length() to the lengths of these vectors.
by Thomas Geijtenbeek
Tue Nov 05, 2024 3:25 am
Forum: SCONE
Topic: Effort Measure (Wang2012)
Replies: 3
Views: 1764

Re: Effort Measure (Wang2012)

The Effort is in Joules, while the MuscleActivation is a value between 0 and 1.
by Thomas Geijtenbeek
Tue Nov 05, 2024 2:45 am
Forum: SCONE
Topic: "No Matching States" Error with OpenSim 4 Models in mimicMeasure
Replies: 3
Views: 206

Re: "No Matching States" Error with OpenSim 4 Models in mimicMeasure

You should use "*/activation" (note the slash instead of the dot). Make sure you also correctly updated the names in the .sto file.