Hi, what value should we set the r_focus
parameter to if the subject will always be within 130cm to 165cm away? It seems like the possible range of values is 0 to 255? Is there any way to calculate an ideal value for a distance? Is there anything else that needs to be done besides also setting r_set_man_focus: true
?
Setting Manual Focus with ROS2 Node
Hi @BradSteiner
It's technically possible to calculate the focus distance based on the position, but you'd need to know the max and min position. This is different on each camera. I guess you need to test it out empirically.
Thanks,
Jaka