On 01/18/2012 12:41 PM, Lars Andersson wrote: > This immediately gives a "joint 3 following error" even for a very small > change. > > Can I work around this?
The problem appears to be, as someone pointed out, that changing the scale factor also causes a step in the output due to a multiplying the (possibly large) position by a different scale. One answer would be to create a real-time hal component, into which you would feed the position and the desired scale factor. I'd have to think about this to be sure but this is probably close: when the scale factor changes, the component would (from then on) subtract from the output the value of -current_output * (new_scale_factor - old_scale_factor) so there is never a step in the output when changing scale. Karl ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users