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.

[参考译文] OPT8241-CDK-EVM:voxelSDK 错误、PointCloudTransformation::calcAperatureAnglRadians (...)、水平角返回为 int、该值应为浮点值

Guru**** 2574205 points


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

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/639741/opt8241-cdk-evm-voxelsdk-bug-pointcloudtransform-calcaperatureangleradians-horizontal-angle-is-returned-as-int-this-should-be-float

器件型号:OPT8241-CDK-EVM

voxelSDK 0.5.11:在方法 void PointCloudTransform::calcAperatureAngl弧 度(int &AperontalAperatureAngle、float &verticalAperatureAngle)中,第一个参数是 int &,这应该成为 float &

此更改当然会破坏使用此方法的用户代码。 但是、这些用户可能已经抱怨说他们无法获得足够精确的水平光圈角度...

(此外、实现中还有一个"不做任何事情"语句:point &P1=getDirection((((int)cy, 0);)

此致、

时代范达尔夫森