Visualizer Error- VisualizerProtocol.cpp:728

OpenSim Moco is a software toolkit to solve optimal control problems with musculoskeletal models defined in OpenSim using the direct collocation method.
POST REPLY
User avatar
Mritula Chandrasekaran
Posts: 94
Joined: Tue Dec 19, 2017 5:36 am

Visualizer Error- VisualizerProtocol.cpp:728

Post by Mritula Chandrasekaran » Sun May 24, 2020 2:24 am

Hi,
I am getting a Visualizer Error- VisualizerProtocol.cpp:728. during MOcoTrack() execution. I have the path of " .. OpensimMOco/bin" listed in the top of the environmental variables PATH. Kindly let me know how to overcome this?

Thanks,
Mritula

The exact error is as follows:
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 6 failed with errno=22 (Invalid argument).
(Required condition 'status!=-1' was not met.)

at org.opensim.modeling.opensimMocoJNI.MocoTrack_solve__SWIG_0(Native Method)
at org.opensim.modeling.MocoTrack.solve(MocoTrack.java:553)

POST REPLY