To avoid the divide by zero error I changed the original line in thc and thcud to:
float min_velocity = requested_vel - (requested_vel * (velocity_tol * 0.01)); requested_vel = 100 velocity_tol = 10 min_velocity = 90 90 = 100 - (100 * (10 * 0.01)) I'm not that great with math... when I did some examples of your simplified line it didn't work out for me. min_velocity = requested_vel * velocity_tol / 100 ? = 100 * 10 / 100 ? = 1000 / 100 10 = 10 As for the suggestion to use requested_vel as part of the calculation of correction_vel I don't understand why that is good. IMHO the correction_vel should be as fast as the axis can correct without overshoot no matter what speed your cutting at. Any suggestions on making the description easier to understand are welcome. JT On 7/7/2014 2:09 AM, Marius Alksnys wrote: > I noticed this thread only now. This is my comment to this ticket: > https://sourceforge.net/p/emc/bugs/348/#9b18 > > On 06/27/2014 02:09 PM, Marius Liebenberg wrote: >> Hi Sebastian >> I am busy helping someone with a plasma setup and found that the changes >> that was made prior to the release of 2.6 does not reflect in master. So >> I would expect that it is not in 2.6 either. >> I am referring to a change that I made to the THCUD component. Someone >> else logged the issue but I fixed it and submitted fixed code on the >> issue tracker. >> > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
