uzh-rpg / rpg_trajectory_evaluation

Toolbox for quantitative trajectory evaluation of VO/VIO
MIT License
1.05k stars 347 forks source link

Why are there two more lines when using 'Multiple trajectory estimates'? #37

Open wwendy233 opened 3 years ago

wwendy233 commented 3 years ago

Just like the red and orange lines in the picture.

image

This is the command I used in Ubuntu 18.04: python2 analyze_trajectories.py euroc_vislam_mono.yaml --output_dir=../results/euroc_vislam_mono/ --results_dir=../results/euroc_vislam_mono/ --platform laptop --odometry_error_per_dataset --plot_trajectories --rmse_table --rmse_boxplot --mul_trials=10

JunsukLee commented 3 years ago

I have the same problem. Why is that?

anandvgeorge commented 2 years ago

Hey! Do anyone know what are those points or how to remove them?

anandvgeorge commented 2 years ago

Hey! I think this issue happens because of the colour settings given in ax.plot(). Currently, for the multiple algorithms option, the colours are chosen based on the colour palette defined. They are defined in a list as rgb values. When I change that to any other definition, the issue goes. So, I have changed the definition of palette as below.

PALLETE = ["#c96840","#8675ca","#9b9d3f","#c9578c","#50ac72"]

I get below plot now.

image

calmelo commented 2 years ago

Hey! I think this issue happens because of the colour settings given in ax.plot(). Currently, for the multiple algorithms option, the colours are chosen based on the colour palette defined. They are defined in a list as rgb values. When I change that to any other definition, the issue goes. So, I have changed the definition of palette as below.

PALLETE = ["#c96840","#8675ca","#9b9d3f","#c9578c","#50ac72"]

I get below plot now.

image

Why is it useful?

fallow24 commented 1 year ago

Hey! I think this issue happens because of the colour settings given in ax.plot(). Currently, for the multiple algorithms option, the colours are chosen based on the colour palette defined. They are defined in a list as rgb values. When I change that to any other definition, the issue goes. So, I have changed the definition of palette as below.

PALLETE = ["#c96840","#8675ca","#9b9d3f","#c9578c","#50ac72"]

I get below plot now.

image

Nice workaround. Thanks so much!!

whw-create commented 1 year ago

amazing,do you know the reason of this problem?