Open Sumyer opened 5 years ago
Hi everyone!
I can not undersatnd how this code calculates scanID, can anyone answer for me?
`int MultiScanMapper::getRingForAngle(const float& angle) {
return int(((angle 180 / M_PI) - _lowerBound) _factor + 0.5); }`
+0.5, same as function round(((angle 180 / M_PI) - _lowerBound) _factor )
Hi everyone!
I can not undersatnd how this code calculates scanID, can anyone answer for me?
`int MultiScanMapper::getRingForAngle(const float& angle) {
return int(((angle 180 / M_PI) - _lowerBound) _factor + 0.5); }`