From: Ryan D. <ry...@iw...> - 2000-03-07 09:14:27
|
OK ...I was using angles instead of radians :) ..I got that fixed. Thanks. Also, I had: while( 1 ) { printf( "RotateAmount 1 9.0 %f\n", ( 45.0 * ( 3.141593 / 180 ) ) ); sleep( 10 ); } ..I didn't realize that my robot wasn't sleeping. :) Now I seem to be having another problem. I have my robot set to print all the messages I get from the server starting with G to the messages window, and I'm getting the GameStarts message ..but I don't seem to be getting the GameFinishes message. Then when the fist game ends and the second begins ..I stop getting messages all together. Am I doing something wrong ? Any help is appreciated. Thanks, Ryan Daniels On Mon, 06 Mar 2000, you wrote: >On Mon, 6 Mar 2000, Ryan Daniels wrote: > >> >> I can't get my robot to stop rotating. >> >> I have: >> >> printf( "RobotOption %d %d\n", SEND_ROTATION_REACHED, 1 ); >> and I'm using the RotateAmount message to begin rotation. >> >> ..but I never receive any RotationReached messages. >> >> Should the robot stop rotation on its own, or do I make >> it stop manually when a RotationReached message is sent ? >> > >The robot should stop rotating by itself, so I don't know what is >wrong. Has anybody else had problems with this? > > >Note that radians is used, not degrees. > > >/Erik > > >_______________________________________________ >Realtimebattle-discussion mailing list >Rea...@li... >http://lists.sourceforge.net/mailman/listinfo/realtimebattle-discussion |