File Structure Changed - Trying to Restore Old printer.cfg
I've done a fresh install of RatOS (after an attempt to update Moonraker bricked my printer). I uploaded my old printer.cfg over-writing the default, but the file structure has changed. So I added "RatOS/" after "config/" in all the includes to try to correct this.
I'm getting:
Include file '/home/pi/printer_data/config/config/RatOS/boards/btt-skr-2-429/config.cfg' does not existI'm not sure about the /home/pi/printer_data/config/ (that config/config/ doesn't look right), but changing the path to /config/RatOS/boards/btt-skr-2-429/config.cfg doesn't help. This must be something obvious, but I'm not seeing it. What's wrong here?
38 Replies
So you updated from v1 to v2 which is not backwards compatible, please see https://os.ratrig.com/changelog#ratos-v20
Changelog | RatOS
RatOS V2.0
You can only use your printer.cfg as reference
Do not copy paste
continuing-cyanOP•2y ago
So lots of changes then?
Oh yes
continuing-cyanOP•2y ago
I'll have to manually copy all my changes across
Your user override section should be copy pastable
But not the rest
You can still install a v1 release, but it was discontinued back in may after a 3 month warning.
continuing-cyanOP•2y ago
I should be able to copy my input shaper config manually, right?
Yes
continuing-cyanOP•2y ago
Cool
Everything after (and including) the user overrides section is fair game
continuing-cyanOP•2y ago
I suppose it won't take too long. I just have quite a few changes to the default due to motor changes, etc.
Right, shouldn't be a big issue, it's similar to v1, but the order of some includes has changed and a bunch of new stuff was introduced.
continuing-cyanOP•2y ago
I guess it's not so much
Glad you're still awake @miklschmidt!
This is why I prefer not to update anything!
Well not for long, got a roadtrip in 5 hours 😂
continuing-cyanOP•2y ago
Oh, nice! Where are you going?
Germany
Just a one day trip
Shopping at the border like a proper Dane
continuing-cyanOP•2y ago
Wow!
Have fun!
Thank you! And good luck, i'll check in tomorrow night and see if you're completely screwed 😂
continuing-cyanOP•2y ago
I'm up and running again, still have a few things to do like working out how to transfer input shaping, as that only appear in the saved (do not edit) part of the config.
I'm using a 42STH48-2504AC for my y axis. Previously I had:
[tmc2209 stepper_y]
uart_pin: y_uart_pin
run_current: 1.6
driver_TBL: 1
driver_TOFF: 3
driver_HEND: 3
driver_HSTRT: 4
That I lazily dumped in to my printer.cfg. Now I see the stepper config for this setup is:
[tmc2209 stepper_y]
uart_pin: y_uart_pin
run_current: 1.6
driver_TBL: 2
driver_TOFF: 3
driver_HEND: 0
driver_HSTRT: 6
I'm not sure if those HEND/HSTART and TBL differences matter
BTW, I did have big issues with my y axis last night until I discovered the dupont connector had come unseated! I wasted best part of an hour due to that!
After I've got the basics in place, I plan to get KAMP running
You can copy paste the whole save config block, or you can just cherry pick stuff from it and remove the #*# in front.
Delete this. All you need is to replace
with
Up in the stepper section 🙂
They're motor and driver specific and they're defined in the stepper config files.
Yeah don't use duponts, those are supposed to be JST plugs.
RatOS v2 has native adaptive meshing.
Adaptive Meshing (BETA) | RatOS
RatOS comes with it's own adaptive meshing (functionality was previously handled by PAM by Helge Keck), similar to KAMP. When enabled and configured in your slicer, RatOS will only probe the print area and your configured probe location, potentially saving a lot of time on smaller prints on bigger printers. RatOS will keep the resolution of your...
No need for KAMP
continuing-cyanOP•2y ago
Yeah, I get the principle of the motor-specific settings. I'm just not sure what's right for the 42STH48-2504AC
I will have to try the adaptive meshing
BTW, what *is *the correct order for doing updates?
Sorry i made a typo:
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-y.cfg]
RatOS then everything else.
Although clicking update all should work in theory, it'll always do thirdparty components first, then klipper/moonraker and finally system packages.continuing-cyanOP•2y ago
Yes, that's what I used. It's just different from what I used to have for HSTART/HEND and TBL
It hasn’t changed since it was introduced so 🤷🏻♂️
continuing-cyanOP•17mo ago
@miklschmidt Adaptive mesh isn't working correctly for me. It seems to start with x min equal to the x center of the bed. I'm trying a centered print, but the meshing is offset to the right
Sounds like bad parameters from the slicer possibly. The console will spit out debugging information before starting the mesh, maybe there's a clue in there.
continuing-cyanOP•17mo ago
Maybe, but the behavior is the same with Super Sliver and Orca
Post the info from the console
And your printer.cfg for good measure
continuing-cyanOP•17mo ago
Is there an elegant way to save the copy the console, other than cut and pasting (with it being reverse chronological order)?
continuing-cyanOP•17mo ago
continuing-cyanOP•17mo ago
X0=66.1478 yet the lowest X probed is 93.947
Y0=68.5486 yet the lowest Y probed is 80.550
So here's the fun part:
echo: CALIBRATE_ADAPTIVE_MESH: mesh coordinates X0=66.1478 Y0=68.5486 X1=114.868 Y1=113.88
is what the macro is passing to BED_MESH_CALIBRATE. Those are correct. So whatever's going on is inside BED_MESH_CALIBRATE.continuing-cyanOP•17mo ago
That's what it looked like to me
So the points BED_MESH_CALIBRATE generates goes from 66.1, 68.5 to 142.7,125.9. But That's not what it's probing.. wtf.
continuing-cyanOP•17mo ago
Indeed!
Does it need exclude object enabled, like KAMP does?
No
I specifically avoided that so it works on slower devices as well