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?