Search found 11 matches

by Nicholas Sotirelis
Thu Apr 09, 2020 12:32 pm
Forum: OpenSim
Topic: Visualizer
Replies: 7
Views: 588

Re: Visualizer

Sorry, I should have included the script file I was trying to run as well.

Code: Select all

import org.opensim.modeling.*
m = Model('sample_1.osim')
m.setUseVisualizer(true)
m.initSystem()
by Nicholas Sotirelis
Thu Apr 09, 2020 12:26 pm
Forum: OpenSim
Topic: Visualizer
Replies: 7
Views: 588

Re: Visualizer

I know this sounds crazy but I'm usually not getting any kinds of files whatsoever. When I tried setting these particular environment variables (OPENSIM_HOME is pointing to C:\OpenSim 4.1\ and SIMBODY_HOME is pointing to C:\OpenSim 4.1\sdk\Simbody), I found the following two files. Otherwise, there ...
by Nicholas Sotirelis
Thu Apr 09, 2020 11:39 am
Forum: OpenSim
Topic: Visualizer
Replies: 7
Views: 588

Re: Visualizer

The only change from unsetting OPENSIM_HOME was that some geometry files could not be found.
by Nicholas Sotirelis
Thu Apr 09, 2020 10:43 am
Forum: OpenSim
Topic: Visualizer
Replies: 7
Views: 588

Re: Visualizer

I believe my OPENSIM_HOME environment variable is pointed correctly. I do not have a SIMBODY_HOME environment variable. Do I need it, and if so, where should it point to?
by Nicholas Sotirelis
Tue Apr 07, 2020 12:11 pm
Forum: OpenSim
Topic: Visualizer
Replies: 7
Views: 588

Visualizer

Hello, I have been having some problems trying to use the API for MATLAB and Python. The programs are quitting when I try to "turn on" the visualizer. For Python, "model variable".setUseVisualizer(True) "model variable".initSystem() it quits. for MATLAB, "model variable".setUseVisualizer(true) "mode...
by Nicholas Sotirelis
Wed Oct 16, 2019 11:15 am
Forum: OpenSim
Topic: Coupled and Rotational Coordinates
Replies: 1
Views: 300

Coupled and Rotational Coordinates

I apologize if this has been asked and answered before, but if it has I could not find it. Unlike rotational coordinates, *.mot files give coupled coordinates in radians. inDegrees is set to yes, I checked just to make sure. The coordinates panel is the exact same way, rotational coordinates in degr...
by Nicholas Sotirelis
Fri Oct 04, 2019 8:19 am
Forum: OpenSim
Topic: AbstractDataTable TimeSeriesTableVec3
Replies: 1
Views: 211

AbstractDataTable TimeSeriesTableVec3

MATLAB

So, C3DFileAdapter().read throws an exception when there is only one of marker or force data.

C3DFileAdapter().readFile works, but I get AbstractDataTable instead of TimeSeriesTableVec3.

How do get something I can use with the TRCFileAdapter?
by Nicholas Sotirelis
Fri Sep 06, 2019 11:58 am
Forum: OpenSim
Topic: Video creation
Replies: 1
Views: 172

Video creation

What is your preferred method for creating videos of musculoskeletal models with very high resolutions and framerates?
by Nicholas Sotirelis
Fri Aug 30, 2019 2:05 pm
Forum: OpenSim
Topic: *.c3d file exporting
Replies: 2
Views: 315

Re: *.c3d file exporting

No, the offending *.c3d files have only marker data.
by Nicholas Sotirelis
Thu Aug 29, 2019 10:47 am
Forum: OpenSim
Topic: *.c3d file exporting
Replies: 2
Views: 315

*.c3d file exporting

Hello, I am using c3dExport.m in the OpenSim Matlab Scripts directory. On some of my *.c3d files it appears to be working correctly, writing test-data.trc On others, I have an issue with: tables = C3DFileAdapter().read(path2c3d, ForceLocation); The error is: Java exception occurred: java.lang.Runtim...