运行VINS-mono出现:/home/shaozu/output/pose_graph/ not exists问题。

本文提供了解决在Ubuntu18.04环境下运行VINS时遇到的错误的方法。通过创建必要的文件夹和配置环境变量,可以顺利启动VINS并播放数据集。

如题,在运行

roslaunch vins_estimator euroc.launch

时,会发生如题所述的错误,我的环境是Ubutun18.04。

解决办法:

其实只要在Ubutun相应位创建文件夹就能成功运行了。

首先找到:

 点开计算机:

找到home,并进入创建如下文件夹: 

 

 

具体代码如下,在进入home目录下打开终端:

mkdir shaozou
cd shaozu
mkdir output
cd output
hyc@hyc-virtual-machine:~/VINS-Mono/catkin_ws$ roslaunch vins_estimator euroc.launch ... logging to /home/hyc/.ros/log/9d416948-0320-11f0-876f-3d8b158e04bd/roslaunch-hyc-virtual-machine-98811.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. started roslaunch server http://hyc-virtual-machine:46499/ SUMMARY ======== PARAMETERS * /feature_tracker/config_file: /home/hyc/VINS-Mo... * /feature_tracker/vins_folder: /home/hyc/VINS-Mo... * /pose_graph/config_file: /home/hyc/VINS-Mo... * /pose_graph/skip_cnt: 0 * /pose_graph/skip_dis: 0.0 * /pose_graph/visualization_shift_x: 0 * /pose_graph/visualization_shift_y: 0 * /rosdistro: noetic * /rosversion: 1.17.0 * /vins_estimator/config_file: /home/hyc/VINS-Mo... * /vins_estimator/vins_folder: /home/hyc/VINS-Mo... NODES / feature_tracker (feature_tracker/feature_tracker) pose_graph (pose_graph/pose_graph) vins_estimator (vins_estimator/vins_estimator) ROS_MASTER_URI=http://localhost:11311 process[feature_tracker-1]: started with pid [98825] process[vins_estimator-2]: started with pid [98826] process[pose_graph-3]: started with pid [98827] [ INFO] [1742210553.724305322]: init begins [ INFO] [1742210553.732985814]: Loaded config_file: /home/hyc/VINS-Mono/catkin_ws/src/VINS-Mono-master/feature_tracker/../config/euroc/euroc_config.yaml result path /home/shaozu/output//vins_result_no_loop.csv /home/shaozu/output/ not exists, trying to create it /home/shaozu not exists, trying to create it Failed to create folder /home/shaozu [ INFO] [1742210553.733791949]: ROW: 480.000000 COL: 752.000000 [ WARN] [1742210553.733827892]: fix extrinsic param [ INFO] [1742210553.733909885]: Extrinsic_R : 0.0148655 -0.999881 0.0041403 0.999557 0.0149672 0.0257155 -0.0257744 0.00375619 0.999661 [ INFO] [1742210553.733948051]: Extrinsic_T : -0.0216401 -0.064677 0.00981073 [ INFO] [1742210553.733981269]: Synchronized s
最新发布
03-18
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

男人黄

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值