trick/trick_sims/SIM_billiards/Modified_data/realtime.py

16 lines
448 B
Python
Raw Normal View History

2022-07-01 14:40:37 +00:00
trick.real_time_enable()
2022-07-14 14:17:00 +00:00
trick.exec_set_software_frame(0.01)
2022-07-01 14:40:37 +00:00
trick.itimer_enable()
trick.exec_set_enable_freeze(True)
2022-07-20 20:56:02 +00:00
# trick.exec_set_freeze_command(True)
2022-07-01 14:40:37 +00:00
# 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)
2022-07-01 14:40:37 +00:00
simControlPanel = trick.SimControlPanel()
trick.add_external_application(simControlPanel)