• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    mfs12
    last edited by 18 Dec 2021, 09:19

    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/

    undefined undefined undefined 4 Replies Last reply 20 Dec 2021, 21:32 Reply Quote 2
    • undefined
      j3d @mfs12
      last edited by j3d 20 Dec 2021, 21:32

      @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

      undefined 1 Reply Last reply 20 Dec 2021, 21:56 Reply Quote 0
      • undefined
        dc42 administrators @j3d
        last edited by 20 Dec 2021, 21:56

        @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

        undefined 1 Reply Last reply 20 Dec 2021, 22:28 Reply Quote 0
        • undefined
          j3d @dc42
          last edited by j3d 20 Dec 2021, 22:28

          @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
          • undefined
            Heartleander81
            last edited by 23 Dec 2021, 21:08

            @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
            • undefined
              ctilley79 @mfs12
              last edited by 9 Feb 2022, 19:02

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

              undefined 1 Reply Last reply 9 Feb 2022, 19:07 Reply Quote 0
              • undefined
                jay_s_uk @ctilley79
                last edited by 9 Feb 2022, 19:07

                @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

                undefined 1 Reply Last reply 9 Feb 2022, 19:30 Reply Quote 0
                • undefined
                  ctilley79 @jay_s_uk
                  last edited by 9 Feb 2022, 19:30

                  @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?

                  undefined 1 Reply Last reply 9 Feb 2022, 19:31 Reply Quote 0
                  • undefined
                    jay_s_uk @ctilley79
                    last edited by 9 Feb 2022, 19:31

                    @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

                    undefined 1 Reply Last reply 9 Feb 2022, 19:31 Reply Quote 1
                    • undefined
                      ctilley79 @jay_s_uk
                      last edited by 9 Feb 2022, 19:31

                      @jay_s_uk Thanks!

                      1 Reply Last reply Reply Quote 1
                      • undefined
                        ctilley79 @mfs12
                        last edited by 10 Feb 2022, 17:39

                        @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?

                        undefined 1 Reply Last reply 10 Feb 2022, 17:47 Reply Quote 0
                        • undefined
                          jay_s_uk @ctilley79
                          last edited by 10 Feb 2022, 17:47

                          @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

                          undefined 2 Replies Last reply 10 Feb 2022, 17:48 Reply Quote 0
                          • undefined
                            ctilley79 @jay_s_uk
                            last edited by 10 Feb 2022, 17:48

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

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              ctilley79 @jay_s_uk
                              last edited by 10 Feb 2022, 17:50

                              @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
                              • undefined
                                Diamondback
                                last edited by 10 Feb 2022, 18:39

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

                                undefined 1 Reply Last reply 10 Feb 2022, 18:42 Reply Quote 0
                                • undefined
                                  SIam @Diamondback
                                  last edited by 10 Feb 2022, 18:42

                                  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)

                                  undefined ? 2 Replies Last reply 10 Feb 2022, 19:42 Reply Quote 2
                                  • undefined
                                    ctilley79 @SIam
                                    last edited by 10 Feb 2022, 19:42

                                    @siam Hey. At least you got it to install

                                    undefined 1 Reply Last reply 11 Feb 2022, 20:45 Reply Quote 0
                                    • undefined
                                      jay_s_uk @ctilley79
                                      last edited by 11 Feb 2022, 20:45

                                      @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

                                      undefined 1 Reply Last reply 11 Feb 2022, 22:36 Reply Quote 0
                                      • undefined
                                        ctilley79 @jay_s_uk
                                        last edited by 11 Feb 2022, 22:36

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

                                        undefined 1 Reply Last reply 11 Feb 2022, 22:36 Reply Quote 0
                                        • undefined
                                          jay_s_uk @ctilley79
                                          last edited by 11 Feb 2022, 22:36

                                          @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