Closed WangPei-hitman closed 7 months ago
if I use Agg as plot_backend ,that means the output of evo_config show --brief --no_color
:
{
"console_logging_format": "%(message)s",
"euler_angle_sequence": "sxyz",
"global_logfile_enabled": false,
"plot_axis_marker_scale": 0.0,
"plot_backend": "Agg",
"plot_figsize": [
6,
6
],
"plot_fontfamily": "sans-serif",
"plot_fontscale": 1.0,
"plot_invert_xaxis": false,
"plot_invert_yaxis": false,
"plot_linewidth": 1.5,
"plot_mode_default": "xyz",
"plot_multi_cmap": "none",
"plot_pose_correspondences": false,
"plot_pose_correspondences_linestyle": "dotted",
"plot_reference_alpha": 0.5,
"plot_reference_axis_marker_scale": 0.0,
"plot_reference_color": "black",
"plot_reference_linestyle": "--",
"plot_seaborn_palette": "deep6",
"plot_seaborn_style": "darkgrid",
"plot_show_axis": true,
"plot_show_legend": true,
"plot_split": false,
"plot_start_end_markers": false,
"plot_statistics": [
"rmse",
"median",
"mean",
"std",
"min",
"max"
],
"plot_texsystem": "pdflatex",
"plot_trajectory_alpha": 0.75,
"plot_trajectory_cmap": "jet",
"plot_trajectory_length_unit": "m",
"plot_trajectory_linestyle": "-",
"plot_usetex": false,
"plot_xyz_realistic": true,
"pygments_style": "monokai",
"ros_map_alpha_value": 1.0,
"ros_map_cmap": "Greys_r",
"ros_map_enable_masking": true,
"ros_map_unknown_cell_value": 205,
"ros_map_viewport": "keep_unchanged",
"save_traj_in_zip": false,
"table_export_data": "stats",
"table_export_format": "csv",
"table_export_transpose": true,
"tf_cache_lookup_frequency": 10,
"tf_cache_max_time": 10000.0
}
Then the out put of my command evo_traj bag 2023-10-08-17-12-46.bag --all_topics -p
is:
--------------------------------------------------------------------------------
name: /lviorf/mapping/odometry
infos: 3314 poses, 11525.862m path length, 331.288s duration
/usr/local/lib/python3.8/dist-packages/evo/tools/plot.py:193: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
plt.show()
What GUI backend should I use?
The Docker files in this repository are targeted towards CI rather than interactive usage with GUI forwarding. I assume that just some dependencies for the GUI are missing from the Docker image, as can be seen in your error. Probably you need to adapt the Docker build for your purposes, i.e. install also tkinter etc.
Closing because of inactivity
Description: With Ubuntu 22.04 no ROS1 , I have to change another way to use evo. I find the Dockerfile.rosnoetic file in sources and build it. But in container , the evo_traj can not use -p parameter. can not use parameter -p. No module named 'tkinter' Command:
Console output:
Additional files: Please attach all the files needed to reproduce the error.
Please give also the following information:
evo pkg --version
: v1.25.1evo pkg --pyversion
: 3.8.10evo_config show --brief --no_color
:Thanks for your reply!