Camera For Touchoff

More
6 years 1 month ago #183025 by phillc54
Replied by phillc54 on topic Camera For Touchoff

rodw wrote:

phillc54 wrote: 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. ;)

Please Log in to join the conversation.

More
6 years 1 month ago #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.

Please Log in to join the conversation.

More
6 years 1 month ago #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

Please Log in to join the conversation.

More
6 years 1 month ago #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 to join the conversation.

More
6 years 1 month ago #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 to join the conversation.

More
5 years 2 months ago #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 

Attachment not found

Please Log in to join the conversation.

More
5 years 2 months ago #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:
Code:
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?

Please Log in to join the conversation.

More
5 years 2 months ago #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! 

Please Log in to join the conversation.

More
5 years 2 months ago #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 to join the conversation.

More
5 years 2 months ago #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

 

Please Log in to join the conversation.

Time to create page: 0.176 seconds
Powered by Kunena Forum