rayvburn / srpb

A source code and the toolkit accompanying the paper "Quantitative Metrics for Benchmarking Human-Aware Robot Navigation"
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Scripts for managing and processing logs parameterized #21

Open rayvburn opened 1 year ago

rayvburn commented 1 year ago
rayvburn commented 4 months ago

FIXME: create_bar_plot_from_results.py script does not handle multiple input sheets well. Traceback:

Traceback (most recent call last):
  File "srpb_evaluation/scripts/create_bar_plot_from_results.py", line 260, in <module>
    metric_name, planner_values = prepare_data_for_plotting(data_selected)
  File "srpb_evaluation/scripts/create_bar_plot_from_results.py", line 58, in prepare_data_for_plotting
    ] for planner in planner_names
  File "srpb_evaluation/scripts/create_bar_plot_from_results.py", line 58, in <dictcomp>
    ] for planner in planner_names
  File "srpb_evaluation/scripts/create_bar_plot_from_results.py", line 57, in <listcomp>
    for metric in metric_names
TypeError: 'NoneType' object is not subscriptable

EDIT: it might not be the case of loading multiple sheets but rather loading sheets with invalid data (e.g., all trials failed)