Search found 15 matches

by Maximillian Diaz
Wed Oct 23, 2024 8:24 am
Forum: OpenSim
Topic: Change in Muscle Geometry Path Calculations post-4.1 (Mobl-Arms models affected)
Replies: 6
Views: 1297

Re: Change in Muscle Geometry Path Calculations post-4.1 (Mobl-Arms models affected)

Hi Joshua, I haven't come across this issue yet. I usually do single arm analysis and just mirror the motion capture data of left handed subjects, or run two sets of single arm tasks when do a dual arm task (probably the only benefit of the arms acting 'fully' independent of each other. The first th...
by Maximillian Diaz
Tue Oct 01, 2024 7:04 am
Forum: OpenSim
Topic: Python Script to Transform Point from Rigid Body Frame to Ground Frame
Replies: 4
Views: 502

Re: Python Script to Transform Point from Rigid Body Frame to Ground Frame

Hi Nico,

I had been using the direct output from my IK simulations which where in degrees. Changing them to radians did the trick. Thanks for all the help.

-Max
by Maximillian Diaz
Mon Sep 30, 2024 10:34 am
Forum: OpenSim
Topic: Python Script to Transform Point from Rigid Body Frame to Ground Frame
Replies: 4
Views: 502

Re: Python Script to Transform Point from Rigid Body Frame to Ground Frame

Hi Nicos, I got a chance to try your recommendation today...and I think my issue may be with either pulling the correct frame for the rigid body or something with how the frame is being adjusted when I realize the position. I get the same result (figure below) whether I apply findStationLocationInGr...
by Maximillian Diaz
Wed Sep 25, 2024 8:25 am
Forum: OpenSim
Topic: Python Script to Transform Point from Rigid Body Frame to Ground Frame
Replies: 4
Views: 502

Python Script to Transform Point from Rigid Body Frame to Ground Frame

Hi Everyone, I am trying to write a python script in 4.4 that takes a point in a rigid body's reference frame and gives me that point in the ground reference frame throughout a motion to eventually apply a point force. I've done this with Point Kinematics under the Analyze Tool, but OpenSim seems to...
by Maximillian Diaz
Fri Jul 12, 2024 7:29 am
Forum: OpenSim
Topic: Change in Muscle Geometry Path Calculations post-4.1 (Mobl-Arms models affected)
Replies: 6
Views: 1297

Re: Change in Muscle Geometry Path Calculations post-4.1 (Mobl-Arms models affected)

Hi Kristy, The easiest way to see if the muscle path changes are either a visualizer error or path error would be to plot the fiber length and moment arm curves for LAT1. This can be done with the plot tool, and I usually do a set of plots in the default posture and a set of plots with my posture se...
by Maximillian Diaz
Thu Apr 04, 2024 12:54 pm
Forum: Neuromusculoskeletal Modeling Pipeline
Topic: Issue with Reshaping Passive Moment Data during MTP Length Initialization in Saving Step
Replies: 6
Views: 3859

Re: Issue with Reshaping Passive Moment Data during MTP Length Initialization in Saving Step

Hey Rob, All around good news that its just a saving issue (awesome that the core MTP processing can handle the difference in passive data formats). In the meantime I do have one questions about getting the rest of my MTP results to save since if appears saving the passive moments is the first step ...
by Maximillian Diaz
Fri Mar 29, 2024 12:37 pm
Forum: Neuromusculoskeletal Modeling Pipeline
Topic: Issue with Reshaping Passive Moment Data during MTP Length Initialization in Saving Step
Replies: 6
Views: 3859

Re: Issue with Reshaping Passive Moment Data during MTP Length Initialization in Saving Step

Ahhh, I was curious how/why you all were able to get perfect single joint movements. So we are having to collect the passive movement data using motion capture (and subsequently OpenSim Inverse Kinematics) to get our joint angles. For cameras to successfully pick up markers the arm is held straight ...
by Maximillian Diaz
Thu Mar 28, 2024 6:28 am
Forum: Neuromusculoskeletal Modeling Pipeline
Topic: Issue with Reshaping Passive Moment Data during MTP Length Initialization in Saving Step
Replies: 6
Views: 3859

Issue with Reshaping Passive Moment Data during MTP Length Initialization in Saving Step

We seem to have run into an issue tied to saving the results of the Length Initialization step when running it with the Muscle-Tendon Personalization pipeline. It looks like it is tied to how the data is Passive Moment Data is getting reshaped for the eventual sto file. I'm guessing it is tied to ei...
by Maximillian Diaz
Wed Mar 27, 2024 8:40 am
Forum: Neuromusculoskeletal Modeling Pipeline
Topic: Saving Error During Muscle Tendon Personalization Due to Muscle Name
Replies: 1
Views: 1199

Saving Error During Muscle Tendon Personalization Due to Muscle Name

Posting an error associated with muscle naming conventions due to MatLab variable name rules. This error occurs during MTP when the optimized parameters are being saved. From my limited understanding of MatLab it appears that the names of a field within a structure are not allowed to start with a nu...
by Maximillian Diaz
Tue Mar 26, 2024 9:35 am
Forum: Neuromusculoskeletal Modeling Pipeline
Topic: Mismatching Array Dimensions during Muscle Tendon Length Initialization and Optimization
Replies: 6
Views: 1842

Re: Mismatching Array Dimensions during Muscle Tendon Length Initialization and Optimization

Hey Spencer, This was a huge help. Changing the '_force' roots to '_moment' worked for running MTP with and without Length Initialization. The wrist_hand_r1 coordinates was an error with our preprocessing code and how it was parsing and reconstructing names, so the file existed but with the wrong na...