ferdi andika pisze: > I have read emc2 source about control.c (motion part), > I assume that emc2 do the interpolation with max accel, max vel.. > > If I'm right, this interpolation doesn't include feed rate of user's > command (F). > How EMC2 control the feedrate of the machine? > Could you show me the algorithm? > Hi,
Calculating vel and acc of move is done before move is added to motion queue, Algorithm is in src/emc/task/emccanon.cc: SET_FEED_RATE() - called when Fnnnn word is interpreted, getStraightVelocity() and getStraightAcceleration() called when new move is added by interpreter (G0..G3). regards, Michael > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > ------------------------------------------------------------------------ > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
