Commit 14b47aa3 authored by Ahmad Reza Cheraghi's avatar Ahmad Reza Cheraghi
Browse files

Added a calling vis after the termination of solution so the last frame of the...

Added a calling vis after the termination of solution so the last frame of the solution will be drawn before the 
simulator ends.
parent d52268b7
......@@ -35,6 +35,9 @@ def swarm_sim(argv):
round_start_timestamp = time.perf_counter()
run_solution(swarm_sim_world)
if config_data.visualization:
swarm_sim_world.vis.run(round_start_timestamp)
logging.info('Finished')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment