Search found 10 matches

by Finn Eagen
Mon Aug 07, 2023 10:35 am
Forum: OpenSim
Topic: Unable to replicate ID in GUI with InverseDynamicsTool
Replies: 4
Views: 826

Re: Unable to replicate ID in GUI with InverseDynamicsTool

Hi Ayman, When I went to gather the files to upload, I ran both again and was unable to recreate the error I originally described. Running ID via matlab with the setup file is now returning the same results as from the GUI. I even tried running IDTool without specifying the start and end times, as I...
by Finn Eagen
Thu Aug 03, 2023 12:07 pm
Forum: OpenSim
Topic: Unable to replicate ID in GUI with InverseDynamicsTool
Replies: 4
Views: 826

Re: Unable to replicate ID in GUI with InverseDynamicsTool

Thanks Dan, I appreciate the code block. I'd tried something similar before and got poor results, but I saw you've used some functions I hadn't, I think importantly the start and end times. I had assumed that if it wasn't given a time, it would assume the whole range, but I see now that's wrong. Upo...
by Finn Eagen
Thu Aug 03, 2023 11:35 am
Forum: OpenSim
Topic: Unable to replicate ID in GUI with InverseDynamicsTool
Replies: 4
Views: 826

Unable to replicate ID in GUI with InverseDynamicsTool

Hello, I'm running into an issue with InverseDynamicsTool. I'm getting very different results from the tool in Matlab as opposed to running the GUI. The GUI returns reasonable results, but running it via the tool gives results for an entirely different time range, and force values that are multiple ...
by Finn Eagen
Fri Feb 10, 2023 2:39 pm
Forum: OpenSim
Topic: AnalyzeTool via MATLAB
Replies: 2
Views: 388

Re: AnalyzeTool via MATLAB

Interesting. I have a setup file I made in the GUI, though I don't know how to load it in Matlab. I have been using the analyze tool to get the tension of a PathSpring over a prescribed motion; do let me know if there is a more straight forward way to get this in Matlab.
by Finn Eagen
Tue Feb 07, 2023 11:03 am
Forum: OpenSim
Topic: AnalyzeTool via MATLAB
Replies: 2
Views: 388

AnalyzeTool via MATLAB

Hello, I'm having quite a bit of trouble with the AnalyzeTool() in Matlab. I looked at previous posts and one of the example files that uses it, but whenever I try to replicate their methods and run it, I end up getting an unknown exception error. Do you have any tips as far as common issues, or alt...
by Finn Eagen
Wed Feb 01, 2023 11:35 am
Forum: OpenSim
Topic: Iteratively Changing a Point in a Geometry Path
Replies: 3
Views: 543

Re: Iteratively Changing a Point in a Geometry Path

I appreciate the replies, it is very interesting to learn how OpenSim is handling the back end. As far as object "ownership" and all. I was also able to figure out how to update just the location of the insertion. I had been missing the .safeDownCast that let me convert the abstract path point into ...
by Finn Eagen
Wed Jan 18, 2023 12:01 pm
Forum: OpenSim
Topic: Iteratively Changing a Point in a Geometry Path
Replies: 3
Views: 543

Iteratively Changing a Point in a Geometry Path

Hello, I am working with a path spring, and I want to see how its behavior changes as I move the origin across a series of points. My plan was to do this in MatLab by retrieving its geometry path, adding a new point, and deleting the old origin. However, I've ran into a few issues. First, what is th...
by Finn Eagen
Tue Jan 10, 2023 11:00 am
Forum: OpenSim
Topic: Issues finding wrapping points of a GeometryPath
Replies: 1
Views: 283

Issues finding wrapping points of a GeometryPath

Hello, This is a follow up to my previous question (here) regarding the geometry path of a spring, but I have run into new issues. I now have code that is able to successfully find the geometry path of the spring, iterate through, and print out the location of each path point. However, it is only re...
by Finn Eagen
Mon Jan 09, 2023 11:57 am
Forum: OpenSim
Topic: Trouble finding GeometryPath of a PathSpring
Replies: 2
Views: 470

Re: Trouble finding GeometryPath of a PathSpring

It did! Thank you so much for your help.
by Finn Eagen
Fri Jan 06, 2023 11:34 am
Forum: OpenSim
Topic: Trouble finding GeometryPath of a PathSpring
Replies: 2
Views: 470

Trouble finding GeometryPath of a PathSpring

Hello, I am working with a path spring that wraps around a surface, and I am attempting to find the coordinates of the wrapping points as they change throughout a movement. It is similar to the question asked about muscle wrapping here (https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=7831)...