VAOC issue (x offset on T0) after last RatOS update

I made some VAOC calibrations this morning, then I saw a RatOS update (2 commits) and updated. Then I tried again with VAOC but the toolhead 0 isn’t centered but has and offset.
Solution:
remove include and update ratos
Jump to solution
50 Replies
Helge Keck
Helge Keck2mo ago
please enable the debug mode, clean the console output, then reproduce one single time, then share the console output
Teo_
Teo_OP2mo ago
Helge Keck
Helge Keck2mo ago
ahhh, can you please make aa test for me can you outcomment your skew correction in the printer.cfg and try again
Teo_
Teo_OP2mo ago
I don’t know if it is related, but if I try Calibrate Z-Offset I get this error too:
Error evaluating 'gcode_macro _VAOC_CALIBRATE_Z_OFFSET:gcode': gcode.CommandError: Unexpected y-coordinate detected, VAOC aborted. Expected 427.638 but got 427.652.
Error evaluating 'gcode_macro _VAOC_CALIBRATE_Z_OFFSET:gcode': gcode.CommandError: Unexpected y-coordinate detected, VAOC aborted. Expected 427.638 but got 427.652.
Helge Keck
Helge Keck2mo ago
thats expected bc of the same issue please make the test
Helge Keck
Helge Keck2mo ago
can you include this file in your printer.cfg and then redo the test please
Teo_
Teo_OP2mo ago
I had a collision with the right Y motor
Helge Keck
Helge Keck2mo ago
when did this happen? please share your printer.cfg
Teo_
Teo_OP2mo ago
During the camera approaching
Helge Keck
Helge Keck2mo ago
so when both toolheads are trying to move back?
Teo_
Teo_OP2mo ago
I think T1 doesn’t move on X axis before moving Y axis, I’ll try again with the finger ready on Emergy stop button
Helge Keck
Helge Keck2mo ago
restart klipper and jsut click START_VAOC without homeing manually before
Teo_
Teo_OP2mo ago
OK
Helge Keck
Helge Keck2mo ago
so this is your y control point in VAOC
No description
Helge Keck
Helge Keck2mo ago
and thsi is in your ratos.cfg
No description
Helge Keck
Helge Keck2mo ago
please add this to your printer.cfg
[gcode_macro _VAOC]
variable_expected_camera_y_position: 427.64
[gcode_macro _VAOC]
variable_expected_camera_y_position: 427.64
Teo_
Teo_OP2mo ago
I’ve added it (and removed the vaoc_test.cfg because I had another collision) but I still have this offset
Helge Keck
Helge Keck2mo ago
when you have the collsions so you are saying that not both toolheads go over the build palte when starting VAOC? or does this happen when the toolheads are already in the back
Teo_
Teo_OP2mo ago
Yes, I recorded the previous collision (the IP cam have a delay) and I forgot the "Emergency stop" button isn’t available during VAOC 😭
Helge Keck
Helge Keck2mo ago
you can have two windows open, one wiht mainsail and the other with vaoc please move both toolehads over the build plate and then home your printer just want to make sure T1 still works
Teo_
Teo_OP2mo ago
Yes, the last test commenting the include vaoc_test.cfg worked but there is still the issue on T0 offset
Helge Keck
Helge Keck2mo ago
OHHHH i think i see the issue one sec to confirm, please run _VAOC in the console and share the output i believe RatOS thinks you have a non fixed VAOC device isntead of a fixed one
Teo_
Teo_OP2mo ago
12:11 expected_camera_y_position: 427.64 12:11 expected_camera_x_position: 162.5 12:11 loaded_skew_profile: 12:11 t1_bowden_sensor_enabled: 0 12:11 t0_bowden_sensor_enabled: 0 12:11 t1_toolhead_sensor_enabled: 0 12:11 t0_toolhead_sensor_enabled: 0 12:11 cache_toolchange_zhop: 2.0 12:11 cache_toolchange_travel_accel: 8000 12:11 cache_toolchange_travel_speed: 600 12:11 toolchange_travel_accel: 5000 12:11 toolchange_travel_speed: 300 12:11 camera_cooling_temperature: 50 12:11 camera_cooling_fan_speed: 0.3 12:11 enable_camera_cooling: True 12:11 auto_z_offset_calibration: True 12:11 safe_z: 30 12:11 additional_safe_distance: 50 12:11 is_started_at_temp: False 12:11 is_started: False 12:11 is_fixed: True 12:11 _VAOC
Helge Keck
Helge Keck2mo ago
weird ohhh, one sec
Helge Keck
Helge Keck2mo ago
please include this file in the printer.cfg, clean your console output and start vaoc. it wont move back, so no crahs will happen, but it will print some data to the console. so i need the output
Helge Keck
Helge Keck2mo ago
wait please put this after the file include
[gcode_macro _VAOC]
variable_is_fixed: True
[gcode_macro _VAOC]
variable_is_fixed: True
my bad, sorry no woder it did that
Teo_
Teo_OP2mo ago
The toolheads moves in center of the plate
Helge Keck
Helge Keck2mo ago
nice, now its safe to use this one here and to repeat the test
Helge Keck
Helge Keck2mo ago
sorry again for that but keep this of course after the include
[gcode_macro _VAOC]
variable_is_fixed: True
[gcode_macro _VAOC]
variable_is_fixed: True
do not remove it
Teo_
Teo_OP2mo ago
Still having the offset issue
Teo_
Teo_OP2mo ago
Don’t worry, thanks for your help
Helge Keck
Helge Keck2mo ago
can you outcomment your skew correction and redo the test please
Teo_
Teo_OP2mo ago
It worked 🥳
Helge Keck
Helge Keck2mo ago
now enable the skew correction and try with this one here
Teo_
Teo_OP2mo ago
Works with skew correction enabled too
Helge Keck
Helge Keck2mo ago
yeehaw ok, can you make 2 more tests for me try to start a z-calibration, but hover your finger over the emergency stop button :kekw: and the same for temp offset calibration, you dont need to wait for the actual compensation, just want to know if the toolhead moves to the endstop pin then you can restart klipper
Teo_
Teo_OP2mo ago
how can I slowdown all the movements? 😱
Helge Keck
Helge Keck2mo ago
in the mainsail ui you can set it to 10% there is a speed slider somewhere
Teo_
Teo_OP2mo ago
The Z-Calibration movements are as usual when I calibrate, but after it, I get a spinning button of Z-Calibration
No description
Helge Keck
Helge Keck2mo ago
ok, but the toolhead hits the z-endstop button, right?
Teo_
Teo_OP2mo ago
Yes
Helge Keck
Helge Keck2mo ago
ok, thats all i wanted to know looks like this is sovled, thanks for your help if you encounter any other issues with it please tag me keep the new include until we publish a fix, i will notify you
Teo_
Teo_OP2mo ago
OK, thanks, I try the temp offset now
Helge Keck
Helge Keck2mo ago
actually no need but test it
Teo_
Teo_OP2mo ago
It worked
Nozzle expansion coefficients:
T0 expansion coefficient 0.095312mm
T1 expansion coefficient 0.092812mm
Nozzle expansion coefficients:
T0 expansion coefficient 0.095312mm
T1 expansion coefficient 0.092812mm
(I had to retry because T1 dripped a little during expansion at 250°C)
Helge Keck
Helge Keck2mo ago
well, when doing the temperautre calibration you should unlad the filament with a cold pull and clean the nozzle as described in the documentation but good to see that it works
Teo_
Teo_OP2mo ago
I made a cold pull this morning, but not enough I think
Helge Keck
Helge Keck2mo ago
by hand?
Teo_
Teo_OP2mo ago
No, using something like this: COLD_PULL EXTRUSION_TEMP=230 COLD_PULL_TEMP=85 TOOLHEAD=1 On T0 with PETG and higer temperaturer was fine. On T1 with a matte and fragile PLA I think something is left in the extruder Sunlu matte PLA
Solution
Helge Keck
Helge Keck2mo ago
remove include and update ratos
Want results from more Discord servers?
Add your server