Native RatOS Adaptive Bed Mesh hits the bed in prime location
hope it didnt break my new Rapido, but it hit the bed on prime blob and I hit emergency stop luckily as it zoomed to start (why is that first jerk so fast?) Since adaptive mesh uses the Z-offset to dynamically transform the g-code, where is it pulling this value? I use PROBE_CALIBRATE to set my offset in my printer.cfg file
59 Replies
Your config is a bit of a mess tbh. User overrides are best in their dedicated section. Not all over the place
On your actual prob
Your z offset is wrong
## [probe]
## z_offset = -0.100
all my overides are in their section no?
PROBE_CALIBRATE sets the offset
other than comment out my includes this is stock above the override section
Doesn’t seem like it. You have overrides all over the config file
are you sure youre looking at my config?
🤔
Let me check again I am@on my phone
Oh wait yeah I was looking at someone else’s
haha
Let me check yours 🙊
thanks!
Stupid iPhone
You use an skrat on vcore 400?
yes with EBB42
Neat
Try setting adaptive mesh to false to see what happens
Also have you put the slicer g code start stuff?
thats how im running it now until this gets resolved
set to false adn it runs as before
yes I did, it ran a new mesh around the print space but crashed into bed on prime blob
my theory is the dynamic part is not reading my offset "# [probe]
## z_offset = 1.320" set by PROBE_CALIBRATE
I will try it a bit later in my printer as well. I just woke up and saw the update
Great, thanks
I'm running some late prints and tried out the new hotness (adaptive mesh)
Yeah I will need to disable PAM first
Was checking in case you had it too and it was conflicting or something
nope, raw RatOS
foreign-sapphire•2y ago
@miklschmidt (just tagging as it’s a new feature push)
please post klippy.log @steveborough
RatOS should echo
RESPOND MSG="ADD_PRIME_PROBE_TO_OFFSET: adjusting z offset by {printer.configfile.settings.probe.z_offset - last_z}"
when adjusting the Z offset.
My assumption is probe repeatibility is poor in your case.
Also just realized Adaptive Mesh doesn't work with bltouch currently. But you're not using a bltouch.Ive since printed stuff with Adaptive mesh turned off, will the log still hold this info
also i rarely set z probe height
and print fine
Strange. I tested it on 2 printers, and had Helge test it too and it worked as intended. Without the output it's gonna be hard determining what's up. Let me check if it even makes it into the log in the first place.
I can check in a bit too. just need to do something first
using a beacon here though
It doesn't make it into the log, i wish there was better logging in klipper.
All that makes it in is this:
Which isn't super helpful, but better than nothing, so @steveborough please post klippy.log, at least i can look for that.
Hold off on that one, let me verify it works first.
Yeah beacon will need special case handling. Wouldn't currently work for adaptive priming.
This is similar to my experience trying to set z offset before just using probe_calibrate, prime blob smack into the bed…after using the probe_calibrate “wizard” and replacing my bent rapido, it works/prints reliably well
What’s the difference in config between manually setting z offset and using probe_calibrate
This indicates your issue is probably more about calibrating. Your current z_offset looks normal though.
For a superpinda or other inductive probe
there's none
It results in the same z_offset under [probe]
How it’s stored in printer.cig?
Ah
in the klipper config section at the very bottom.
It will comment out any previous z_offset parameter in your config.
I noticed it probes the blob area during the adaptive mesh, I think just 1 point right?
yes, which should be enough
The beacon devs have added the feature i need to their todo list, but i don't know when it'll land. I'll add a warning to the docs and bail from priming if using Beacon.
Ah thanks!
typical-coral•2y ago
Why? I am using BL and pam was working ok ;/ and now i dont know if its safe to use that adaptive bed mesh for me anymore;/
You can use it without priming. You cannot use it with adaptive priming before i've had time to test the fix i made earlier today. Bltouch requires special treatment as it's a separate module.
typical-coral•2y ago
How to turn off adaptive priming, and still use adaptive mesh from ratos?
Actually it won't work at all, yet.
Just get PAM for now.
But i can't just push stuff live without testing.
And i unfortunately have a bunch of other things to do today, hopefully i can test it tonight.
typical-coral•2y ago
I already redefined those macros in custom cfg area for bltouch but if you are working on this i will not use them for now.
Let me know if it works
I already have PAM and Beacon configured and working. Anything I should or shouldn't do when updating RatOS to latest version with these features?
Trying to use the new adaptive mesh. I now understand that it does not work with the BLTouch probe. I did try the latest macro change for Adding_Prime_Probe_To_Offset as found in github but I got an error.
Error evaluating 'gcode_macro ADD_PRIME_PROBE_TO_OFFSET:gcode': jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'probe' I hope this helps and will wait for changes you might be pushing soon.
Error evaluating 'gcode_macro ADD_PRIME_PROBE_TO_OFFSET:gcode': jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'probe' I hope this helps and will wait for changes you might be pushing soon.
Thready Jackson? Jk, I still have a non bl touch issue with my nozzle hitting the bed only when using adaptive mesh
Currently it doesn't work with beacon (https://discord.com/channels/582187371529764864/1108979027965902858/1109144522908237925 needs to be merged before it won't throw errors). Adaptive priming will require beacon code changes, it's on their list.
Hmm.. I will look into this, but looks like it'll be tomorrow.
Ok, so better not upgrade RatOS with a working Beacon at this time?
You can upgrade, just don't enable adaptive_mesh yet
I'd recommend you clean up your old beacon installation first though (includes deleting the symlinked klippy extra in ~/klipper/klippy/extras)
OK. Clear. Thanks.
Tested (with probe and beacon) and merged, if i can have someone with a bltouch test it out that would be great (make sure you remove any overrides).
There was a bug in the prime offset adjustment, it was applying an inverted offset, the original issue in this thread should be fixed now (in v2.0.0-69-ga62032c).
@d6_gameover let me know if your issue is corrected after updating
problem is fixed now. everybody with a klicky probe (and most likely other stowable probes as well) needs to make sure the adaptive mesh is probing for the prime blob in the correct position. i had to change my mesh_min to 20,30
I might just make this stock for safety
However it will throw an error now if more than 1mm adjustment is needed
GitHub
RatOS-configuration/macros.cfg at v2.x · Rat-OS/RatOS-configuration
The RatOS modular klipper configuration. Contribute to Rat-OS/RatOS-configuration development by creating an account on GitHub.
since my adjustment was 2mm, this would prevent permanent drawings on the pei^^
typical-coral•2y ago
bltouch - I run one test print on my vcore3 - it works I think (in basic small print scenario)
Works well now! thank you for the quick support!!
After updating RatOS to v2.0.0-70, adaptive mesh works great with Beacon, but I have no priming what-so-ever, not adaptive, not regularly, just no priming. Did I miss anything?
typical-coral•2y ago
You should have info in console that beacon priming is not supported in adaptive mesh for now if I read last code update correctly.
I was looking for that, but no info in the console. Just the adaptive mesh and after that the print. But it adaptive priming is not yet available for Beacon, shouldn't it prime the regular way?
typical-coral•2y ago
Current logic is: if you have adaptive mesh active and beacon in config turn off priming, as I see.
Ah. OK. That explains it. Thanks!
Can't do that, we can't probe the prime location, so the risk of damaging the bed is too high. If you want priming with beacon you'd have to disable adaptive_mesh. The beacon devs are adding the functionality i need to make it work, but it'll be a while.
No problem. Mesh is quite fast with beacon, so the advantage of adaptive mesh is the smallest with Beacon I guess.