Search the web
Sign In
New User? Sign Up
robocupsimulationclub · RoboCup Simulation Club - The First RoboCup Simulation Club in Yahoo!
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Normalization of an angle   Message List  
Reply | Forward Message #19 of 203 |
Hi guys and Merry Cristmas.
I am a final year student in Computer Science and my final project is
to develop a soccer team for Robocup.
I am currently working on buibing the skills of a player and I am
mostly using the code of the UVA Robocup team..
I would like to ask if anyone knows why do we have to normalize
angles in the form of the code;
AngDeg VecPosition::normalizeAngle( AngDeg angle )
{
while( angle > 180.0 ) angle -= 360.0;
while( angle < -180.0 ) angle += 360.0;

return ( angle );
}
The AngDeg angle is the angle derived after subtracting the absolute
direction of the player form the direction of the ball.
If anyone knows antything relative I would be grateful.
THanks in advance and have a nice holiday!!




Wed Dec 25, 2002 5:43 pm

vras_iko
Offline Offline
Send Email Send Email

Forward
Message #19 of 203 |
Expand Messages Author Sort by Date

Hi guys and Merry Cristmas. I am a final year student in Computer Science and my final project is to develop a soccer team for Robocup. I am currently working...
vras_iko <vras_iko@...>
vras_iko
Offline Send Email
Dec 25, 2002
5:43 pm

Hi may be i'm answering u very late, but i'm new to the group. the normalization is to limit the angles between -180 and 180. this is useful in comparisons ...
Masoud Asadpour
asadpur
Offline Send Email
Jul 18, 2003
2:29 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help