[ODE] Patch to optimize the angles calculation of Universal joint
LR
logreg at free.fr
Thu Apr 27 14:36:35 MST 2006
Hi,
Do you think you can code the dJointGetHinge2Angle2 function ? Or
Codeing the getHing2Angles ?
Laurent.
-----Message d'origine-----
De : ode-bounces at q12.org [mailto:ode-bounces at q12.org] De la part de Remi
Ricard
Envoyé : jeudi 27 avril 2006 19:44
À : ODE Mailing List (E-mail)
Objet : [ODE] Patch to optimize the angles calculation of Universal joint
Hi,
This is patch optimize the way to get both angles for the Universal joint.
Instead of calling getUniversalAngle1 and getUniversalAngle2 and doing some
redundant stuff I added the function getUniversalAngles(j, angle1, angle2).
I did some testing and the function universalGetInfo1 using the
getUniversalAngles to find both angles is 23% faster.
The patch is done againts latest svn trunk (2006/04/27).
I submitted the patch on the sourceforge website.
I'm only posting this here to let the developer with svn acces know that
there is a new patch.
The patch is produced with:
svn diff >> ../add_getUniversalAngles.patch
Description:
Add a function optimizing the calculation of both angles of the universal
joint.
Remi
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list