赞
踩
在ubuntu18.04中,使用kalibr标定相机imu外参,想查看是否提取到角点,于是加入
–show-extraction,最后命令如下。
rosrun kalibr kalibr_calibrate_imu_camera --target /home/t/kalibr_workspace/checkboard.yaml --cam /home/t/kalibr_workspace/HK_0220_1-xia.yaml --imu /home/t/kalibr_workspace/xsens.yaml --bag /home/t/kalibr_workspace/bag/HK_xsens_0221_2.bag --show-extraction
运行后报错:
Extracting calibration target corners
(Checkerboard corners:19089): GLib-GObject-CRITICAL **: 14:17:09.607: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(Checkerboard corners:19089): GLib-GObject-CRITICAL **: 14:17:09.612: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(Checkerboard corners:19089): GLib-GObject-CRITICAL **: 14:17:09.612: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked
已放弃 (核心已转储)
百度后发现是因为ubuntu自带的opencv与我安装的opencv3.2.0有冲突
于是将kalibr中的以下三个含有 cv::startWindowThread()的cpp的cv::startWindowThread()注释掉
在对kalibr编译一下,重新运行命令,## 标题完美解决。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。