Page 1 of 1
The use of setUseVisualizer() function
Posted: Mon Nov 04, 2024 8:11 pm
by daf
Code: Select all
import opensim as osim
model_path = 'E:\python\Osim_RL1.5\osim\models\gait9dof18musc.osim'
model = osim.Model(model_path)
model.setUseVisualizer(True)
I called the model.setUseVisualizer (True) function in python to open the visualization window to observe the model. Although there was no error during the run, the visualization window did not open normally. What was the problem?
Re: The use of setUseVisualizer() function
Posted: Mon Nov 18, 2024 5:34 pm
by ongcf
The simple Python example from the GitHub page could help guide using model.setUseVisualizer():
https://github.com/opensim-org/opensim- ... ple#python