HDL-64E S2 manual_Rev C_2011 - Velodyne Lidar
HDL-64E S2 manual_Rev C_2011 - Velodyne Lidar
HDL-64E S2 manual_Rev C_2011 - Velodyne Lidar
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
aPPendIx f<strong>HDL</strong>-<strong>64E</strong> <strong>S2</strong> User’s Manual// Calculate corrected intensity vs distancefloat intensityVal1 = intensityVal + focalslope*(abs(focaloffset-256*(1-distance/65535)*(1-distance/65535)));if (intensityVal1 < minIntensity) intensityVal1=minIntensity;if (intensityVal1 > maxIntensity) intensityVal1=maxIntensity;// Scale to new intensity scalefloat intensityColor = (float)(intensityVal1 - minIntensity) / intensityScale;// Convert to jet colorint rgb=(int)(intensityColor*63);glColor3f(rcolor[rgb], gcolor[rgb], bcolor[rgb]);}G1Vertex3fv(it->getCoord(i).xyz;}it->operator++();[ 33 ]