Closed fengyikawhi closed 2 years ago
What is the exact command you are using to run the program with? Can you try to use a relative path? Seems this could be an issue with how to parse the bag file path.
What is the exact command you are using to run the program with? Can you try to use a relative path? Seems this could be an issue with how to parse the bag file path.
I tried command: "rosrun kalibr kalibr_calibrate_imu_camera --bag ./data/20220802/cam_imu_RGB4.bag --target ./data/20220802/checkerboard.yaml --cam ./data/20220802/camchain.yaml --imu ./data/20220802/imu.yaml" But all most the same problems: FileNotFoundError: [Errno 2] No such file or directory: 'camchain-imucam-./data/20220802/cam_imu_RGB4.yaml' RuntimeError: ERROR: Could not write parameters to file: camchain-imucam-./data/20220802/cam_imu_RGB4.yaml
Any ideas to solve this?
The export order is bagname + -camchain-imucam.yaml
.
Can you please make sure the code you compiled is up to date with the current master?
https://github.com/ethz-asl/kalibr/blob/master/aslam_offline_calibration/kalibr/python/kalibr_calibrate_imu_camera#L220
The export order is
bagname + -camchain-imucam.yaml
. Can you please make sure the code you compiled is up to date with the current master? https://github.com/ethz-asl/kalibr/blob/master/aslam_offline_calibration/kalibr/python/kalibr_calibrate_imu_camera#L220
Appreciate for your patient reply!
Your help is much appreciated.
Best.