next up previous contents
Next: Sensor Information Up: Table of Protocols Previous: Connection   Contents


Client Control Commands

from a client to the server Only one per turn
(catch Direction) Yes
Direction ::= -180 180 degrees.
 
(change_view Width Quality) No
Width ::= narrow | normal | wide
Quality ::= high | low
 
(dash Power) Yes
Power ::= -100 100
 
Note: backward dash consumes double stamina.  
(kick Power Direction) Yes
Power ::= 0 100
Direction ::= -180 180 degrees.
 
(move X Y) Yes
X ::= -54 54
Y ::= -32 32
 
(say Message) No
Message ::= a message (See section A.8.)
 
(sense_body) No
The server returns  
( sense_body TIME
  (view_mode {high | low} {narrow | normal | wide})
  (stamina STAMINA EFFORT)
  (speed AMOUNT_OF_SPEED)
  (head_angle HEAD_ANGLE)
  (kick KICK_COUNT)
  (dash DASH_COUNT)
  (turn TURN_COUNT)
  (say SAY_COUNT)
  (turn_neck TURN_NECK_COUNT) )
 
(turn Moment) Yes
Moment ::= -180 180 degrees.
 
(turn_neck ANGLE) Yes
ANGLE ::= -90 90 degrees.
 
turn_neck is relative to to the direction of the body.  
Can be invoked at the same cycle as a turn, dash or kick.  


The server may respond to the above commands with the errors:
(error unknown_command)
(error illegal_command_form)

next up previous contents
Next: Sensor Information Up: Table of Protocols Previous: Connection   Contents
RoboCup SoccerServer Manual Account
1999-07-03