eurler angles

"joseoomartin" <[email protected]> Thu, 29 Jul 2004 18:35:05 -0000
Newsgroups gmane.comp.cybernetics.webot.contest
Message-ID <[email protected]>
Hi all, can anybody help ?

The euler angles does not work for me...
 
i am using it in this manner :
 
 matrix = gps_get_matrix(gps);
 euler_vector= eulerAngles(matrix);
 phiX =euler_vector[0];
 phiY =euler_vector[1];
 phiZ =euler_vector[2];
 tilt = (float)Math.sqrt(Math.pow(phiX,2) + Math.pow(phiZ,2));    
 System.out.println("Inclinacion "+tilt+ " Valor X: "+ phiX + " Valor 
Z: "+phiZ);
 
But always including the robot on the floor, Tilt = 0  , phiX -0 , 
phiZ =0 , ... Why ???
 
Thanks....
Gladiator...





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/pU_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/webots-contest/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/