title: Implement stitch backtracking on error and manual control

description: Implement automatic and manual stitch backtracking functionality as described in GitHub issue #66. This feature allows the machine to automatically backtrack stitches when errors occur, and provides manual controls for users to backtrack stitches when the machine is paused.

status: open

issue_type: feature

created_by: jbruhn


title: Add UI controls for manual stitch backtracking

description: Implement user interface controls and buttons to enable manual stitch backtracking. The interface should provide an intuitive way for users to go back stitches when the machine is paused, including input fields for specifying the number of stitches to backtrack.

issue_type: task

type: blocks


title: Implement manual stitch backtracking when machine is paused

description: Allow users to manually control stitch backtracking when the machine is paused. Users should be able to go back a specified number of stitches to recover from errors or adjust the embroidery as needed.


title: Implement automatic stitch backtracking on errors

description: Implement automatic error recovery through stitch backtracking. Different error types require different backtrack amounts: Upper thread error: -6 stitches, Lower thread error: -2 stitches, Upper thread sewing start error: -21 stitches. The system should automatically backtrack the specified number of stitches when an error is detected.