mirror of
https://github.com/nasa/trick.git
synced 2024-12-27 00:31:07 +00:00
20 lines
526 B
Python
20 lines
526 B
Python
|
|
# $Id: input.py 2553 2012-08-30 22:00:40Z alin $
|
|
|
|
# This one of several ways to include files from the input file
|
|
execfile("Modified_data/auto_test.dr")
|
|
execfile("Modified_data/data_record.dr")
|
|
|
|
#my_integ_loop.integ_sched.integ_ptr = trick.getIntegrator( trick.Runge_Kutta_2, 4, 1.0);
|
|
my_integ_loop.getIntegrator(trick.Runge_Kutta_2, 4)
|
|
|
|
# Set the freeze frame rate
|
|
trick.exec_set_freeze_frame(0.10)
|
|
|
|
read = 55.0
|
|
trick.add_read(read, "trick.ball_print(ball.state)")
|
|
|
|
# Set the stop time
|
|
trick.exec_set_terminate_time(300.0)
|
|
|