[Bag file] 다운로드
Reference Site: https://github.com/ethz-asl/kalibr/wiki/calibration-targets
Download Site: https://github.com/ethz-asl/kalibr/wiki/downloads
[주의]
(3) /kalibr/aslam_offline_calibration/kalibr/python/ 로 들어가서 camera data로만 camera intrinsic parameter를 구한다.
# In kalibr/aslam_offline_calibration/kalibr/python
# --bag : Directory where the camera and imu bag data are containing Aprilgrid images
# --topics: Camera topics in the bag data (If the bag data has stereo, then write two topics)
# --models: Write camera models (If the used camera is stereo, then write two times same model name)
# --target: Directory where the aprilgrid configuration is
$ kalibr_calibrate_cameras --bag ($ Camera-IMU).bag --topics /zed/left/image_rect_color /zed/right/image_rect_color --models pinhole-radtan pinhole-radtan --target ($ aprilgrid).yaml
[IMU Yaml] 다운로드
(5) /kalibr/aslam_offline_calibration/kalibr/python/ 로 들어가서 앞서 얻은 camera intrinsic yaml & aprilgrid yaml & imu intrinsic yaml & bag file을 모두 이용하여 camera와 imu간의 extrinsic parameter를 구한다.
# In kalibr/aslam_offline_calibration/kalibr/python
# --bag : Directory where the camera and imu bag data are containing Aprilgrid images
# --topics: Camera topics in the bag data (If the bag data has stereo, then write two topics)
# --models: Write camera models (If the used camera is stereo, then write two times same model name)
# --target: Directory where the aprilgrid configuration is
# --cam : Directory where the camera intrinsic configuration is
# --imu : Directory where the imu configuration is
$ kalibr_calibrate_imu_camera --bag ($ Camera-IMU).bag --cam camchain-Kalibr_data.yaml --imu ($ imu).yaml --target ($ aprilgrid).yaml
[ROSBOT 2.0 기준 결과] 다운로드
Reference Site: https://suho0515.tistory.com/6
Reference Site: https://github.com/rpng/kalibr_allan
Reference Site: https://support.stereolabs.com/hc/en-us/articles/360012749113-How-can-I-use-Kalibr-with-the-ZED-Mini-camera-in-ROS
Reference Site: https://wsstudynote.tistory.com/19
Reference Site: https://suho0515.tistory.com/m/12
fatal error: libv4l2.h: No such file or directory
Reference Site
[Solve]
$ sudo apt update
$ sudo apt install libv4l-dev
ImportError: No module named igraph
[Solve]
$ sudo apt update
$ sudo apt install python-igraph
ImportError: No module named scipy.optimize
Reference Site
[Solve]
$ sudo apt-get install gfortran
# If the python version is 2, otherwise python version is 3 then use pip3
$ sudo -H pip install scipy