This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] OPT3101:OPT3101 SDK 相关

Guru**** 2551370 points
Other Parts Discussed in Thread: OPT3101

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/848468/opt3101-opt3101-sdk-related

器件型号:OPT3101

您好!

在 SDK OPT3101_Calibration.cpp 文件中、存在 void OPT3101:::device:::calibrationSession_perUnitFactoryCalibration ()方法实现、请参阅"refDistanceInCodes =(refDistanceInMM[indx]* 4477)>> 10;"、某些疑问、如何计算"4477"?

最棒的

东明.奎

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Dongming、

    4477>>>10是4477/2^10 =4.372...的截断版本  

    4.372用于 mm 单位、并通过距离公式在仪表和代码之间移动:2*10MHz*2^16/c = 4372...

    最棒的

    Alex

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Alex:

    我明白、非常感谢!

    最棒的

    东明.奎