Search found 5 matches

by Mohsen Alizadeh Noghani
Wed Jan 29, 2025 12:38 pm
Forum: OpenSim
Topic: OpenSim 4.4 and 4.5 MATLAB API on Apple Silicon M2 (arm64)
Replies: 4
Views: 1935

Re: OpenSim 4.4 and 4.5 MATLAB API on Apple Silicon M2 (arm64)

Hi. I am experiencing the same problem as Meihui (no MATLAB sdk for those versions on macOS). This is on a 2018 Macbook Air with an Intel chip (not that it necessarily affects the installed folders).
by Mohsen Alizadeh Noghani
Fri Jan 24, 2025 6:32 pm
Forum: OpenSim
Topic: Questions about inverse dynamics and joint frames
Replies: 1
Views: 767

Questions about inverse dynamics and joint frames

Hi. I have two questions. 1- Which frame are the moments obtained from the inverse dynamics solution expressed in? Currently, I believe it is the joint's child frame. For instance, in Rajagopal's 2016 model, the ankle_r moment is expressed in its child frame, talus_r_offset . Is this correct? 2- Giv...
by Mohsen Alizadeh Noghani
Fri Jan 17, 2025 12:18 pm
Forum: OpenSim
Topic: Obtaining body rotation matrices in a loop
Replies: 3
Views: 1797

Re: Obtaining body rotation matrices in a loop

Hi Nicos. That provided a really helpful starting point, thanks! I suspected that I needed to assign state value and just setting time wouldn't do it. I also realized that the name of the states in my model were in a different format than the .mot file (e.g., 'pelvis_tilt' vs. '/jointset/ground_pelv...
by Mohsen Alizadeh Noghani
Thu Jan 16, 2025 7:47 pm
Forum: OpenSim
Topic: Obtaining body rotation matrices in a loop
Replies: 3
Views: 1797

Obtaining body rotation matrices in a loop

Hi. I am trying to obtain the body rotation matrix (e.g., with respect to the ground) in a loop in MATLAB. But the body rotation/translation never gets updated. What am I doing wrong? Thanks! import org.opensim.modeling.* model = Model('Generated_Model.osim'); storage = Storage('stride_1_IKOut.mot')...
by Mohsen Alizadeh Noghani
Sun Oct 20, 2024 7:37 pm
Forum: OpenSim
Topic: vtp surface files
Replies: 2
Views: 1854

Re: vtp surface files

It seems I am experiencing a similar problem. I started from a .vtp file from Rajagopal 2015 model, modified the mesh in Paraview, and exported as .vtp again; but I get the following error in OpenSim 4.5 when I load the model, and the geometry does not show up either. Visualizer couldn't open hat_sp...