mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
17 lines
402 B
Python
17 lines
402 B
Python
import os
|
|
|
|
def main():
|
|
trick.real_time_enable()
|
|
trick.itimer_enable()
|
|
trick.exec_set_software_frame(0.10)
|
|
|
|
trick.exec_set_thread_process_type(1, trick.PROCESS_TYPE_AMF_CHILD)
|
|
trick.exec_set_thread_amf_cycle_time(1, 0.5)
|
|
|
|
trick.exec_set_thread_process_type(2, trick.PROCESS_TYPE_AMF_CHILD)
|
|
trick.exec_set_thread_amf_cycle_time(2, 0.1)
|
|
|
|
if __name__ == "__main__":
|
|
main()
|
|
|