Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

df_to_trajectory not a member of pandas_bridge #59

Open
bundle-adjuster opened this issue Mar 2, 2023 · 0 comments
Open

df_to_trajectory not a member of pandas_bridge #59

bundle-adjuster opened this issue Mar 2, 2023 · 0 comments

Comments

@bundle-adjuster
Copy link

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:

  • evo version number shown by git rev-parse HEAD : evo-1 1.1.2
  • Python version used: 2.7
  • operating system and version (e.g. Ubuntu 16.04 or Windows 10): Ubuntu 18.04
  • did you change the source code? (yes / no): no

# remove this line and paste your config HERE 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant