Camera For Touchoff

More
21 Sep 2020 02:22 #183025 by phillc54
Replied by phillc54 on topic Camera For Touchoff

I don't think Victorians even drink Fosters do they?


You make me laugh. I'm giving up beer and drinking whiskey from here on!

Now that sounds like a plan. Hmmm the sun is over the yard arm, time for whiskey. ;)
The following user(s) said Thank You: thefabricator03

Please Log in or Create an account to join the conversation.

More
21 Sep 2020 11:45 #183120 by Franklin
Replied by Franklin on topic Camera For Touchoff
Phill, you are a magician!
I wonder, if the auto edge detection that Rod reminded about might work as the scan function like Scanything?

Often the customer asks to make a duplicate of his part, and it would be great to draw the outline the object on paper and scan it on a plasma machine.
The following user(s) said Thank You: aleksamc, Methier

Please Log in or Create an account to join the conversation.

More
29 Sep 2020 20:12 - 29 Sep 2020 20:15 #184324 by web123456
Replied by web123456 on topic Camera For Touchoff
Hello ! tell me how to install on LinuxCNC 2.9.0 Debian 7 Wheezy RTAI Camera For Touchoff .Embeded tab command "halcmd loadusr -Wn camera qtvcp -c camera -x 67109040 cam_align" exited with error: 1
Shutting down and cleaning up LinuxCNC...
task: 130 cycles, min=0.000249, max=0.058097, avg=0.009465, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Last edit: 29 Sep 2020 20:15 by web123456.

Please Log in or Create an account to join the conversation.

More
29 Sep 2020 23:10 #184336 by phillc54
Replied by phillc54 on topic Camera For Touchoff
You probably need to ask that question in the Qtvcp section of the forum.

forum.linuxcnc.org/qtvcp

Please Log in or Create an account to join the conversation.

More
30 Sep 2020 05:35 #184352 by cmorley
Replied by cmorley on topic Camera For Touchoff
Try:
halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 07:13 #217184 by partec
Replied by partec on topic Camera For Touchoff
as phillc54's cam_align_handler.py named ..._2020-09-18.py still works fine in buster LCNC 2.8.0  there it does not work anymore in buster LCNC 2.8.2 

File Attachment:

File Name: linuxcnc_info.txt
File Size:4 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 07:27 - 08 Aug 2021 07:29 #217186 by phillc54
Replied by phillc54 on topic Camera For Touchoff
I haven't looked at this code for a long time...

The error is here:
File "/home/eruepe/linuxcnc/configs/PAR_ISEL/cam_align_handler.py", line 88, in nextFrame
self.pin_.set(360 - self.w.camview.rotation)
AttributeError: HandlerClass instance has no attribute 'pin_'

I cannot see that piece of code in the file posted here whcih I think is the latest:
forum.linuxcnc.org/plasmac/40057-camera-...choff?start=0#182507

Are you sure this is what you are using?
Last edit: 08 Aug 2021 07:29 by phillc54.
The following user(s) said Thank You: partec

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 07:57 #217190 by partec
Replied by partec on topic Camera For Touchoff
thank you so much - just now, when I test with your named cam_align_handler.py file here, this loads and works in LCNC 2.8.2 as expected! 
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 08:22 #217192 by partec
Replied by partec on topic Camera For Touchoff
Phill, may I ask, can you just publish the appropriate cam_align.ui file here, please?

Please Log in or Create an account to join the conversation.

More
08 Aug 2021 08:24 - 08 Aug 2021 08:34 #217193 by phillc54
Replied by phillc54 on topic Camera For Touchoff
The one in my previous post is the latest as far as I know.

Edit:
I think I misunderstood, you wanted the .ui file.
It doesn't use a .ui file, it uses the standard QtVCP camview widget. the source is here:
github.com/LinuxCNC/linuxcnc/blob/2.8/li...ts/camview_widget.py

 
Last edit: 08 Aug 2021 08:34 by phillc54.
The following user(s) said Thank You: partec

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.832 seconds
Powered by Kunena Forum