解决:terminate called after throwing an instance of ‘cv::Exception‘......Incorrect indentation‘

问题:

在这里插入图片描述

config_file: /home/sf/fast/Fast-Drone-250/src/realflight_modules/VINS-Fusion/vins_estimator/../config/fast_drone_250.yaml
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.2) /home/sf/fast/opencv-4.5.2/opencv-4.5.2/modules/core/src/persistence_yml.cpp:349: error: (-212:Parsing error) skipSpaces in function '/home/sf/fast/Fast-Drone-250/src/realflight_modules/VINS-Fusion/vins_estimator/../config/fast_drone_250.yaml(54): Incorrect indentation'

[vins_fusion-1] process has died [pid 7254, exit code -6, cmd /home/sf/fast/Fast-Drone-250/devel/lib/vins/vins_node /home/sf/fast/Fast-Drone-250/src/realflight_modules/VINS-Fusion/vins_estimator/../config/fast_drone_250.yaml __name:=vins_fusion __log:=/home/sf/.ros/log/1abf8ef6-6443-11ed-918e-f057a6c8dcb4/vins_fusion-1.log].
log file: /home/sf/.ros/log/1abf8ef6-6443-11ed-918e-f057a6c8dcb4/vins_fusion-1*.log

本来还以为是系统问题,但是重新装完系统搭环境过后发现并不是,白白浪费一晚上时间,这不重要但是把自己的心态搞炸了,对自己产生了深深的怀疑,否定了自己前期的工作,也是自己太想成功了,而且今天运气是差极了迫不得已去签一个不想去的offer,去找书记签字去了4次都不在,自主实验也没有验证,程序也是各种出错电脑也关机不得终止实验,还收到一个非常想去的公司的拒绝,人生呀!太难受了!好在在凌晨两点半迎来转机。。。。

解决方案:

找到fast_drone_250.yaml(54)的54行,检查是否是在修改相机内参或畸变参数时造成的格式不正确,或者小失误。仔细检查!特别注意多空格以及少空格!本次是因为少了缩进,修改正确即可!

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值