Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Buffered smooth movement for multiple SimpleCodes

    Scheduled Pinned Locked Moved
    DSF Development
    2
    3
    271
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • poofjuniorundefined
      poofjunior
      last edited by

      Hi folks,

      I know the Duet Software Framework API supports sending single gcode commands. Is there a way to queue these commands together to produce "smooth motion?" I tried sending multiple commands before reading the response of the socket, but the result is still a jerky start-and-stop between movements. My imagination says that there's some motion planner under-the-hood which evaluates chunks of GCode and smooths their movements from start to finish, which is why 3D printer gcode isn't jerky like this.

      Followup: if such an interface exists, is there a buffer size somewhere that limits just how many movement commands we can buffer?

      Thanks for taking a look!

      1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators
        last edited by

        I've just replied to the issue on GitHub here: https://github.com/Duet3D/DuetSoftwareFramework/issues/149

        Poofjunior created this issue in Duet3D/DuetSoftwareFramework

        closed DSF 3.1.0: Sequence of motion-related SimpleCodes does not invoke motion planner #149

        Duet software engineer

        1 Reply Last reply Reply Quote 0
        • poofjuniorundefined
          poofjunior
          last edited by

          Many thanks for clearing this up! I'll dig through the DSF docs for the primary "Code" packet syntax in the long term and ask away with questions if something comes up.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA