Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong focal length #14

Open
tfriedel opened this issue Feb 27, 2015 · 0 comments
Open

wrong focal length #14

tfriedel opened this issue Feb 27, 2015 · 0 comments

Comments

@tfriedel
Copy link

When using Blensor 1.0.16rc1 the focal length for a TOF sensor which is set in the GUI is not correctly used. It is hard coded to 10.0 in TOF.py:
#10.0mm is currently the distance between the focal point and the sensor

sensor_width = 2 * math.tan(deg2rad(lens_angle_w/2.0)) * 10.0
sensor_height = 2 * math.tan(deg2rad(lens_angle_h/2.0)) * 10.0

replacing 10.0 with flength fixed this problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant