mirror of
https://github.com/nasa/trick.git
synced 2025-01-06 13:18:46 +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.
20 lines
551 B
Python
20 lines
551 B
Python
|
|
execfile("Modified_data/cannon_aero.dr")
|
|
execfile("Modified_data/realtime_jet.py")
|
|
|
|
dyn.baseball.pos[0] = 0.0
|
|
dyn.baseball.pos[1] = 0.0
|
|
dyn.baseball.pos[2] = 0.0
|
|
|
|
dyn.baseball.vel[0] = 43.30
|
|
dyn.baseball.vel[1] = 0.0
|
|
dyn.baseball.vel[2] = 25.0
|
|
|
|
dyn.baseball.theta = trick.sim_services.attach_units("d" , -90.0)
|
|
dyn.baseball.phi = trick.sim_services.attach_units("d" , 1.0)
|
|
dyn.baseball.omega0 = trick.sim_services.attach_units("rev/s" , 30.0)
|
|
|
|
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)
|
|
|
|
trick.sim_services.exec_set_terminate_time(10.0)
|