EVO的使用

1. 安装:

pip install evo --upgrade --no-binary evo

 2. 使用

evo_ape - 用于评估绝对位姿误差;
evo_rpe- 用于评估相对位姿误差;
evo_traj - 这个主要是用来画轨迹、输出轨迹文件、转换数据格式等功能;
evo_res- 比较来自evo_ape或evo_rpe生成的一个或多个结果文件的工具;
evo_fig - (实验)工具,用于重新打开序列化图(使用–serialize_plot保存);
evo_config - 这个主要用于evo工具全局设置和配置文件操作。
原文链接:https://blog.csdn.net/u011341856/article/details/104594392

(1)evo_ape:绝对位姿误差

evo_ape tum ndt_pose.txt ground_truth.txt
  • max:表示最大误差;
  • mean:平均误差;
  • median:误差中位数;
  • min:最小误差;
  • rmse:均方根误差;
  • sse:和方差、误差平方和;
  • std:标准差。

参数:

-a   ---- 对齐

-p    ----绘图

 --n_to_align N_TO_ALIGN 10000  用于对齐的点数,默认全部

 evo_ape tum ndt_pose.txt ground_truth.txt -a -p --n_to_align 5000

--align_origin 

 -p, --plot            show plot window
  --plot_mode {xy,xz,yx,yz,zx,zy,xyz}
                        the axes for plot projection
  --plot_colormap_max PLOT_COLORMAP_MAX
                        the upper bound used for the color map plot (default:
                        maximum error value)

颜色图的最大值,0.1则表示绝对误差大于0.1的点都被标红;

evo_ape tum ndt_pose.txt ground_truth.txt -a --n_to_align 5000 --align_origin --plot --plot_colormap_max 0.1

  --plot_colormap_min PLOT_COLORMAP_MIN
                        the lower bound used for the color map plot (default:
                        minimum error value)
  --plot_colormap_max_percentile PLOT_COLORMAP_MAX_PERCENTILE
                        percentile of the error distribution to be used as the
                        upper bound of the color map plot (in %, overrides
                        --plot_colormap_max)
  --plot_full_ref       plot the full, unsynchronized reference trajectory
  --ros_map_yaml ROS_MAP_YAML
                        yaml file of an ROS 2D map image (.pgm/.png) that will
                        be drawn into the plot

可导入ROS栅格地图;
  --save_plot SAVE_PLOT
                        path to save plot
  --serialize_plot SERIALIZE_PLOT
                        path to serialize plot (experimental)
  --save_results SAVE_RESULTS
                        .zip file path to store results

注意为zip格式;
  --logfile LOGFILE     Local logfile path.

 (2) evo_rpe:相对位姿误差

该命令用于比较两个轨迹之间的相对轨迹误差,也就是两个时间戳相同时刻的轨迹轨迹误差,更具体来说,两组轨迹持续时间相同,但是采样频率不同,那么之间就会有一些少量的相同时间戳,那么这些相同的时间戳就可以进行一对一比较误差。同样的这些误差也会有平均误差、最大、最小误差等等结果。命令使用方法如下:

evo_rpe tum ground_truth.txt ndt_pose.txt

optional arguments:
  -h, --help            show this help message and exit
  --t_max_diff T_MAX_DIFF
                        maximum timestamp difference for data association
  --t_offset T_OFFSET   constant timestamp offset for data association
  --t_start T_START     only use data with timestamps greater or equal this
                        start time
  --t_end T_END         only use data with timestamps less or equal this end
                        time

algorithm options:
  -r {full,trans_part,rot_part,angle_deg,angle_rad,point_distance}, --pose_relation {full,trans_part,rot_part,angle_deg,angle_rad,point_distance}
                        pose relation on which the RPE is based
  -a, --align           alignment with Umeyama's method (no scale)
  -s, --correct_scale   correct scale with Umeyama's method
  --n_to_align N_TO_ALIGN
                        the number of poses to use for Umeyama alignment,
                        counted from the start (default: all)
  --align_origin        align the trajectory origin to the origin of the
                        reference trajectory
  -d DELTA, --delta DELTA
                        delta between relative poses
  -t DELTA_TOL, --delta_tol DELTA_TOL
                        relative delta tolerance for all_pairs mode
  -u {f,d,r,m}, --delta_unit {f,d,r,m}
                        unit of delta - `f` (frames), `d` (deg), `r` (rad),
                        `m`(meters)
  --all_pairs           use all pairs instead of consecutive pairs (disables
                        plot)

(3)  evo_traj用法:用于画轨迹图、表格,转换数据格式等等操作

evo_traj tum ndt_pose.txt imu_odom.txt  -a -p --align_origin --ref ground_truth.txt 
  • 0
    点赞
  • 15
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Evo Orin电源是一款高性能的电源设备,它采用了先进的技术和设计,能够为各种电子设备提供稳定可靠的电力支持。它具有以下几个方面的优点和使用方法: 首先,Evo Orin电源具有很高的效率和功率因数校正能力。它采用了优质的电子元件和独特的电路设计,能够使其在工作时转换电能的损耗最小化,从而提高整体的能效,并减少对电网的负载。此外,它还具备功率因数校正功能,能够自动调整输入功率和输出负载之间的匹配度,以提高系统的功率因数。 其次,Evo Orin电源具有高精度的电压和电流稳定性。它采用了数字控制技术和专业的电源管理芯片,能够通过实时的电压和电流监测,精确控制输出电力的稳定性。这对于一些对电力要求较高的设备,如服务器、通信设备等非常重要。 此外,Evo Orin电源还具备多重保护功能。它内置了过载保护、过电压保护、过温保护等多种安全保护机制,能够及时检测到异常情况,并自动切断输出电力,以保护设备的安全运行。 最后,Evo Orin电源易于安装和操作。它具有紧凑的外形设计和简单的接线方式,能够方便地安装在不同的设备上。操作方面,它通常具备简单明了的面板操作和显示界面,使得用户能够轻松地了解和控制电源的工作状态。 总的来说,Evo Orin电源是一款高性能、高效能的电源设备,它的使用可以为各种电子设备提供稳定可靠的电力支持,具有高精度的电压和电流稳定性,并具备多重保护功能,同时易于安装和操作。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值