Open zymouse opened 1 year ago
Hi, thanks for using our tools.
The delay is probably due to the detector being too slow for your image size. What are the dimensions of your image?
Each detector additionally has parameters, which if tuned, will make the latency lower. The ROS tool among others will resize your image, detect in the smaller image, re-scale, and then refine the detections. I don't really trust that, so I did not implement that on purpose.
@aohsato The latency when we calibrate C2 cameras is also almost unbearable. Do you have a preference on how to proceed? My current ideas are as follows:
@knzo25 Thanks, I think that's a good point!
Your three ideas are great, but it might be good to use two different image sizes for some purposes.
(keyframe: collected frames actually used for calibration)
What do you think? Is the code change too big?
Ok, I will do that. The changes are not to big, but also not that small. Let's discuss the priority internally.
@zymouse Please for a while until we implement the changes :pray:
@knzo25 k Lower the frequency of image_raw, this improved when I lowered it to 10hz
@zymouse Hi, thanks for the comment. We also replicated the issue last week. Usually we run everything at 10hz, and it runs smoothly for out 1920x1080 camera (it runs slow for higher res cameras), but when I ran it free run (~30Hz) it got laggy.
Since we have the hardware to replicate and check the fix, we should be able to address it soon-ish (by the end of the month, together with the next release)
I'm experiencing slowness. What is the size parameter units?
Could you try this branch? https://github.com/tier4/CalibrationTools/pull/152
Please make sure of the following things
Version
decf391
Describe the bug
is a great tool, and in combination with apriltag corner detection it also verifies that the internal calibration is great.
During use, it was found that the latency of the camera image was found to be very high.
ultimate
Thank you very much, these calibration tools are great and do a much better job of calibrating the sensors!