>>> 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

Reply via email to