Skip to content

Commit

Permalink
Fixes log argument for demos.
Browse files Browse the repository at this point in the history
  • Loading branch information
francocipollone committed Sep 13, 2021
1 parent f743de7 commit 85f86e3
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions delphyne_demos/demos/city.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name
)

Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/crash.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name
)

Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/dragway.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name
)

Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/gazoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name,
time_step=sim_runner_time_step
)
Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/keyop.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def main():
realtime_rate=args.realtime_rate,
start_paused=args.paused,
logfile_name=args.logfile_name,
log=args.log,
time_step=sim_runner_time_step
)

Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/mali.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def main():
realtime_rate=args.realtime_rate,
start_paused=args.paused,
logfile_name=args.logfile_name,
log=args.log,
time_step=sim_runner_time_step
)

Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/mobil_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name
)

Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/realtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name
)

Expand Down
4 changes: 3 additions & 1 deletion delphyne_demos/demos/roads.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,12 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name
)
except RuntimeError as error:
print("An error ocurred while trying to run the simulation with : {}".format(args.filename))
print(
"An error ocurred while trying to run the simulation with : {}".format(args.filename))
print(str(error))
print("Exiting the simulation")
sys.exit()
Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/scriptlets.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name
)

Expand Down
1 change: 1 addition & 0 deletions delphyne_demos/demos/trip_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def main():
simulation_tree.setup(
realtime_rate=args.realtime_rate,
start_paused=args.paused,
log=args.log,
logfile_name=args.logfile_name,
time_step=time_step
)
Expand Down

0 comments on commit 85f86e3

Please sign in to comment.