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

    InputShaping-Plugin-0.2.0-pre8-2 released

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    12
    24
    2.1k
    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.
    • mfs12undefined
      mfs12
      last edited by

      Repack to work with DWC-3.4-b7.

      For release notes check https://github.com/mfs12/DuetWebControl/releases/tag/inputshaping-plugin-0.2.0-pre8.

      Downloads can be found at https://github.com/mfs12/DuetWebControl/releases/tag/inputshaping-plugin-0.2.0-pre8-2

      Visit me on github at https://github.com/mfs12/

      j3dundefined ctilley79undefined GeneRisiundefined 4 Replies Last reply Reply Quote 2
      • j3dundefined
        j3d @mfs12
        last edited by j3d

        @mfs12 This is a really neat plugin, thanks for all your work!

        I was wondering if you could make the A parameter of the M956 command editable? It seems to be hardcoded to A2 in InputShapingSession.js. I seem to get much better results with the following command in the documentation where A0 is used.

        Acceleration measurements captured during movement typically show higher frequency components caused by the motors and belts. For this reason, you may get results that are easier to interpret if you collect data immediately after a sharp stop, using a command such as this:

        ; Duet 3 and 2, accelerometer connected to mainboard (M956 P0)
        G1 X-50 G4 S2 G1 X50 F20000 M400 M956 P0 S1000 A0
        

        Source: https://duet3d.dozuki.com/Wiki/Accelerometers#Section_Sampling_rate_and_resolution

        dc42undefined 1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @j3d
          last edited by

          @j3d the A parameter of M956 doesn't work yet.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          j3dundefined 1 Reply Last reply Reply Quote 0
          • j3dundefined
            j3d @dc42
            last edited by j3d

            @dc42 said in InputShaping-Plugin-0.2.0-pre8-2 released:

            @j3d the A parameter of M956 doesn't work yet.

            Ah, so does it always evaluate to A0 currently?

            I also needed to switch my accelerometer to 12 bit resolution in order to capture any meaningful results.

            1 Reply Last reply Reply Quote 0
            • Heartleander81undefined
              Heartleander81
              last edited by

              @mfs12 @dc42

              Today arrived my New tool board and the Accelerometer test worked now.
              I See the Hz .

              Thanks Dc42 and mfs12 for your help and Support.

              1 Reply Last reply Reply Quote 0
              • ctilley79undefined
                ctilley79 @mfs12
                last edited by

                @mfs12 Can you repack this for 3.4 RC1 real quick?

                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @ctilley79
                  last edited by

                  @ctilley79 you can edit the json file in the zip to change the RRF version

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                  ctilley79undefined 1 Reply Last reply Reply Quote 0
                  • ctilley79undefined
                    ctilley79 @jay_s_uk
                    last edited by

                    @jay_s_uk No other dependencies in package.json between DWC 3.4 b7 and DWC 3.4 RC1 have changed that would affect Input Shaper Plugin 0.20 pre 8-2?

                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @ctilley79
                      last edited by

                      @ctilley79 nope

                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                      ctilley79undefined 1 Reply Last reply Reply Quote 1
                      • ctilley79undefined
                        ctilley79 @jay_s_uk
                        last edited by

                        @jay_s_uk Thanks!

                        1 Reply Last reply Reply Quote 1
                        • ctilley79undefined
                          ctilley79 @mfs12
                          last edited by

                          @mfs12

                          Tried to repackage the InputShaper plugin using the following steps.

                          • Downloaded source for DWC 3.4.0-RC1
                          • Copied InputShaper files from the 0.2.0-pre8-2 source into plugins folder
                          • Modified plugins/index.js to instantiate a new DwcPlugin for InputShaper
                          • Changed version number in src/plugins/InputShaping/plugin.json
                          • Installed some missing dependencies
                          • Ran npm run build and compiled successfully
                          • Grabbed the InputShaper JS and CSS files and structured the directories and files identical to the InputShaper plugin source code.
                          • zipped everything up and uploaded to DWC.

                          The issue is the last step. Uploading the plugin I get a brief notification that the files are being extracted, however the process dies silently with no errors. The popup to install a plugin never appears after upload. Am I missing something here?

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @ctilley79
                            last edited by

                            @ctilley79 don't need to do that. Literally download the release zip file for 3.4b7 and edit the JSON file to say 3.4rc1.

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            ctilley79undefined 2 Replies Last reply Reply Quote 0
                            • ctilley79undefined
                              ctilley79 @jay_s_uk
                              last edited by

                              @jay_s_uk Tried that bud. Did not work so I went the complicated route

                              1 Reply Last reply Reply Quote 0
                              • ctilley79undefined
                                ctilley79 @jay_s_uk
                                last edited by

                                @jay_s_uk Unless my mac is not zipping up the files correctly then I'm at a loss

                                1 Reply Last reply Reply Quote 0
                                • Diamondbackundefined
                                  Diamondback
                                  last edited by

                                  Mine doesn't work either after changing just the version.

                                  SIamundefined 1 Reply Last reply Reply Quote 0
                                  • SIamundefined
                                    SIam @Diamondback
                                    last edited by

                                    I think we have to wait for the next version ....
                                    2022-02-10 19_40_08-Window.png

                                    Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
                                    Duet WiFi 1.02 or later + DueX5
                                    RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
                                    Duet WiFi Server: 1.26
                                    Duet Web Control 3.4.0beta4 (2021-09-27)

                                    ctilley79undefined A Former User? 2 Replies Last reply Reply Quote 2
                                    • ctilley79undefined
                                      ctilley79 @SIam
                                      last edited by

                                      @siam Hey. At least you got it to install

                                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                      • jay_s_ukundefined
                                        jay_s_uk @ctilley79
                                        last edited by

                                        @ctilley79 InputShaping-0.2.0-pre8.txt
                                        rename it to .zip

                                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                        ctilley79undefined 1 Reply Last reply Reply Quote 0
                                        • ctilley79undefined
                                          ctilley79 @jay_s_uk
                                          last edited by

                                          @jay_s_uk Nice way to get past the censors lol. Just out of curiosity, what process did you follow to fix the package?

                                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                          • jay_s_ukundefined
                                            jay_s_uk @ctilley79
                                            last edited by

                                            @ctilley79 had to rebuild this one in the end due to DWC changes

                                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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