Search found 82 matches

by Pagnon David
Mon Nov 20, 2023 3:33 am
Forum: OpenSim Moco
Topic: nan in forceset
Replies: 4
Views: 260

nan in forceset

Hi there, I am trying to build up something more complex from as simple of a start as I can. I converted the example2DWalking.m file to python, and made it a torque-drive problem. The problem converges quite fast, but I get nan for all /forceset. The first tracking simulation does not have this issu...
by Pagnon David
Wed Nov 15, 2023 11:48 am
Forum: OpenSim Moco
Topic: CreatePeriodicTrajectory in 3D - Why negate and shift?
Replies: 9
Views: 430

Re: CreatePeriodicTrajectory in 3D - Why negate and shift?

EDIT: I had initially forgotten to include controls in the output file, this is now done. Just in case this can be helpful for anyone, I had a somewhat similar issue. I wanted to output several strides from a single full stride, and createPeriodicTrajectory's default behabior is used to create a ful...
by Pagnon David
Tue Nov 07, 2023 3:44 pm
Forum: OpenSim Moco
Topic: Verbosity level
Replies: 2
Views: 100

Re: Verbosity level

Thabks Nick, it makes sense!
by Pagnon David
Tue Nov 07, 2023 9:08 am
Forum: OpenSim Moco
Topic: Verbosity level
Replies: 2
Views: 100

Verbosity level

Hi there, This matters very little, but I've seen several examples where verbosity is set to 2: solver.set_verbosity(2) However, from the source code it seems like there are only level 0 and 1: /// How much information should be spewed to the console? /// 0: tropter and the underlying solver are sil...
by Pagnon David
Tue Nov 07, 2023 8:56 am
Forum: OpenSim Moco
Topic: Grid convergence study
Replies: 10
Views: 2480

Re: Grid convergence study

Dear Ross,

Did you happen to write and publish this to biorxiv (or something)?
I may want to cite it at some point.
by Pagnon David
Mon Nov 06, 2023 1:04 am
Forum: AddBiomechanics
Topic: Height and Weight
Replies: 4
Views: 485

Re: Height and Weight

Well I initially wanted to use AMASS marker data to combine accurate skeletons (with AddBiomechanics) with accurate body meshes (with MoSh++). It seems like we just got scooped :mrgreen:
https://skel.is.tue.mpg.de/

That's life, we'll definitely use AddBiomechanics in any case!
by Pagnon David
Thu Nov 02, 2023 4:10 pm
Forum: OpenSim Moco
Topic: NaN detected for output jac_g_x
Replies: 3
Views: 197

Re: NaN detected for output jac_g_x

Wow that was a quick fix, thanks! I'm glad I asked, I was getting crazy and I could not know where to look for anymore. Just for the record, why would a zero mass lead to nan speeds? Are speeds not calculated as d angle / d t, but as integral( sum(F) / m dt )? If so, why? And since you're there, do ...
by Pagnon David
Thu Nov 02, 2023 10:41 am
Forum: OpenSim Moco
Topic: NaN detected for output jac_g_x
Replies: 3
Views: 197

Re: NaN detected for output jac_g_x

While I'm at it, I'll also post my code and data so that you can reproduce the problem if you wish. The model is the stock Rajagopal2015 model converted for OpenSim v4 (too large to be attached). import os import opensim as osim import numpy as np # inspired by https://github.com/stanfordnmbl/openca...
by Pagnon David
Thu Nov 02, 2023 10:36 am
Forum: OpenSim Moco
Topic: NaN detected for output jac_g_x
Replies: 3
Views: 197

NaN detected for output jac_g_x

Hi, I am trying to run a torque-driven tracking simulation of a walking sequence. The model is Rajagopal2015. I do not provide any experimental ground reaction forces, instead I add contact spheres to the model. I do provide a .mot file with joint angles. When I run it, I am welcomed with a CasADi e...
by Pagnon David
Wed Nov 01, 2023 9:27 am
Forum: AddBiomechanics
Topic: Queued on SLURM cluster
Replies: 5
Views: 645

Re: Queued on SLURM cluster

Am I the only one experiencing this issue? After force reprocessing, and even creating a new profile, this is still Queued on SLURM cluster. My trial has nothing overly specific, I use the default OpenSim model, and I tried using both opensim .trc and vicon .c3d files. Sorry if I sound pushy, I unde...