kalibr使用笔记

官网

GitHub - ethz-asl/kalibr: The Kalibr visual-inertial calibration toolboxThe Kalibr visual-inertial calibration toolbox. Contribute to ethz-asl/kalibr development by creating an account on GitHub.https://github.com/ethz-asl/kalibr

编译

编译kalibr的Bug:

fatal error: libv4l2.h: 没有那个文件或目录

sudo apt install libv4l-dev  (专门用来处理视频图像)

标定过程

Kalibr标定完整过程(相机用的小觅深度系列相机)_超超512的博客-CSDN博客_kalibr标定https://blog.csdn.net/u010056641/article/details/105665309

 生成标定板

支持checkerboard和apriltag:

参考https://github.com/ethz-asl/kalibr/wiki/calibration-targets

使用Aprilgrid的好处:

partially visible calibration boards can be used ;pose of the target is fully resolved (no flips)

运行kalibr_create_target_pdf –h

报错:ImportError: No module named pyx

生成棋盘格会有报错,因为作者写的提示代码少了-,最后应为

kalibr_create_target_pdf --type checkerboard --nx 6 --ny 6 --csx 0.05 --csy 0.1

根据打印后的棋盘格,编辑标定板信息,文件名april_6x6.yaml

#example for aprilgrid

target_type: 'aprilgrid' #gridtype

tagCols: 6 #number of apriltags

tagRows: 6 #number of apriltags

tagSize: 0.088 #size of apriltag, edge to edge [m]

tagSpacing: 0.3 #ratio of space between tags to tagSize

#example: tagSize=2m, spacing=0.5m --> tagSpacing=0.25[-]

#example for checkerboard

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值