>xabsl
Behavior Documentation
>
Index
>Agents
>Symbols
>Basic Behaviors
>Options
>> execute_pass
>>>
decide
>>>
receiver
>>>
kick
>>>
after_kick
>>>
finished
Option execute_pass
Parameters of that option:
Parameter
Type
Measure
Range
Description
execute_pass.sender
boolean
true/ false
State Machine
This browser can't display the SVG file
svg/option_execute_pass.svg
.
The
Adobe SVG Viewer 3.0
can be downloaded from
http://www.adobe.com/svg/viewer/install/main.html
State decide
If that state is active,
The decision tree:
This browser can't display the SVG file
svg/option_execute_pass_state_decide.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
(
@
execute_pass.sender
)
{
goto
kick
;
}
else
{
goto
receiver
;
}
State receiver
If that state is active,
>
This enumerated output symbol is set:
head.control_mode
=
head.control_mode.search_for_ball
>
The option
special_action
is executed. Parameters:
special_action.id
=
motion.special_action.block ;
The decision tree:
This browser can't display the SVG file
svg/option_execute_pass_state_receiver.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
> 3000
)
{
goto
finished
;
}
else
{
stay;
}
State kick
If that state is active,
>
This boolean output symbol is set:
strategy.ball_is_grabbed
=
true
>
This enumerated output symbol is set:
head.control_mode
=
head.control_mode.search_for_ball
>
The option
special_action
is executed. Parameters:
special_action.id
=
motion.special_action.ddd_head_bash ;
The decision tree:
This browser can't display the SVG file
svg/option_execute_pass_state_kick.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
(
action_done
)
{
goto
after_kick
;
}
else
{
stay;
}
State after_kick
If that state is active,
>
This boolean output symbol is set:
strategy.ball_is_grabbed
=
false
>
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.stand
The decision tree:
This browser can't display the SVG file
svg/option_execute_pass_state_after_kick.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
> 4000
)
{
goto
finished
;
}
else
{
stay;
}
State finished
This state is a target state.
If that state is active,
>
This boolean output symbol is set:
strategy.ball_is_grabbed
=
false
>
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.stand
The decision tree:
This browser can't display the SVG file
svg/option_execute_pass_state_finished.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:
stay;