get_pos_x()
#
DescriptionGetter function that gets the x position of the drone. (x is forwards and backwards)
#
Syntaxget_pos_x()
get_pos_x(unit="<cm, in, mm, m>)
#
Parametersunit: The unit of measurement that is chosen for the position 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 current x position of the drone.