Canada
Asked — Edited

Getping()

Hi all. I have a question about the GetPing() function. What units can the function return the distance value (i.e. cm, inches, feet...)?


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

PRO
Synthiam
#1  

Its a value between 0 and 255. There is no unit because every sensor has a different range. If you want units, you'll need to calibrate and calculate yourself:)