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

                                      @jay_s_uk the easiest way would be to re-record them without tweaking any recording parameters.

                                      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 ok, i've re-recorded and that error has gone. don;t know why it was there in the first place as I hadn't changed any of the 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

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

                                          @jay_s_uk @mfs12 the recorded rate may vary depending on temperature etc. RRF asks the sensor to report at one of its supported nominal rates, then measures the rate at which the sensor actually collects the data. Assuming that the sensor was a LIS3DH then the nominal rate would have been 1344. In this case the change in data rate was less than 0.2% so it could safely be ignored.

                                          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

                                          1 Reply Last reply Reply Quote 1
                                          • CadetCundefined
                                            CadetC @mfs12
                                            last edited by

                                            @mfs12
                                            Look like we need rc7 😉
                                            After installing 3.4b3 rc6 no longer works.

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