Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get the current position (in mm)

Store the current position in one of Pallys callbacks or in a seperate thread.

saved_pos = get_liftkit_position()

Restore the saved position:

Use the stored position from above to move the lifkit back.

move_liftkit(saved_pos)