Skip to main content

Module Position

module_position_x

  • shortname: gmx
  • How: module_position_x()
  • What: Returns the value of module position on the x axis. In the zero position there is the module connected to the host computer.
  • Example:

module_position_y

  • shortname: gmy
  • How: module_position_y()
  • What: Returns the value of module position on the y axis. In the zero position there is the module connected to the host computer.
  • Example:

module_rotation

  • shortname: gmr
  • How: module_rotation()
  • What: Returns the value of module rotation compared to the module connected by a USB cable to the host computer. The values returned are between 0 and 3, with 0 representing the same module rotation as the connected module.
  • Example: