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

关于焦距问题 #902

Open
linssswww opened this issue Nov 16, 2022 · 4 comments
Open

关于焦距问题 #902

linssswww opened this issue Nov 16, 2022 · 4 comments

Comments

@linssswww
Copy link

如何得到相机的实际的焦距?
ErrorCode::ErrorCodeType CameraManager::getOpticalZoomFactorSync(PayloadIndexType index, float &factor, int timeout)
这个函数中也只返回了factor参数,factor参数如何跟实际焦距关联起来?

@linssswww
Copy link
Author

相机的型号是H20N

@dji-dev
Copy link
Contributor

dji-dev commented Nov 16, 2022

Agent comment from kyle.cai in Zendesk ticket #73563:

OSDK的变焦是在接口中获取到后算的。

image.png

°°°

@linssswww
Copy link
Author

Agent comment from kyle.cai in Zendesk ticket #73563:OSDK的变焦是在接口中获取到后算的。 image.png

°°°
那这里的lensInfo.data.min_focus_length 指的是变焦相机等效焦距还是实际焦距?

@linssswww
Copy link
Author

是这样理解嘛? 实际的焦距 = factor * 最小的实际焦距

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

2 participants