ToniRV / Kimera-VIO-Evaluation

Code to evaluate and tune SPARK VIO pipeline.
MIT License
21 stars 2 forks source link

df_to_trajectory not a member of pandas_bridge #59

Open bundle-adjuster opened 1 year ago

bundle-adjuster commented 1 year ago

Description: Updates to evo, the original repo has removed/moved the function df_to_trajectory in pandas_bridge. Hence VIO-Evaluation fails.

Command:

./evaluation/main_evaluation.py -r -a --save_plots --save_results --save_boxplots experiments/example_euroc.yaml

Console output:


Traceback (most recent call last):
  File "./evaluation/main_evaluation.py", line 76, in <module>
    if run(args):
  File "./evaluation/main_evaluation.py", line 26, in run
    dataset_evaluator.evaluate()
  File "/root/Kimera-VIO-Evaluation/venv/local/lib/python2.7/site-packages/evaluation/evaluation_lib.py", line 317, in evaluate
    self.evaluate_dataset(dataset)  File "/root/Kimera-VIO-Evaluation/venv/local/lib/python2.7/site-packages/evaluation/evaluation_lib.py", line 334, in evaluate_dataset
    if not self.__evaluate_run(pipeline_type, dataset):
  File "/root/Kimera-VIO-Evaluation/venv/local/lib/python2.7/site-packages/evaluation/evaluation_lib.py", line 374, in __evaluate_run
    dataset_name, discard_n_start_poses, discard_n_end_poses)
  File "/root/Kimera-VIO-Evaluation/venv/local/lib/python2.7/site-packages/evaluation/evaluation_lib.py", line 412, in run_analysis
    traj_ref, traj_est_vio, traj_est_pgo = self.read_traj_files(traj_ref_path, traj_vio_path, traj_pgo_path)
  File "/root/Kimera-VIO-Evaluation/venv/local/lib/python2.7/site-packages/evaluation/evaluation_lib.py", line 586, in read_traj_files
    traj_ref = pandas_bridge.df_to_trajectory(pd.read_csv(traj_ref_path, sep=',', index_col=0))
AttributeError: 'module' object has no attribute 'df_to_trajectory'

Additional files: No additional files necessary.

Please give also the following information:

remove this line and paste your config HERE