Search found 86 matches

by Pagnon David
Thu Nov 02, 2023 4:10 pm
Forum: OpenSim Moco
Topic: NaN detected for output jac_g_x
Replies: 3
Views: 222

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: 222

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: 222

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: 675

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...
by Pagnon David
Tue Oct 31, 2023 3:59 am
Forum: AddBiomechanics
Topic: Queued on SLURM cluster
Replies: 5
Views: 675

Re: Queued on SLURM cluster

Thanks for your answer. I hit "Force reprocess" last night on my last 6 jobs, it hasn't been quite a full day but for now they are still stuck at the same stage.
by Pagnon David
Mon Oct 30, 2023 3:03 pm
Forum: AddBiomechanics
Topic: Queued on SLURM cluster
Replies: 5
Views: 675

Queued on SLURM cluster

Sorry I keep posting here, I feel like I'm the only one bothering you around there... I've had a few jobs stuck on "Queued on SLURM cluster" for over 4 days. Is this a known issue? I saw this My job is stuck in "Waiting for server" FAQ, but I am not sure it is related. As always, thanks for your help!
by Pagnon David
Sat Oct 28, 2023 3:40 am
Forum: AddBiomechanics
Topic: Height and Weight
Replies: 4
Views: 509

Re: Height and Weight

Thank you Nick for your answer.

I will get an approximate size from the marker data, and I guess the mass won't bear too much importance of I'm only interested in kinematics.

I'm looking forward for your command line interface!
by Pagnon David
Thu Oct 26, 2023 1:48 am
Forum: AddBiomechanics
Topic: Height and Weight
Replies: 4
Views: 509

Re: Height and Weight

While I'm at it, here is another related question. Given that you optimize scaling and inverse kinematics at the same time, do you output a slightly different scaled model for each trial of the same subject? In other words, if I set the approximate height and weight of all subjects to the same valu...
by Pagnon David
Thu Oct 26, 2023 1:02 am
Forum: AddBiomechanics
Topic: Height and Weight
Replies: 4
Views: 509

Height and Weight

Hello, I would like to process some all marker data for which I do not have any height and mass information. You specify that approximate values are okay. How approximate is this? What if I set an average size of 170 cm and 70 kg? Would it be a bad idea to decrease the weight of residuals to zero in...
by Pagnon David
Tue Oct 24, 2023 10:38 pm
Forum: AddBiomechanics
Topic: Moco on data I do not own
Replies: 4
Views: 600

Re: Moco on data I do not own

I'm aware of that, but thanks for the reminder!