Page 1 of 1

Problem with the Simbody Visualizer

Posted: Fri May 10, 2024 3:35 am
by domoina
Hi, i am new in OpenSim. I try to run a code that i found in example in : https://github.com/opensim-org/opensim- ... m_model.py. And i use the "build_a_simple_arm" with Python.
When i run the code i got this : "RuntimeError: std::exception in 'SimTK::State & OpenSim::Model::initSystem()': SimTK Exception thrown at VisualizerProtocol.cpp:167:
Error detected by Simbody method VisualizerProtocol::ctor(): Unable to spawn executable 'simbody-visualizer' from directories: ...." :cry:

I set up OpenSim and i use Pycharm. I set up the good interpreter with conda.
But i don't know why it don't open the visualizer.
Can someone help me they know how to fix it?

Re: Problem with the Simbody Visualizer

Posted: Fri May 10, 2024 12:05 pm
by kernalnet
Hi, there is a bug in the simbody-visualizer: https://github.com/simbody/simbody/issues/765
It currently works only if the working and the executable directories match.