原因:棋盘标定文件中的格子的数量写错了!!!
例如:我使用的为上图的棋盘格,数量为9列6行,但是checkerboard.yaml中对应的Cols和Rows不能写9和6,否则报错!
正确数量应为8和5 !!!格子边长以你打印后实际测量长度为准!!!
target_type: 'checkerboard' #gridtype
targetCols: 8 #number of internal chessboard corners
targetRows: 5 #number of internal chessboard corners
rowSpacingMeters: 0.030 #size of one chessboard square [m]
colSpacingMeters: 0.030 #size of one chessboard square [m]