Closed 774880930 closed 1 year ago
You need to specify the camera distortion params in addition to the intrinsic params as follows:
rosrun direct_visual_lidar_calibration preprocess -av \
--camera_model plumb_bob \
--camera_intrinsic 1452.711762456289,1455.877531619469,1265.25895179213,1045.818593664107 \
--camera_distortion_coeffs -0.04203564850455424,0.0873170980751213,0.002386381727224478,0.005629700706305988,-0.04251149335870252 \
/tmp/input_bags /tmp/preprocessed
Thank you so much! I copied the whole thing in and it worked, but I copied it line by line and it didn't work.
Thanks again!
Possibly, you forgot the backslash at the end of each line?
I've tried that,but it doen't work
Oh, Yes, I forgot "/" at the end of each line,I thought it meant "or",this is really my misunderstanding!! Thanks a lot!!!
One more question, if I want to calibrate a line laser and camera, and the line laser changes different positions through the galvanometer, can this package be applied?
If you mean a 2D line laser, this package cannot be applied to it. It requires a 3D range sensor.
You need to specify the camera distortion params in addition to the intrinsic params as follows:
rosrun direct_visual_lidar_calibration preprocess -av \ --camera_model plumb_bob \ --camera_intrinsic 1452.711762456289,1455.877531619469,1265.25895179213,1045.818593664107 \ --camera_distortion_coeffs -0.04203564850455424,0.0873170980751213,0.002386381727224478,0.005629700706305988,-0.04251149335870252 \ /tmp/input_bags /tmp/preprocessed
For the two sets of data you provided, livox and ouster, how do I get their camera intrinsics and _distortion_coeffs. I can't seem to parse this information from '/camera_info', because the version of the topic does not match.
@Chatoyant19 you can use plotjuggler to see the data.
Before opening an issue
If the issue is about calibration procedure and results:
Describe the bug I used ROS1. When I was preprocessing, I saw the notes you provided and needed to specify the parameters of the camera in advance, but when I tried to specify the parameters, I got the following results
What command should I type to do it?
Environment: