>xabsl 2
Behavior Documentation
>
Index
>Agents
>Symbols
>Basic Behaviors
>Options
>> set-before-own-kickoff
>>>
initial
>>>
stand
>>>
stand-for-dash
Option set-before-own-kickoff
Gamestate set with own kickoff
State Machine
This browser can't display the SVG file
svg/option_set-before-own-kickoff.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
State initial
If that state is active,
>
The basic behavior
stand
is executed.
>
These output symbols are set:
head-control-mode
=
head-control-mode.search-auto
The decision tree:
This browser can't display the SVG file
svg/option_set-before-own-kickoff_state_initial.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
Pseudo code of the decision tree:
if
(
robot-number
== 3
)
// robot number is three
{
transition-to-state(
stand-for-dash
);
}
else
{
transition-to-state(
stand
);
}
State stand
If that state is active,
>
The basic behavior
stand
is executed.
>
These output symbols are set:
head-control-mode
=
head-control-mode.search-auto
The decision tree:
This browser can't display the SVG file
svg/option_set-before-own-kickoff_state_stand.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
Pseudo code of the decision tree:
transition-to-state(
stand
);
State stand-for-dash
If that state is active,
>
The basic behavior
walk
is executed. Parameters:
walk.type
=
walk-type.normal
;
walk.speed-x
=
0 ;
walk.speed-y
=
0 ;
walk.rotation-speed
=
0 ;
>
These output symbols are set:
head-control-mode
=
head-control-mode.search-auto
The decision tree:
This browser can't display the SVG file
svg/option_set-before-own-kickoff_state_stand-for-dash.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
Pseudo code of the decision tree:
transition-to-state(
stand-for-dash
);