Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
-
Sheeba Davis
- Posts: 16
- Joined: Wed Oct 27, 2021 5:21 am
Post
by Sheeba Davis » Mon Aug 08, 2022 7:17 am
Hi,
I downloaded OpenSim 4.4 and integrated it with Matlab. But the visualizer does not work when i say
following is the error i get
Java exception occurred:
java.lang.RuntimeException: SimTK Exception thrown at VisualizerProtocol.cpp:728:
Error detected by Simbody method VisualizerProtocol: An attempt to write() 1 bytes to pipe 7 failed with errno=22 (Invalid argument).
(Required condition 'status!=-1' was not met.)
at org.opensim.modeling.opensimMocoJNI.MocoStudy_visualize(Native Method)
at org.opensim.modeling.MocoStudy.visualize(MocoStudy.java:281)
I dint have problem with 4.3. Also, when i load the motion in 4.4 GUI, the model's walking is discontinuous. I just now noticed that it works fine with windows on my laptop but does not work fine on my desktop
Tags:
-
Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Post
by Ayman Habib » Mon Aug 08, 2022 8:17 am
Hi Sheeba,
This seems likely to be a MocoStudy/Solve issue rather than a visualizer issue. Can you solve the study in 4.4 and visualize the results in 4.3 or vice versa to help us isolate where the problem is?
Thank you,
-Ayman
-
Sheeba Davis
- Posts: 16
- Joined: Wed Oct 27, 2021 5:21 am
Post
by Sheeba Davis » Mon Aug 08, 2022 11:44 am
Hi Ayman
Problem solved. It was the issue with display adapters, which i had to install for the visualizer to work. Thank you.
Sheeba