The Gravio Distance component allows you to retrieve distance measurements from the Gravio Laser Distance sensors.
To use this component you must have paired the Gravio Laser Distance sensor beforehand.

If the Device ID property is empty, the command will be sent to all connected Gravio Distance.


 
Output payload Description
cv.Payload Outputs an array of measured distances

Component properties

Property name Description
Device ID Device ID for which the distance is to be measured, if none is set then the distance is measured for all Gravio Distances, if more than one Gravio Distance is used then the device ID can be comma-separated

Execution errors

Error code Error Description Countermeasure
ERR—10 low power insufficient current check that the USB cable between the power supply and the sensor is correctly connected
ERR—14 calculation error execution error please run again
ERR—15 weak signal Weak signal Please do not move the device and remove any obstructions.
ERR—16 unstable laser transition laser is unstable hold device and target object still
ERR—18 ambient light too strong ambient light is too strong please reduce ambient light
ERR—26 out of display range please try again

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.