>xabsl
Behavior Documentation
>
Index
>Agents
>Symbols
>Basic Behaviors
>Options
>> demo_berlin
>>>
_init
>>>
wait
>>>
stand_up
>>>
cheer
Option demo_berlin
Blocking behavior for the goalie.
State Machine
This browser can't display the SVG file
svg/option_demo_berlin.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
State _init
If that state is active,
>
This enumerated output symbol is set:
head.control_mode
=
head.control_mode.search_for_ball
>
This enumerated output symbol is set:
motion.type
=
motion.type.walk
>
This enumerated output symbol is set:
motion.walk_type
=
motion.walk_type.normal
>
This decimal output symbol is set:
motion.walk_speed.x
=
200
The decision tree:
This browser can't display the SVG file
svg/option_demo_berlin_state__init.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
(
state_time
> 8000
)
{
goto
cheer
;
}
else
{
stay;
}
State wait
If that state is active,
The decision tree:
This browser can't display the SVG file
svg/option_demo_berlin_state_wait.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
(
state_time
> 8000
)
{
goto
_init
;
}
else
{
stay;
}
State stand_up
If that state is active,
>
This enumerated output symbol is set:
motion.type
=
motion.type.stand
The decision tree:
This browser can't display the SVG file
svg/option_demo_berlin_state_stand_up.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
(
state_time
> 500
)
{
goto
wait
;
}
else
{
stay;
}
State cheer
If that state is active,
>
The option
special_action
is executed. Parameters:
special_action.id
=
motion.special_action.cheer_happy2 ;
special_action.mirror
=
false ;
The decision tree:
This browser can't display the SVG file
svg/option_demo_berlin_state_cheer.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
(
state_time
> 12000
)
{
goto
stand_up
;
}
else
{
stay;
}