cam_align in Axis

More
3 years 7 months ago #266758 by robertspark
Replied by robertspark on topic cam_align in Axis
Glad you got it sorted :)
The following user(s) said Thank You: my1987toyota

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

More
3 years 7 months ago - 3 years 7 months ago #266868 by my1987toyota
Replied by my1987toyota on topic cam_align in Axis
how do I edit the cam_view widget. I can do the
Code:
-o size=400,400 -o rotincr=0. -o camnumber=0 cam_align in 2.9 but in 2.8 all I get are errors saying -o is not an option.
Last edit: 3 years 7 months ago by my1987toyota.

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

More
3 years 7 months ago #266916 by cmorley
Replied by cmorley on topic cam_align in Axis
Are you using an installed version? If so the problem is your changes could be overwritten when you update (but you still can do it)
If you are planning on doing more customization, you might want to switch to a RIP version of linuxcnc.

In the case of the 'o' option, it also requires changes to Qtvcp.py to accommodate it.
The following user(s) said Thank You: my1987toyota

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

More
2 years 9 months ago #290952 by joneb
Replied by joneb on topic cam_align in Axis
Hi There I've been trying to get cam_align working following the instructions in the link below on bookworm and linuxcnc 2.9.2
I've got the camera working but can't work out which files I need to put the code in can anyone point me to where i might find this information
Regards
John

www.google.com/url?sa=t&source=web&rct=j...UTuDhDgAUdIWcdy9ZFgL
 

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

More
2 years 9 months ago #290989 by cmorley
Replied by cmorley on topic cam_align in Axis
Fixing the not round holes - look here:
forum.linuxcnc.org/qtvcp/51151-camera-configuration?start=0
Those file changes will be in 2.9.3 release if you want to wait.

Recalling the adjustments on startup would require custom python code - a file change - to get qtvcp to save the info

MDI commands for Qtvcp go in the INI under the heading [MDI_COMMAND_LIST]
Here is a sample that also shows how to add labels

[MDI_COMMAND_LIST]
# for macro buttons
MDI_COMMAND = G0 Z25;X0 Y0;Z0, Goto\nUser\nZero
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMachn\nZero

explained here, look for ini_mdi_number option:
linuxcnc.org/docs/stable/html/gui/qtvcp-...widgets:actionbutton

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

More
2 years 9 months ago - 2 years 9 months ago #290990 by cmorley
Replied by cmorley on topic cam_align in Axis
you can adjust the camera window size shown in AXIS using a -o options in the INI.
it may help with the oval holes.

instead of:
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align

try:
EMBED_TAB_COMMAND= halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} -o size=500x500 cam_align

You can adjust the 500x500 to change the size/aspect of the window.
Last edit: 2 years 9 months ago by cmorley.

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

Moderators: cmorley
Time to create page: 0.127 seconds
Powered by Kunena Forum