mirror of
https://github.com/nasa/trick.git
synced 2025-06-19 07:38:26 +00:00
Split test sims and fun sims into separate directories.
Moved the 2 thread directories. refs #191
This commit is contained in:
23
test/SIM_threads/RUN_test/input.py
Normal file
23
test/SIM_threads/RUN_test/input.py
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
import os
|
||||
|
||||
trick_sys.sched.set_enable_freeze(True)
|
||||
trick_sys.sched.set_freeze_command(True)
|
||||
|
||||
simControlPanel = trick.SimControlPanel()
|
||||
trick.add_external_application(simControlPanel)
|
||||
|
||||
trick.real_time_enable()
|
||||
trick.itimer_enable()
|
||||
|
||||
trick.exec_set_software_frame(0.025)
|
||||
|
||||
trick.exec_set_thread_process_type(1, trick.PROCESS_TYPE_AMF_CHILD)
|
||||
trick.exec_set_thread_amf_cycle_time(1, 0.05)
|
||||
|
||||
trick.exec_set_thread_process_type(2, trick.PROCESS_TYPE_AMF_CHILD)
|
||||
trick.exec_set_thread_amf_cycle_time(2, 0.1)
|
||||
|
||||
trickView = trick.TrickView()
|
||||
trickView.set_auto_open_file("overrun.tv")
|
||||
trick.add_external_application(trickView)
|
Reference in New Issue
Block a user