On 4 January 2013 14:58, Lisandro Massera <[email protected]> wrote:

> I attach the git diff file. I would appreciate if someone would check it 
> before (someone with the power) pushes it into the main branch.

I think that velmag should already be the absolute value, as it is
returned from pmCartMag and calcualted as the sum of a number of
square roots.
So I don't think you need this one:
if (fabs(emcmotDebug->teleop_data.desiredVel.a) > velmag) {

But you might well require this one:
 velmag = fabs(emcmotDebug->teleop_data.desiredVel.a);


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to