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

    InputShaping-Plugin-0.1.0-rc6 released

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    11
    35
    2.5k
    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 mfs12

      EXPERIMENTAL!!!

      Hey, this is a very experimental release for all who don't have a project yet for the weekend... 😉

      It brings basic session handling. It allows to compare graphs with each other. This should allow quicker and easier evaluation of inputshaping algorithms.

      Session handling is still work in progress!!! So don't be to strict and leave a comment or any other feedback about it.

      Enjoy your weekend!

      Release Notes inputshaping-plugin-0.1.0-rc6

      Features

      • setting parameters for recording accelerometer profile
      • start recording accelerometer profile
      • automated download and analysis of the recorder profile
      • preset of ringing frequency with the maximum amplitude
      • setting of input shaping parameters
      • added german translation
      • improved setting of initial record profile parameters
      • changed order of profile commands
      • added support to show multiple profile graphs in one chart

      Bugs

      • fixed list of available input shaping algorithm
      • fixed order of profile commands

      Downloads

      Downloads can be found at https://github.com/mfs12/DuetWebControl/releases/tag/inputshaping-plugin-0.1.0-rc6

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

      SIamundefined Heartleander81undefined CaiJonasundefined CadetCundefined GeneRisiundefined 5 Replies Last reply Reply Quote 2
      • SIamundefined
        SIam @mfs12
        last edited by

        @mfs12 first the good news, 😉 the support to show multiple profile graphs in one chart seems to work so far but setting of input shaping configuration here is the frequency always 0Hz

        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)

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

          @mfs12
          Is there a guide on how to install plugins in DWC?
          Have never done that before

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

            @heartleander81 it's the same way when you update the board click on the button upload system files and select the plugin archive.
            Then go to settings -> Machine Specific -> External Plugins and Activate the Plugin

            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)

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

              @siam ok thank you. I test it

              [Edit]
              Ok thank you again.
              Unfortunately, it is not. I have Beta 3.4.0 Beta2 when installing it tells me DWC 3.3.0 is the prerequisite. It is installed but there will be a change due to the beta

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

                @heartleander81 You need the 3.4.b2 because this is the first version with Input shaping types

                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)

                Heartleander81undefined 1 Reply Last reply Reply Quote 0
                • CaiJonasundefined
                  CaiJonas @mfs12
                  last edited by

                  @mfs12
                  thanks alot for your work.

                  Unfortunatelly I'm getting this message:

                  e4f06a38-f639-4aab-9cdc-d1a866c22a7d-image.png

                  how can I solve this?

                  Best Regards

                  jay_s_ukundefined mfs12undefined 2 Replies Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @CaiJonas
                    last edited by jay_s_uk

                    @caijonas I get that too. I don't get than message if using the accelerometer plugin

                    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 0
                    • Heartleander81undefined
                      Heartleander81 @SIam
                      last edited by

                      @siam

                      I had done the SBC update but DWC 3.3.0 is still displayed. The board has firmware 3.4.0 Beta2 +. Wait until the next beta comes out. Thank you.

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

                        @heartleander81 have you installed DuetWebControl-SD.zip from the Release 3.4.0 beta 2 ?

                        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)

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

                          @siam don't install that. it'll break DWC on an SBC build

                          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 0
                          • mfs12undefined
                            mfs12 @CaiJonas
                            last edited by

                            @caijonas you get the error message "session does not match record's numer of samples" when you try to load different "records" with different numbers of samples.

                            Ususally you try to compare graphs from different recordings sessions where you were using different paramters. They are not comparable. At least so far.

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

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

                              @mfs12 i get that message when loading different graphs recorded using the same parameters

                              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

                              mfs12undefined 1 Reply Last reply Reply Quote 0
                              • mfs12undefined
                                mfs12 @jay_s_uk
                                last edited by

                                @jay_s_uk did one graph have overflows?

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

                                jay_s_ukundefined 2 Replies Last reply Reply Quote 0
                                • jay_s_ukundefined
                                  jay_s_uk @mfs12
                                  last edited by

                                  @mfs12 how do I verify that?

                                  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 0
                                  • jay_s_ukundefined
                                    jay_s_uk @mfs12
                                    last edited by

                                    @mfs12 just looked at the files and all 3 have no overflows
                                    input-shaping-0-Z-none.csv
                                    input-shaping-0-Y-none.csv
                                    input-shaping-0-X-none.csv

                                    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 0
                                    • mfs12undefined
                                      mfs12
                                      last edited by

                                      @jay_s_uk if there were overflows you usually get asked. At least if it's the first record to load.

                                      Or download the files and count the lines 😉 on Linux/MacOS you can use "wc -l" for that.

                                      $ cat RECORDED_FILE.csv | wc -l
                                      

                                      Here's the check that is failing...

                                      https://github.com/mfs12/DuetWebControl/blob/ef667f55bcc6043a48eb72e2769726a9a9d5a8d4/src/plugins/InputShaping/InputShapingSession.js#L185

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

                                      1 Reply Last reply Reply Quote 0
                                      • mfs12undefined
                                        mfs12
                                        last edited by mfs12

                                        just checked. the line counts are ok.

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

                                        1 Reply Last reply Reply Quote 0
                                        • mfs12undefined
                                          mfs12
                                          last edited by mfs12

                                          @jay_s_uk but they are not exactly the same. you should get an sample rate error and not a sample number error.

                                          The files use different sample rates.

                                          ==> 1629703252758-input-shaping-0-z-none.csv <==
                                          Rate 1286, overflows 0
                                          
                                          ==> 1629703255890-input-shaping-0-y-none.csv <==
                                          Rate 1284, overflows 0
                                          
                                          ==> 1629703258730-input-shaping-0-x-none.csv <==
                                          Rate 1284, overflows 0
                                          
                                          

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

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

                                            @mfs12 so how so I adjust that? they were all recorded using the input shaper plugin

                                            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 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA