mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
4f5ce7e4a1
closes #938 closes #941 closes #943
25 lines
890 B
Python
25 lines
890 B
Python
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
|
|
trick.var_debug(3)
|
|
exec(open("Modified_data/realtime.py").read())
|
|
|
|
#==========================================
|
|
# Start the display VarServer Client
|
|
#==========================================
|
|
varServerPort = trick.var_server_get_port();
|
|
trick.set_var_server_info_msg_on()
|
|
|
|
MsdGui_path = "models/graphics/dist/MsdGui.jar"
|
|
|
|
if (os.path.isfile(MsdGui_path)) :
|
|
MsdGui_cmd = "java -jar " \
|
|
+ MsdGui_path \
|
|
+ " " + str(varServerPort) + " &" ;
|
|
print(MsdGui_cmd)
|
|
os.system( MsdGui_cmd);
|
|
else :
|
|
print('==================================================================================')
|
|
print('MsdGui needs to be built. Please \"cd\" into models/Graphics and type \"make\".')
|
|
print('==================================================================================')
|
|
|
|
trick.stop(300.0)
|