Acme-RTB
view release on metacpan or search on metacpan
=head3 Collision [colliding object type (int)] [angle relative robot (double)]
When a robot hits (or is hit by) something it gets this message. In the file Messagetypes.h you can find a list of the object types. You get the angle from where the collision occurred (the angle relative the robot) and the type of object hitting you...
=head3 Warning [warning type (int)] [message (string)]
A warning message can be sent when robot has to be notified on different problems which have occured. Currently seven different warning messages can be sent, namely
UNKNOWN_MESSAGE: The server received a message it couldn't recognize.
PROCESS_TIME_LOW: The CPU usage has reached the CPU warning percentage. Only in competition-mode.
MESSAGE_SENT_IN_ILLEGAL_STATE: The message received couldn't be handled in this state of the program. For example Rotate is sent before the game has started.
UNKNOWN_OPTION: The robot sent a robot option with either illegal option name or illegal argument to that option.
OBSOLETE_KEYWORD: The keyword sent is obsolete and should not be used any more, see the ChangeLog file for information on what to use instead.
NAME_NOT_GIVEN: The robot has not sent its name before the game begins. This happens if the robot startup time is too short or the robot does not send its name early enough.
COLOUR_NOT_GIVEN: The robot has not sent its colour before the game begins.
( run in 0.414 second using v1.01-cache-2.11-cpan-709fd43a63f )