get_flow_x()
#
DescriptionThis getter function gets the relative position value calculated by the optical flow sensor from the x direction (forward and reverse).
#
Syntaxget_flow_x()
get_flow_x(unit="<cm, in, mm, m>)"
#
Parametersunit: The unit of measurement that is chosen for the distance. Available units are "m" (meter), "cm" (centimeter), "mm" (millimeter), or "in" (inch). If a parameter is not specified "cm" is chosen by default.
#
ReturnsThe relative position value calculated by the optical flow sensor from the x direction. (cm default).