Search found 10 matches

by Alessia Giordan
Mon Apr 04, 2022 7:47 am
Forum: OpenSim
Topic: playback motion issue in Python
Replies: 8
Views: 1510

Re: playback motion issue in Python

Hi,
Is there any news about this issue on playback motion window? Thank you for your time.

Alessia
by Alessia Giordan
Mon Feb 21, 2022 5:58 am
Forum: OpenSim
Topic: Visualizer / MatLab Api
Replies: 7
Views: 1842

Re: Visualizer / MatLab Api

Hi Axel, This is the Matlab code that replicates what I did in Python: import org.opensim.modeling.* modelFileName = 'ScapulothorachicJoint_Shoulder_calibrated.osim'; % The path to an input model vis = VisualizerUtilities(); myModel = Model(strcat('./', modelFileName)); mot = 'ik_MT_012005D6_009-001...
by Alessia Giordan
Mon Feb 21, 2022 5:25 am
Forum: OpenSim
Topic: playback motion issue in Python
Replies: 8
Views: 1510

Re: playback motion issue in Python

Hi,
Is there any news about this issue? Thank you

Alessia
by Alessia Giordan
Wed Feb 09, 2022 2:58 am
Forum: OpenSim
Topic: Model Loading Issues
Replies: 2
Views: 360

Re: Model Loading Issues

Dear Dom,

I'm not an expert of OpenSim and I can't see what the Messages window said, but I think that your model is loaded. You can see it clicking "Window" Button --> "Visualizer"
Hope It helps, kindly,

Alessia Giordan
by Alessia Giordan
Wed Feb 09, 2022 2:02 am
Forum: OpenSim
Topic: playback motion issue in Python
Replies: 8
Views: 1510

Re: playback motion issue in Python

Dear Ayman, thanks for your help. I got the same error typing this line in the command prompt: opensim-cmd viz model ScapulothorachicJoint_Shoulder.osim ik_XSENS_04_02_2022_11_54_04_orientations.mot Hoping there is a solution, I attach all the files. https://drive.google.com/drive/folders/1mmW8LMNQg...
by Alessia Giordan
Tue Feb 08, 2022 10:36 am
Forum: OpenSim
Topic: Visualizer / MatLab Api
Replies: 7
Views: 1842

Re: Visualizer / MatLab Api

Dear Axel, I'm not an expert of OpenSim, however I used this Python code to visualize an existing motion file (.mot): myModel = osim.Model('./OpenSense/' + modelFileName) # Load the model into the GUI myModel.initSystem() table = osim.TimeSeriesTable('./'+folder_name+'/IKResults/ik_'+root_name+'_ori...
by Alessia Giordan
Tue Feb 08, 2022 10:24 am
Forum: OpenSim
Topic: Visualizer / MatLab Api
Replies: 7
Views: 1842

Re: Visualizer / MatLab Api

Dear Axel,
I'm not an expert of OpenSim, however to visualize an existing .mot file I used this code:
by Alessia Giordan
Tue Feb 08, 2022 10:01 am
Forum: OpenSim
Topic: playback motion issue in Python
Replies: 8
Views: 1510

Re: playback motion issue in Python

Dear Ayman,

thanks for your reply. I have added the missing files in the Geometry folder and now there isn't no warning messages. However, the Visualizer window is still blank ...
Do you have any other tips to follow?
Thank you for your time.

Kindly,
Alessia
by Alessia Giordan
Fri Feb 04, 2022 8:26 am
Forum: OpenSim
Topic: playback motion issue in Python
Replies: 8
Views: 1510

Re: playback motion issue in Python

Hi Ayman, thank you for your reply. I tried what you said but it gives me the same issue. (there weren't the model and also the "ground and sky property" that is used as default) Furthermore, when I tried to use the other function VisualizerUtilities::showModel(myModel) I got the same warning messag...
by Alessia Giordan
Wed Feb 02, 2022 6:11 am
Forum: OpenSim
Topic: playback motion issue in Python
Replies: 8
Views: 1510

playback motion issue in Python

Dear all, I am working with Opensim API 4.2 in Python and I'd like to load and show an exisisting .mot motion file. I used the function showMotion(Model, TimeSeriesTable) (of VisualizerUtilities, see https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1VisualizerUtilities.html#aa93dfaacda31fe...