Problem with the Simbody Visualizer

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Domoina Randriamanandraibe
Posts: 1
Joined: Thu Apr 18, 2024 1:59 am

Problem with the Simbody Visualizer

Post by Domoina Randriamanandraibe » Fri May 10, 2024 3:35 am

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?

Tags:

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: Problem with the Simbody Visualizer

Post by Mohammadreza Rezaie » Fri May 10, 2024 12:05 pm

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.

POST REPLY