Luban
Luban copied to clipboard
Bug: camera capture incorrect 10W laser
🐞 bug report
Affected Version(s)
The issue is caused by version 4.3.1Is this a regression? (optional)
Yes, the previous version in which this bug was not present was: the version before this oneTo Reproduce
Steps to reproduce the behavior:
- Go to camera capture, image is taken but it is blurry/low quality
- Align cutting lines to image
- Generate GCode and preview, looks correct
- Send to workspace, run via Luban
The lines cut far off from my alignment via camera capture. Additionally, when the job is finished the work plate stops all the way in the back.
The camera capture alignment was working so perfectly in the previous version. I restarted Luban and the laser, loaded all my files again but it did not change the behavior.
🌍 Your Environment
Platform:
- Operating System: Windows 10
Snapmaker A350, 10W laser
From the first picture you provided, the background picture is very obviously skewed; would like to confirm that you have done the following steps.
- the camera calibration process is done correctly on the screen side
- whether the luban control has been calibrated after taking pictures
If the above two steps are not done will lead to significant differences in the position of your printed images
OK, I redid my camera calibration (note: this process was working properly just a couple of weeks ago) and am getting the same kinds of issues. Are the images captured by the camera supposed to be so poor quality? Even the calibration image is so bad I can hardly tell where the lines actually are.
If you zoom in on this image and try to align the lines they are almost impossible to see properly. (In addition, attempting to use a mouse to move the corners tiny amounts is extremely frustrating and difficult!)
After a second camera calibration on the touch screen and via Luban, I did a test cut where I used Luban's own shape tool on the calibration page that had been cut. Luban's vision:
This is how it cut.
Based on your feedback, we have overridden your steps to.
- walked through the camera calibration at the screen
- luban wifi connection for camera capture
- calibrated the photo and applied
- then added a rectangle to the background image for cutting test
The phenomenon is as follows: add the location of the rectangle
The actual cut out of the finished position
Everything looks normal
You are expected to confirm that
- you have clicked the apply button after luban calibration
- the paper has not been moved from its position on the machine after taking the picture
- I did click the 'apply' button for sure
- I did not move the paper
- I did this test before when I first installed the 10w laser to do the calibration and it was perfect
I wish to note that this feature WAS working for me in a previous version of Luban. I was using camera capture to cut letters out of wooden craft sticks, which are only 1.5mm wide.
I decided to take video just to make sure I was doing everything correctly and got a different problem: camera capture would not respond. Here is the Video:
https://youtu.be/LLdd0h4wqsw
After restarting the laser and Luban I was able to finish the fresh calibration and cut another test square. The paper was never touched.
Video: https://youtu.be/HZh7-5eV4EU
Sorry for all the comments! But I got more information. I decided to try another experiment. I noticed that the square I cut seemed to be smaller than the one I had on the screen. I made a new document in CorelDrawx8, 8.5x11" (215.9x279.4mm). Rows of circles. I printed the document actual size on my printer and placed on the laser. I used the same file in SVG to cut out the circles.
Note: The captured image does not appear to be centered.
Test1:
The file imports looking larger than the captured camera image.
I was unable to get a perfect alignment between the file and the paper. I sized the file until it lined up as much as possible with the camera image. My paper was very straight on the laser bed, I used a ruler to check it.
The cut was completely off:
Test 2:
Placed another printed paper file on the laser bed. This time I did not resize the file in Luban to line it up, I visually centered it as best as I could with the Camera Capture image:
The cut result was MUCH better:
Conclusion: the camera capture image is showing the wrong size for the image in Luban.
After restarting the laser and Luban I was able to finish the fresh calibration and cut another test square. The paper was never touched.
Video: https://youtu.be/HZh7-5eV4EU
Thank you for your feedback, we will try to reproduce it as soon as possible according to the operation you provide
We have been able to reproduce your feedback problem, the reason is that the height of the executive head has become high, not the default photo height, from the video you sent over, your executive head height should be installed incorrectly
The video you sent shows the installation position as follows.
The correct installation position should be
Please check it, hope to help you
Mine looks right to me. Also, The camera capture WAS working properly before. Better than it ever did before with the 1.6w laser. I used the camera capture to cut some very small items with accuracy.
Is it possible something is wrong with my camera?
I hope you according to the following steps to go through, if the following steps to go through the failure to help you, please contact the aftermarket to change a laser head
- Please upgrade the screen firmware to the latest version
- Connect the luban with a serial cable
- In the console, enter M502 first, then M500
- reboot the A350 machine
- Go through the guide process again
- use luban to do the camera capture
- My firmware shows as Snapmaker2_V1.14.2_20220113 and says this is the latest version when prompted to look for an update. Is this correct?
- I am waiting for a long cable to arrive by mail because my computer and laser cannot reach each other.
Yes, the latest firmware version is Snapmaker2_V1.14.2_20220113 , so you can start from the second step .
Today I followed steps 2-6.
My align image was extremely skewed:
I did the alignment via Luban but the process is extremely difficult and frustrating to do accurately.
I took a new image capture of the camera test and I noticed right away that the whole laser bed does not appear in the Image Capture I took:
However! After trying the cut square it was accurate! I was so happy! This is so much better than what happened before.
This has not fixed my issue though. I tested another image.
You can see the top does not align. The center does:
(also, the image quality on this camera is really terrible. Really terrible.)
I made a new file that would be easier to test and took this camera capture:
As you can see, this time the camera captured the entire laser bed. However, it is still smaller than the exact file I made to cut it. Restarting the machine did not alter this outcome. I aligned the cut file with my own center mark on the image capture and got this result:
Either my camera is giving a warped view of the laser or the calibration is not working properly?
I had a different but possibly related weird thing happen, the circles on the Cicada test file did not cut well. Could this all be related to a faulty linear module?
You can obviously see that your first photo distance is correct, after cutting the distance of the photo again became far away, so it will lead to printing deviations; the following is a luban test package, I hope it can help you. https://github.com/parachvte/Luban/releases/download/v4.3.2-alpha.2/Snapmaker-Luban-4.3.2-win-x64.exe
I tried the test package with a couple of files and it seems to be working much better now! I cut a couple of squares that came out properly, then I also redid the camera calibration just to make sure. So far it looks like it's doing well, I will do another test tomorrow. Thank you so much for all of your help! I will let you know how the test goes tomorrow.
I too have been running into a similar issue. I noticed that upon selecting 'Add Background' for the initial scan, the laser goes to the normal X/Y centered position above the work surface, however the Z axis is maxed out, causing the work bed image to be smaller than the work bed itself. A subsequent scan causes the Z axis to lower slightly which ‘mostly’ brings the work bed image into the full frame, however the left side of the scan is not quite to the edge of the work bed. Attached are the images for both the initial and subsequent background image captures.
Although the image looks better in the sense that the work bed covers most of the drawing area, there is still a sliver on the left that is not to the edge. Furthermore, when I took scans of the wood in the appropriate corners, some of the image was cut off, which also indicates that the scanned area is not calibrated to the dimensions of the work bed. I'll try and provide additional images with a future edit.
I then proceeded to test engrave some rectangles in the four corners and the center of the work bed by tracing the lines to match the picture of the scan. The center rectangle was spot on. At each of the corners however, the etched rectangles were set outside (both on the X and Y axis) from each of the rectangles drawn on the test board.
I have re-calibrated the actual camera with the cut paper several times, as well as ensured the image calibration was accurate prior to each image being added as a background.
The rectangles were placed as closely to their respective corners as I could get, but it did require me to rotate the test board to do so. The arrow in each box represents the font of the work bed. The individual rectangles are labeled UR/UL/LR/LL/CEN for Upper Right/Upper Left/Lower Right/Lower Left/Center.
The tool head is attached to the correct anchor points, and the calibration on all settings has been performed with no issues. I have the latest firmware and Luban software. I don’t know if there’s something else I’m not doing (or doing wrong), but I find it frustrating that the camera calibration can’t adjust for the work bed itself. Also, why does it take two separate steps to get a valid image and not center the camera at the correct height on the first iteration?
Suggest: Try printing this file, place on laser bed. Use Camera Capture to take its picture, then load the SVG into Luban and see how it cuts. Then you may see the same issue we are having. (the tiny circle is the exact center of the file)
I am still having issues. The camera quality on this 10w laser head is so bad. I'm starting to regret it. the 1.6w laser took much better photos. Would it be possible to have the camera capture done the same way as the 1.6w laser, where it takes saveral images and then 'stitches' them together? I know it took longer but the camera quality is so bad I can't even tell what I'm trying to cut. :(
There should not be such a large positional deviation in practice. We judge that there is a high probability that it will be a problem with the camera. We will do a verification test on multiple 10W laser heads in these two days. Luban will add more precise calibration if necessary
In testing, the largest deviation we encountered was around 1mm.It looks like everyone's end result is worse than this one.
We will schedule a more advanced and precise calibration in Luban, which may lead to a more complex process to achieve a higher accuracy calibration.
@Galindorf There are two possibilities for the "no round" problem. One is that the workpiece may not be clamped, and an engraving test after clamping the workpiece can verify this problem. The other is that the linear module may be faulty, this needs to contact after-sales support.This also brings problems with Camera Capture
Hi, I'm running v4.3.2 on MacOS 11.6.8 and have the same camera issues. I know everyone is still having the problem (I assume) but just checking if there is any updates. Thanks!
I've decided to chime in as well. My camera captures have been hella blurry from day 1, and my focus is far from what others get, weirdly enough (31.7mm). Same issues as others have stated -- Lines do not match up, and with perfect aligning, there's weird skewing issue as demonstrated above.
The only difference is, I'm running 1.6W laser.
This issue has expired, please reopen an issue if necessary
I have the same issue was this ever solved?