Search found 86 matches

by Pagnon David
Thu Sep 28, 2023 2:43 am
Forum: OpenSim Moco
Topic: frame rate of my solution?
Replies: 2
Views: 472

frame rate of my solution?

I'm asking Moco to track a mot file. track = osim.MocoTrack() [...] track.set_initial_time(0.07) track.set_final_time(1.45) track.set_mesh_interval(0.05) I do not understand how the frame rate of the solution is calculated. I would assume the frame rate to be 1/meshInterval = 20 fps, and to obtain (...
by Pagnon David
Thu Sep 28, 2023 1:47 am
Forum: OpenSim Moco
Topic: Multicore parallel computing with Moco
Replies: 8
Views: 2770

Re: Multicore parallel computing with Moco

Thank you for sharing. This gives me the opportunity to ask: if the maximum speed is almost reached with 6 cores, does it mean that GPU computing cannot be leveraged? Do you know [about this](https://simtk.org/projects/gpuexp)? If I understand right, - the NLP function evaluations by CasADi can easi...
by Pagnon David
Wed Sep 27, 2023 1:58 am
Forum: OpenSim Moco
Topic: snapshot of solution every few iterations
Replies: 2
Views: 179

snapshot of solution every few iterations

Hi all, I am running Moco simulations, and sometimes the server crashes, or the IPOPT optimizer does not converge, etc. Regardless of the reasons, then Python is exited and I lose all variables, in particular my intermediate solution. Is there any way to take a snapshot of my solution every few iter...
by Pagnon David
Mon Sep 25, 2023 2:19 pm
Forum: OpenSim Moco
Topic: Total number of variables does not add up
Replies: 4
Views: 194

Total number of variables does not add up

Hello, When running IPOPT within Moco, it seems like the number of variables does not add up. Could you help me understand it? Total number of variables............................: 22913 variables with only lower bounds: 0 variables with lower and upper bounds: 22172 variables with only upper bound...
by Pagnon David
Tue Aug 22, 2023 3:26 am
Forum: OpenSim
Topic: Which inverse kinematics method does OpenSim use?
Replies: 8
Views: 1054

Re: Which inverse kinematics method does OpenSim use?

Thanks! I am not really looking into this anymore, but this is definitely a relevant post!
by Pagnon David
Fri Dec 09, 2022 3:53 pm
Forum: OpenSim
Topic: Which inverse kinematics method does OpenSim use?
Replies: 8
Views: 1054

Re: Which inverse kinematics method does OpenSim use?

After having read more about inverse kinematics in biomechanics, and about optimization procedures in general, I would tend to think that the method used by OpenSim is a Quasi-Newton one. A Quasi-Newton method is a Newton method that approximates the Hessian matrix, which is computationally expensiv...
by Pagnon David
Wed Dec 07, 2022 6:52 am
Forum: OpenSim
Topic: Which inverse kinematics method does OpenSim use?
Replies: 8
Views: 1054

Re: Which inverse kinematics method does OpenSim use?

It is extremely convoluted, but I think I slowly understand it a little better. OpenSim/Simulation/InverseKinematicsSolver.h calls OpenSim/Simulation/AssemblySolver.h This calls for simbody/internal/Assembler.h (on a completely different repository). According to the doc, it can be used in two ways:...
by Pagnon David
Tue Dec 06, 2022 7:13 pm
Forum: OpenSim
Topic: Which inverse kinematics method does OpenSim use?
Replies: 8
Views: 1054

Re: Which inverse kinematics method does OpenSim use?

Wow, I could not hope for a clearer and more complete answer, thank you so much! You also address a lot of the questions I was asking myself about ambiguous terms, which I did not post here in order not to make it overly long. I am still wondering, the page "How inverse kinematics works" that you sh...
by Pagnon David
Tue Dec 06, 2022 3:40 pm
Forum: OpenSim
Topic: Which inverse kinematics method does OpenSim use?
Replies: 8
Views: 1054

Re: Which inverse kinematics method does OpenSim use?

Okay, I did a little further reading, and my question boils down to: - The math formulations make me thing that global optimization differs from (local, Jacobian) Levenberg-Marquardt optimization. Is it the case? - If so, how is it that absolutely no robotics/computer animation paper talk about glob...
by Pagnon David
Mon Nov 28, 2022 11:52 am
Forum: OpenSim
Topic: Difference joint vs constraint
Replies: 8
Views: 1865

Re: Difference joint vs constraint

Thank you! So, if I sum it up: - I don't think there is any way to loosen the tolerance of constraints (I could be wrong), nor to implement soft constraints - I can't use force elements for inverse kinematics (unless I first conduct a static analysis, and then I refine geometry in order to minimize ...