Linuxcnc with Computer Vision …
03 Mar 2021 17:51 #200918
by Hamel2020
Linuxcnc with Computer Vision … was created by Hamel2020
Hi,
As I know there was no enough topics about this subject , but I’m working on idea that ,
We know that the deviation in z direction for plasma cutting can be solved by THC , floating head ..etc , but I’m working on a welding machine , where the deviation on x, and y will be more .
So I used python openCV , to measure this deviation , and I was able to get the difference dimensions in x,y .
But I was not able to update the G-code simultaneously .
Any idea to update the g –code …
As I know there was no enough topics about this subject , but I’m working on idea that ,
We know that the deviation in z direction for plasma cutting can be solved by THC , floating head ..etc , but I’m working on a welding machine , where the deviation on x, and y will be more .
So I used python openCV , to measure this deviation , and I was able to get the difference dimensions in x,y .
But I was not able to update the G-code simultaneously .
Any idea to update the g –code …
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
03 Mar 2021 21:13 - 04 Mar 2021 22:15 #200942
by tommylight
Replied by tommylight on topic Linuxcnc with Computer Vision …
No need to change gcode for that, have a look at external offsets, should be much easier to get to what you need.
linuxcnc.org/docs/2.8/html/motion/external-offsets.html
PlasmaC should be already using external offsets to give you a starting point.
linuxcnc.org/docs/2.8/html/motion/external-offsets.html
PlasmaC should be already using external offsets to give you a starting point.
Last edit: 04 Mar 2021 22:15 by tommylight. Reason: typo
The following user(s) said Thank You: snowgoer540
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2386
- Thank you received: 779
04 Mar 2021 11:16 #201015
by snowgoer540
I swear I replied with essentially this same thing last night. I must have never clicked send then closed the browser without realizing...
Replied by snowgoer540 on topic Linuxcnc with Computer Vision …
No need to change gcode for that, have a loot at external offsets, should be much easier to get to what you need.
linuxcnc.org/docs/2.8/html/motion/external-offsets.html
PlasmaC should be already using external offsets to give you a starting point.
I swear I replied with essentially this same thing last night. I must have never clicked send then closed the browser without realizing...
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
04 Mar 2021 18:19 #201031
by Hamel2020
Replied by Hamel2020 on topic Linuxcnc with Computer Vision …
Hi .. Tom
This is a good advise to start , but as I watched some video , all external offsets was controlled manually , as explained i will use it for a welding machine as a tracking sensor for the welding gap ... still the idea not clear for me how to integrate the feed back from openCV to external offset to effect the motion of x, y simultaneously .
This is a good advise to start , but as I watched some video , all external offsets was controlled manually , as explained i will use it for a welding machine as a tracking sensor for the welding gap ... still the idea not clear for me how to integrate the feed back from openCV to external offset to effect the motion of x, y simultaneously .
Please Log in or Create an account to join the conversation.
04 Mar 2021 18:21 #201032
by Hamel2020
Replied by Hamel2020 on topic Linuxcnc with Computer Vision …
never mind ... thank you
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
04 Mar 2021 22:14 #201062
by tommylight
loot...
Replied by tommylight on topic Linuxcnc with Computer Vision …
Did you make the same typo ???
No need to change gcode for that, have a loot at external offsets, should be much easier to get to what you need.
linuxcnc.org/docs/2.8/html/motion/external-offsets.html
PlasmaC should be already using external offsets to give you a starting point.
I swear I replied with essentially this same thing last night. I must have never clicked send then closed the browser without realizing...
loot...
The following user(s) said Thank You: snowgoer540
Please Log in or Create an account to join the conversation.
- thefabricator03
- Offline
- Platinum Member
Less
More
- Posts: 1130
- Thank you received: 533
24 Mar 2021 10:31 #203502
by thefabricator03
Replied by thefabricator03 on topic Linuxcnc with Computer Vision …
Hamel2020, did you get it to work? If so how successful were you? I plan to do something similar using a THCAD10 as the welding sensor.
Please Log in or Create an account to join the conversation.
25 Mar 2021 01:31 #203563
by Hamel2020
Replied by Hamel2020 on topic Linuxcnc with Computer Vision …
Hi …
Actually I’m still working on it … I was able to read the distance (gap-welding width) between the two plates as the photo , I used the external offset as Tommy advise , but the offset examples in axis is limited specially for sine oscillating motion damping in Z-direction , ( this will be helpful in case of plasma cutting ) but for welding need damping in XY-direction .
Still I need the convert the image reading into a voltage signal to indicate the max_lim and min_lim for the damping oscillating .
I used opencv and python
Actually I’m still working on it … I was able to read the distance (gap-welding width) between the two plates as the photo , I used the external offset as Tommy advise , but the offset examples in axis is limited specially for sine oscillating motion damping in Z-direction , ( this will be helpful in case of plasma cutting ) but for welding need damping in XY-direction .
Still I need the convert the image reading into a voltage signal to indicate the max_lim and min_lim for the damping oscillating .
I used opencv and python
Please Log in or Create an account to join the conversation.
- thefabricator03
- Offline
- Platinum Member
Less
More
- Posts: 1130
- Thank you received: 533
25 Mar 2021 01:33 #203566
by thefabricator03
Replied by thefabricator03 on topic Linuxcnc with Computer Vision …
What kind of camera are you using?
Please Log in or Create an account to join the conversation.
25 Mar 2021 01:39 #203567
by Hamel2020
Replied by Hamel2020 on topic Linuxcnc with Computer Vision …
this one
The following user(s) said Thank You: thefabricator03
Please Log in or Create an account to join the conversation.
Time to create page: 0.111 seconds