当前位置:网站首页>Kalibr calibration realsensed435i -- multi camera calibration
Kalibr calibration realsensed435i -- multi camera calibration
2022-07-26 22:54:00 【Cute Chu】
Image download 、 Domain name resolution 、 Time synchronization please click Alibaba cloud open source image station
kalibr Calibration plate ( Chessboard ) Use elder martial brother's ( Long like this )

Step one : The establishment of a ROS Medium Kalibr Working space for , Create a :checkerboard.yaml The file of , The content is :
target_type: 'checkerboard' targetCols: 11 // Number of inner corners targetRows: 8 colSpacingMeters: 0.02 rowSpacingMeters: 0.02 Step two : Turn on and off the structured light
The default is to start the structured light , The binocular image will have many points , These points may affect the calibration , So you need to turn off the structured light .
Start at the terminal first
roslaunch realsense2_camera rs_camera.launchNew open terminal , function
rosrun rqt_reconfigure rqt_reconfigureWhen opened, it will camera->stereo_module Medium emitter_enabled Set to off(0)
Step three : determine realsense D435i Put it in the right place
New open terminal , function rviz
rvizstay rviz Lieutenant general Global Option Medium Fixed Frame Choose... Later camera_link
Click on Add stay topic Select separately from
/camera/color/image_raw、/camera/infra1/image_rect_raw、/camera/infra2/image_rect_raw, open ( double-click camera) Add successfully .
Then align the calibration plate , Try moving realsense D435i, At the same time, make sure that the calibration board is always in the three images , Here's the picture

Step four : Modify the number of camera frames ( The official recommendation is 4Hz, Although the actual frequency is not completely accurate , But it doesn't affect the result )
kalibr When processing calibration data, the frequency shall not be too high , It's usually 4Hz, We can use the following command to change topic The frequency of , In fact, the original topic Turn into a new... With a new frequency topic, Actual test infra1 Is the corresponding left eye camera .
Use Ctrl+shift+T, Open a new terminal , One terminal runs one , Run respectively
rosrun topic_tools throttle messages /camera/color/image_raw 4.0 /color rosrun topic_tools throttle messages /camera/infra1/image_rect_raw 4.0 /infra_left rosrun topic_tools throttle messages /camera/infra2/image_rect_raw 4.0 /infra_rightStep five : Recording ROS Data packets
Use Ctrl+shift+T, Open another new terminal to run :
rosbag record -O multicameras_calibration /infra_left /infra_right /colorBack three topic It's after the frequency conversion topic, I recorded 3 minute , When recording, move towards the calibration board , Press down ctrl+c The end of the recording , When you see the current folder, you will see multicameras_calibration.bag file .
Step six : Use Kalibr calibration
Activate the environment variable first
source ~/kalibr_workspace/devel/setup.bashAnd then run :
kalibr_calibrate_cameras --target checkerboard.yaml --bag multicameras_calibration.bag --models pinhole-equi pinhole-equi pinhole-equi --topics /infra_left /infra_right /color --bag-from-to 10 100 --show-extraction --approx-sync 0.04Last :
The final result is three files :
camchain-multicameras_calibration.yaml
report-cam-multicameras_calibration.pdf
results-cam-multicameras_calibration.txt

notes : Possible problems
1、kalibr_calibrate_cameras: Command not found

resolvent :
Recompile :
~/kalibr_workspace$ catkin build -DCMAKE_BUILD_TYPE=Release -j8Again :
source ~/kalibr_workspace/devel/setup.bash2、
File"/home/lab/kalibr_workspace/src/kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 234, in raiseError
raise RuntimeError( "{0}{1}".format(header, message) )RuntimeError: [CalibrationTargetConfig Reader]: Could not read configuration from ../checkerboard.yaml

resolvent : modify checkerboard.yaml The file is the above content ( Step one ).
Link to the original text :https://blog.csdn.net/weixin_45868890/article/details/123197364
边栏推荐
- 各有一项指纹专利被宣告无效!汇顶与思立微均正式回应!
- 恋爱时各个顺序整理(历时两个月详细整理)
- 2022-07-26:以下go语言代码输出什么?A:5;B:hello;C:编译错误;D:运行错误。 package main import ( “fmt“ )
- Monte Carlo search tree (UCT) based on confidence upper bound to realize four sub chess
- Leetcode:857. Minimum cost of employing K workers [think in blocks + start with simplicity]
- 7.27抢先看 | openEuler 志高远,开源汇智创未来-开放原子全球开源峰会欧拉分论坛最详细议程出炉
- 菜鸟网络面试【杭州多测师】【杭州多测师_王sir】
- 【HCIP】OSPF 外部路由引入
- VCs compilation and simulation process
- 2022-07-26: what is the output of the following go language code? A:5; B:hello; C: Compilation error; D: Running error. package main import ( “fmt“ )
猜你喜欢

golang中的信号量的实现原理

基于信心上界蒙特卡洛搜索树(UCT)实现四子棋
![[MySQL] - index principle and use](/img/e1/af74ee20ebe0c6e6f5e453330cc13b.png)
[MySQL] - index principle and use

DAO:OP 代币和不可转让的 NFT 致力于建立新的数字民主

Counter attack dark horse: devdbops training, give you the best courses!

STM32-如何使用串口

KT6368A蓝牙芯片开发注意事项以及问题集锦--长期更新

SQL multi table query exercise

APP信息侦察&夜神模拟器Burp抓包配置

VCs compilation and simulation process
随机推荐
Eureka基本使用
DTS搭载全新自研内核,突破两地三中心架构的关键技术|腾讯云数据库
Write golang simple C2 remote control based on grpc
what crlf mean
[hcip] OSPF relationship establishment
[postgresql]postgresqlg使用enerate_series() 函数补全统计
Do you know the common core types of magnetic ring inductors?
利用Go制作微信机器人(一)发送消息
PostgreSQL and Navicat: the backbone of the database industry
Embedded SIG | 分布式软总线
The secret weapon of apple iphone11 series: U1 chip may usher in the era of ultra wideband
Is test development development development?
2022 latest Tibet Construction Safety Officer simulation question bank and answers
摩尔定律的新推力,英特尔先进封装技术详解!
Day07 MySql知识点再总结与多表查询
SQL二次注入详解
[hcip] OSPF external route introduction
动态规划之线性DP
程序员成长第二十九篇:如何激励员工?
IDEA的那些环境配置及插件