Baby Stepping.. can it, or can it not be permanent?
-
@zapta said in Baby Stepping.. can it, or can it not be permanent?:
A side note for persisting data on the Duet, I wish that the duet would store its state, caches, etc in a separate and more 'transient' directory and keep the /sys directory the way the user set it up.
This will make it easier to version the configuration (I am using git) or change or clone a board.
looking to linux and /bin /etc /usr/bin and so on doesn't sound like a bad idea, but it would be a big change, so not for 3.01. could you work around it with .gitignore ?
-
@bearer, .gitignore would not avoid the spam in directory diffing (card vs repository). Same goes for copying a card for another printer or deleting the duet's transient data to get to a known state (which files to delete and which files to keep?).
I am not 100% but IIRC, the www directory is kept clean of transient files.
-
@zapta said in Baby Stepping.. can it, or can it not be permanent?:
.gitignore would not avoid the spam in directory diffing
it would if you used git diff? as for copying goes %#ยค in #"%& out and getting to a known state, nuke from orbit, pull fresh duet stuff from web and clone your git stuff after?
But I do agree, cleaner separation would be nice.
-
@deckingman said in Baby Stepping.. can it, or can it not be permanent?:
The thread title says "Permanent" - that's what I was replying to.
Yes, you are right, it's from the topic.
I believe that 'persisted' captures more accurately the use case of "save and use it in following sessions until I will set a new value".
-
If users of baby stepping wish to have a one-click method to save baby stepping values, here it is:
First, you create a template-config.g This is where your master config.g that you would normally edit and contains your normal settings lives. It has no babystepping command.
Now, you create a real config.g in the sys directory that points to the template-config.g with an M98.
We now create a series of macros. In each of those macros you have something that looks like this:
; filename: +0.02.g M28 config.g M98 template-config.g M290 S0.02 M29
; filename: +0.04.g M28 config.g M98 template-config.g M290 S0.04 M29
; filename: -0.02.g M28 config.g M98 template-config.g M290 S-0.02 M29
etc., and lastly:
; filename: reset.g M28 config.g M98 template-config.g M29
Voila! Now you just have to select the amount of babystepping you have currently applied and wish to make permanent! It will be permanent until the next time you run one of these macros, and you can reset it permanently too. To make normal everyday changes to your config, you can simply change the template-config.g.
To be clear, this is a joke. To make this work for real you'd need to use M505 to set a different directory, because calling M98 would write the entire contents of template-config.g to the main config.g, precluding the ability to make easy changes! So instead, we would have to write a new override-override-config.g in a new directory that we then point the firmware to in the main congfig.g with our series of convenient macros.
-
@bot said in Baby Stepping.. can it, or can it not be permanent?:
If users of baby stepping wish to have a one-click method to save baby stepping values, here it is:
Compare with Prusa https://youtu.be/2wh0bKPOI_o?t=43 , it even has the test pattern built in.
(just swapped nozzle to 0.5mm and had to go through the routine of babysteps adjustment, config editing, and config uploading).
-
@zapta Presumably your nozzles are slightly different lengths which is the reason why you need a different probe/nozzle offset for each one. In which case, why go through the process of adjusting baby stepping every time you change nozzle? Why not make a note of the offset once established, and use a macro for each nozzle to set the offset? Then when you change nozzle, instead of playing around with baby stepping, simply run M98 P"05Nozzle" or whatever name you decide to use.
Presumably you use different profiles in your slicer for each nozzle. If so, then you could include a call to the relevant nozzle offset macro in the slicer. So you never (or rarely) have to use baby stepping. -
@deckingman said in Baby Stepping.. can it, or can it not be permanent?:
I'm just trying to understand why people want something that has to be changed regularly to be made to persist or be permanent.
I do see the value of the suggested feature. Especially for values that change regularly. I find myself babystepping down a bit for each print of the roll I am currently using. Yes, I need to compensate for that in the H parameter of G31 command, but call me lazy! (does everyone has to lookup if it needs to be added or subtracted?). What's wrong with a button that sets the default height compensation in config.g based on the currently set babystepping? I would like it for sure!
-
@DeltaCon said in Baby Stepping.. can it, or can it not be permanent?:
I do see the value of the suggested feature. Especially for values that change regularly. I find myself babystepping down a bit for each print of the roll I am currently using.
I'm sorry but I still don't get it. If you have to change baby stepping for each print, how does making it permanent help?
Scenario 1. With baby stepping as is (non permanent), you start a print, then adjust baby stepping. Repeat for the next print.
Scenario 2. With "permanent" baby stepping, you start a print, then adjust baby stepping, then save it. But you still repeat that process for the next print because you say "I find myself babystepping down a bit for each print........"
So all you are doing in scenario 2 is saving the value that you are going to change anyway next time you do a print. Why?
-
@deckingman said in Baby Stepping.. can it, or can it not be permanent?:
So all you are doing in scenario 2 is saving the value that you are going to change anyway next time you do a print. Why?
Because "change it next time" is actually quite often several attempts down the road.
Meaning, print A didn't start right because it took a few moments to get babystep correct, and parts of layer one are already blown. So, I have to stop, and sometimes estop and try again. Maybe for two or three attempts.
And, if I did reset, babystepping is gone, and I guarantee I will not realize that, and there is another blown attempt.
Once I've gotten through a number of starts of print A, and it finally "takes", it will be hours or days before I move on to print B. As part of setting up for print B, I'll check everything, and adjust settings, to get it started. Including zeroing babystepping.
And, just generically, I'm in the camp of "don't lose things across restarts". Babystepping or anything else.
-
@deckingman said in Baby Stepping.. can it, or can it not be permanent?:
... why go through the process of adjusting baby stepping every time you change nozzle?
Deckingman, I think that for two reasons I presume, first, I am not that organized and when I need a nozzle I pick one from an assorted bag of nozzles (last switch was from a microswiss 0.4 to a chinese 0.5), and second, my printer is not that stiff and stable that swapping back to the same nozzle will require the exact same configuration.
Myself and many others, on duet and on other firmwares, use babysteping to compensate for imperfections in our mechanics and processes, just the same as we do with mesh based bed leveling (I now run an automatic one, for the print area only, on every print). It would probably be less necessary in a more perfect world.
-
@zapta said in Baby Stepping.. can it, or can it not be permanent?:
@deckingman said in Baby Stepping.. can it, or can it not be permanent?:
... why go through the process of adjusting baby stepping every time you change nozzle?
Deckingman, I think that for two reasons I presume, first, I am not that organized and when I need a nozzle I pick one from an assorted bag of nozzles (last switch was from a microswiss 0.4 to a chinese 0.5), and second, my printer is not that stiff and stable that swapping back to the same nozzle will require the exact same configuration.
Myself and many others, on duet and on other firmwares, use babysteping to compensate for imperfections in our mechanics and processes, just the same as we do with mesh based bed leveling (I now run an automatic one, for the print area only, on every print). It would probably be less necessary in a more perfect world.
Yes I get all that. I don't have any problem with people who want to use baby stepping and I fully understand how it could be useful.
It's just the logic behind the reasoning that the more frequently something gets changed, the more necessary it is to save the value. In my book, the opposite is true.
-
I wonder how much of the precious memory on the duets are used for features that are catering to people whose printers are so poorly built that they need to calibrate it every single time they print. How much of the development time put into RRF was for such features?
Babystepping works as it does now. Config-override exists for you to save settings, but not babystepping. Figure out a way to save your babystepping values with that you have now!
It's so frustrating that some of us jump through hoops, spend tens of thousands of dollars or euros, build a machine that is rock solid, but yet we have to deal with the onslaught of features and feature requests from people who can't be bothered to edit one line in one file?
We should not cater primarily to the lazy folks who can't be bothered to perform extremely simple actions.
-
@deckingman said in Baby Stepping.. can it, or can it not be permanent?:
Scenario 1. With baby stepping as is (non permanent), you start a print, then adjust baby stepping. Repeat for the next print.
Only if you are homing again you will have to readjust. Making it permanent you do NOT have to readjust.
Scenario 2. With "permanent" baby stepping, you start a print, then adjust baby stepping, then save it. But you still repeat that process for the next print because you say "I find myself babystepping down a bit for each print........"
I find myself babystepping down for each print, because I cannot make it permanent. You have it the wrong way.
So all you are doing in scenario 2 is saving the value that you are going to change anyway next time you do a print. Why?
No, I do NOT need to change anyway if my value gets permanent.
I think you need to look at it not as permanent babystepping, but as an easy way to dial in the H value in config.g. Nothing is easier then looking at a result, adjusting, looking again, and when it is spot on, press the button and it is set. After pressing the button, babystepping is at 0 and no need for adjustment until you change material, adjust flowrate or esteps, or do something else that requires evaluation of your nozzle offset. -
@bot said in Baby Stepping.. can it, or can it not be permanent?:
I wonder how much of the precious memory on the duets are used for features that are catering to people whose printers are so poorly built that they need to calibrate it every single time they print. How much of the development time put into RRF was for such features?
Babystepping works as it does now. Config-override exists for you to save settings, but not babystepping. Figure out a way to save your babystepping values with that you have now!
It's so frustrating that some of us jump through hoops, spend tens of thousands of dollars or euros, build a machine that is rock solid, but yet we have to deal with the onslaught of features and feature requests from people who can't be bothered to edit one line in one file?
We should not cater primarily to the lazy folks who can't be bothered to perform extremely simple actions.
A little respect please... Not anyone uses their machinery the exact same way you do so yes, other people have to be catered too. The suggested option is a nice one, even if you do not understand that. RepRap is supposed to be the most userfriendly firmware, no?
-
@bot said in Baby Stepping.. can it, or can it not be permanent?:
I wonder how much of the precious memory on the duets are used for features that are catering to people whose printers are so poorly built that they need to calibrate it every single time they print. How much of the development time put into RRF was for such features?
Did you know? DC42 himself calibrates his Delta for every print.
-
@Danal dc42 also prints with a polar(scara?) printer onto a desk and barely has to adjust the calibration of it. Pretty sure he basically does whatever he pleases, and that's fine. He manages to get by without babystepping permanence!
-
@DeltaCon but you're being offered, for basically free, a firmware/software platform that is perfectly adequate to achieve what you want. You refuse to make one simple change to one file, and are demanding that the creator spend his time creating an amendment to the system that works fine?
Please, have some respect for the work you've been given. You bought electronics, and were given an amazing set of software for free.
-
Let's go the whole hog. Why stop with having a button to make baby stepping permanent instead of editing one value in config.g? Let's have another button that will set the steps per mm for extruders after we've calibrated them - one button for each extruder ideally. Then another button when we tune firmware retraction to save us editing config.g for that. The same for pressure advance and all the other things we have to tune. With enough buttons, we need never open config.g at all.
I'm sure many people would be delighted if DC, Chris Ham and all the others spent their time implementing that. Personally, I'd rather they spent their time on implementing basic functionality such as heater tuning and end stop/motor combinations on expansion boards, and perhaps restoring the step pulse frequency limit to what it was some versions of firmware ago. But maybe I just have my sense of priorities all wrong............
-
I always try to debate ideas, not people. This discussion turned a corner, and I regret my one post down the path of commenting directly on a person.
Back to the idea of persistence of babystepping: I am OK with it, and in fact, find it mildly desirable.
At the same time, it is not so important to me, either way, to stay in a high-friction discussion.