I'll sum the requirement: Basically, all we want is to hook planner internal variable into axis output. planner_heading_in_XY_plane > axis_A | filter possible angle limits
The main obstacle here: Is the "heading angle at current point" tappable at current EMC2 version? On Tue, Jan 27, 2009 at 9:33 PM, Eric H. Johnson <ejohn...@camalytics.com> wrote: > Sebastian, > >>> If you treat the knife rotation as a proper axis (controlled by the emc2 > motion planner), then you'd program the angle along with the rest of your > G-code. << > > I considered that, and maybe I am missing something, but I see how to do > that for G1 commands, G0 doesn't matter, but I don't see how to do it for G2 > / G3 commands. > >>> It might be simpler to use the X and Y velocity estimate and some HAL > glue to compute the current motion angle, and output that to the motor > controlling the knife angle, without > involving the higher layers. << > >>> If you have encoders on X and Y, i think the velocity estimate is what > you're after here. << > > Good point, I should have thought of that. > >>> The first choice you have to make is if the knife angle is in the G-code > (as you desribe here) or computed dynamically while the program runs (as > you've described elsewhere). << > > Yes, that part becomes trivial if done in code. > > Regards, > Eric > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers