Page 1 of 1

Moco Visualize erros

Posted: Thu Jul 06, 2023 9:38 am
by azarangasadi
Hey all,

I have done some Moco inverse problem. I get the message that the solver succeeded and the solution is written but during visualization, I get a problem. When I run --> study.visualize(solution); <-- a window pops up but it's all white. It shows nothing and when I close the window I get this error:

Code: Select all

Java exception occurred:
java.lang.RuntimeException: SimTK Exception thrown at VisualizerProtocol.cpp:583:
  Error detected by Simbody method VisualizerProtocol: An attempt to write() 1 bytes to pipe 13 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:129)

Any idea what's wrong?

Re: Moco Visualize erros

Posted: Thu Oct 26, 2023 6:20 am
by anacsousa
Hi Azarang Asadi, I know it has been a while, but have you been able to solve that?
I have been having similar problems.