register_simulation_module(Controller, LinearStateFeedbackParLin) register_simulation_module(Controller, LjapunovController) register_simulation_module(Controller, SwingUpController) register_visualizer(TwoPendulumVisualizer) register_processing_module(PostProcessingModule, TwoPendulum) # create an Application instance (needed) app = QApplication([]) if 1: # create Simulator sim = Simulator() # load default config sim.load_regimes_from_file("default.sreg") # apply a regime sim.apply_regime_by_name("test") # remotely start a simulation # sim.start_simulation() sim.show() else: post = PostProcessor() post.show() app.exec_()