How can I use Aligning of the head programatically?

Hello my intention is to make use of the teach mode to go to points of interest while using head realignment to user other sensor for fine adjusts, as said. How can i achieve the same behavior as the app.

Hi Celestine,

Please refer to the link below,
https://docs.ufactory.cc/support_articles/faq/how-to-align-the-tool-end-flange-of-xarm-5-lite