D2SLAM-Fusion / tools-quarterKalibr

calibrate quadcam modules in a more effecient way
7 stars 1 forks source link

problem with calibration #1

Closed arnab-source closed 2 weeks ago

arnab-source commented 2 weeks ago

As documented, I have ran the code for bag creation, but, in the mono calibration getting the following error: Ran in the console

docker run --rm -e "DISPLAY" -e "QT_X11_NO_MITSHM=1" --entrypoint="/data/CAM_A.sh"     -v "/tmp/.X11-unix:/tmp/.X11-unix:rw" --platform linux/amd64     -v "/home/omninxt/data/output_fix:/data"  mortyl0834/omnitartancalib:quad_cam

Got error:

exec /data/CAM_A.sh: exec format error

Have checked the bag file, as shown in the following:

omninxt@ubuntu:~/data/output_fix$ rosbag info CAM_A.bag 
path:        CAM_A.bag
version:     2.0
duration:    3:48s (228s)
start:       Sep 09 2024 10:32:34.35 (1725849154.35)
end:         Sep 09 2024 10:36:23.22 (1725849383.22)
size:        69.7 GB
messages:    83793
compression: none [27053/27053 chunks]
types:       sensor_msgs/Image [060021388200f6f0f447d0fcd9c64743]
             sensor_msgs/Imu   [6a62c6daae103f4ff57a132d6f95cec2]
topics:      /mavros/imu/data_raw   56741 msgs    : sensor_msgs/Imu  
             CAM_A                   6763 msgs    : sensor_msgs/Image
             CAM_B                   6763 msgs    : sensor_msgs/Image
             CAM_C                   6763 msgs    : sensor_msgs/Image
             CAM_D                   6763 msgs    : sensor_msgs/Image
arnab-source commented 2 weeks ago

It seems that the "mortyl0834/omnitartancalib:quad_cam" does not run on arm processor, so need to transfer the full bag to an amd64 platform, and perform the calibration. It would be better if you can provide a dockerfile, so that others can try to build the same on arm64.