Search found 82 matches

by Pagnon David
Tue Oct 03, 2023 2:07 am
Forum: OpenSim
Topic: Python API with newer Python version
Replies: 0
Views: 185

Python API with newer Python version

Hi, I am trying to implement an add-on for Blender 3.6 on Windows. The internal Python version is 3.10, and I can't change it. I tried, without success, to install the OpenSim API on Python 3.10, but I run into the same issue as this : "ImportError: DLL load failed while importing _simbody: cannot f...
by Pagnon David
Mon Oct 02, 2023 3:44 pm
Forum: OpenSim Moco
Topic: snapshot of solution every few iterations
Replies: 2
Views: 140

Re: snapshot of solution every few iterations

Well that's life! At least I know I can stop searching, and in the meantime I subscribed to the issue in order to be notified when it is fixed :)
by Pagnon David
Mon Oct 02, 2023 3:38 pm
Forum: OpenSim Moco
Topic: Total number of variables does not add up
Replies: 4
Views: 154

Re: Total number of variables does not add up

Thanks, it makes sense!
by Pagnon David
Sat Sep 30, 2023 12:14 pm
Forum: OpenSim Moco
Topic: frame rate of my solution?
Replies: 2
Views: 275

Re: frame rate of my solution?

It seems like you put your finger right on point! And it's a good thing, because now I know a bit about transcription schemes. I had no idea what I was using, but calling track = osim.MocoTrack() apparently uses by default Hermite-Simpson transcription. https://simtk.org/api_docs/opensim/api_docs/cl...
by Pagnon David
Fri Sep 29, 2023 3:08 pm
Forum: OpenSim
Topic: Segment orientations
Replies: 7
Views: 443

Re: Segment orientations

Potentially related, although I don't think multiplying my orientations by pi/180 solves it.
Radian/degrees confusion in BodyKinematics: https://github.com/opensim-org/opensim-core/issues/2208
(by the way, I use OpenSim 4.4, although I also tried with 4.3 which gives the same results)
by Pagnon David
Fri Sep 29, 2023 9:34 am
Forum: OpenSim
Topic: Segment orientations
Replies: 7
Views: 443

Re: Segment orientations

This is the post I was looking for! ( this one also brings up the issue, as well as this one maybe). Did anyone figure out why it behaves this way, and how to solve it? If anyone wants to check it out, I'm attaching the model and the mot file used for BodyKinematics. The model is just walking on a t...
by Pagnon David
Thu Sep 28, 2023 2:43 am
Forum: OpenSim Moco
Topic: frame rate of my solution?
Replies: 2
Views: 275

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

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

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

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...