AB2012
Canada
Asked
— Edited
Hi all. I have a question about the GetPing() function. What units can the function return the distance value (i.e. cm, inches, feet...)?
Dialogflow
— Add Google DialogFlow NLP to ARC: conversational intents, parameter prompts, scripted responses, service-account setup and programmatic robot control.
Try it →
Hi all. I have a question about the GetPing() function. What units can the function return the distance value (i.e. cm, inches, feet...)?
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