Re: [Emc-users] synchronized axes.
option 3) differentiate the output from above with ddt and feed it to the needle spindle as a velocity command. might be slightly less accurate than 2 but you won't need to do silly hacks to prevent counter overflow. 3A) differentiate the X and Y positions _before_ the hypot, then send the X and Y velocities to the hypot. The hypot is the vector velocity, which is the required spindle velocity (scaled as needed). Other than that, I agree that 3 is the way to go. I just noticed that there's a HAL parameter that does this already: motion.current-vel maybe it should be a pin instead - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Comp Errors
I did a fresh install of the Ubuntu 6.06 Live CD, did an update, then installed emc2-dev. I copied xor2.comp to my home directory: xor2.comp component xor2 Two-input XOR (exclusive OR) gate; pin in bit in0; pin in bit in1; pin out bit out; function _ nofp; license GPL; 007 ;; FUNCTION(_) { if (( in0 !in1 ) || ( in1 !in0 )) { out = 1; } else { out = 0; } } xor2.comp and ran comp xor2.comp which I believe should return an xor2.c file. I got the following instead: ... [EMAIL PROTECTED]:~$ comp xor2.comp Traceback (most recent call last): File /usr/bin/comp, line 678, in ? main() File /usr/bin/comp, line 666, in main process(f, mode, outfile) File /usr/bin/comp, line 600, in process a, b = f.split(\n;;\n, 1) ValueError: need more than 1 value to unpack [EMAIL PROTECTED]:~$ ... Any ideas on what to do next would be appreciated. Thanks Kirk Wallace - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Comp Errors
Ops. My mistake. 007 is a line number I failed to delete. Now I get: ... [EMAIL PROTECTED]:~$ comp xor2.comp xor2.comp:6:1: Trying to find one of $, component, pin, param, function , option component xor2 Two-input XOR (exclusive OR) gate; ^ while parsing File(): [EMAIL PROTECTED]:~$ ... Kirk ~~~ On Sun, 2007-08-26 at 15:41 -0500, Jeff Epler wrote: 007 ;; The ;; must be on a line of its own with no extra characters including white space or control characters -- I'm not sure how agent 007 got in there, but he's the one causing the problem. Jeff - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users