trick/trick_sims/SIM_billiards/Modified_data/realtime.py
Jacqueline Deans c2e42f4ef4 Refactor and test Variable Server.
- Split VariableServerThread into VariableServerSession and VariableReference classes
- Use C++ streams for data handling
- Unit tests
2023-06-26 12:23:58 -05:00

16 lines
448 B
Python

trick.real_time_enable()
trick.exec_set_software_frame(0.01)
trick.itimer_enable()
trick.exec_set_enable_freeze(True)
# trick.exec_set_freeze_command(True)
# Print stack trace if signal is caught. default True
trick.exec_set_stack_trace(False)
# Attach a debugger to the process if a signal is caught. default False
trick.exec_set_attach_debugger(False)
simControlPanel = trick.SimControlPanel()
trick.add_external_application(simControlPanel)