Connection: Add 'move' attribute to the negotiation phase

This commit is contained in:
Petr Baudis 2011-11-27 05:07:01 +01:00
parent 9cf99e0bcd
commit 2907cb6791
4 changed files with 25 additions and 1 deletions

10
README
View file

@ -46,3 +46,13 @@ The following outputs are supported:
attack_dir <x> <y>
<x> and <y> are integer offsets relative
to the current position; may be just {-1,0,1}
After connecting, the client specifies its desired attributes,
in the same format as in normal output (line-based, terminated
by empty line), but with these commands instead:
move <rate>
<rate> between 0 and 1, describing probability
of success of move command. Higher probability
means higher energy maintenance of move actuators.