InputShaping-Plugin-0.2.0-pre8-2 released
-
@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
-
@j3d the A parameter of M956 doesn't work yet.
-
@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.
-
-
@mfs12 Can you repack this for 3.4 RC1 real quick?
-
@ctilley79 you can edit the json file in the zip to change the RRF version
-
@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?
-
@ctilley79 nope
-
@jay_s_uk Thanks!
-
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?
-
@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.
-
@jay_s_uk Tried that bud. Did not work so I went the complicated route
-
@jay_s_uk Unless my mac is not zipping up the files correctly then I'm at a loss
-
Mine doesn't work either after changing just the version.
-
I think we have to wait for the next version ....
-
@siam Hey. At least you got it to install
-
@ctilley79 InputShaping-0.2.0-pre8.txt
rename it to .zip -
@jay_s_uk Nice way to get past the censors lol. Just out of curiosity, what process did you follow to fix the package?
-
@ctilley79 had to rebuild this one in the end due to DWC changes
-
This post is deleted! -