Skip to content

Commit

Permalink
fix: add missed monitor check after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
MagdalenaKotynia committed Feb 28, 2025
1 parent 65fca0f commit e45d653
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/rai_bench/rai_bench/examples/o3de_test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
)

o3de = O3DEngineArmManipulationBridge(connector, logger=agent_logger)
o3de.check_monitor_status()
# define benchamrk
results_filename = f"{experiment_dir}/results.csv"
benchmark = Benchmark(
Expand All @@ -186,12 +187,16 @@
) # return to case position
time.sleep(0.2) # admire the end position for a second ;)

bench_logger.info("===============================================================")
bench_logger.info(
"==============================================================="
)
bench_logger.info("ALL SCENARIOS DONE. BENCHMARK COMPLETED!")
bench_logger.info("===============================================================")
bench_logger.info(
"==============================================================="
)
except Exception as e:
raise e
finally:
connector.shutdown()
o3de.shutdown()
rclpy.shutdown()
rclpy.shutdown()

0 comments on commit e45d653

Please sign in to comment.