Option stand-and-display-robot-number

The initial behavior of the robots. Stand and display the robots number with all the face leds.

State Machine

This browser can't display the SVG file svg/option_stand-and-display-robot-number.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html

State display-one

If that state is active,
 >  The basic behavior stand is executed.
 
 >  These output symbols are set:
 
    leds.face8  =  face8.oooo
    leds.face10  =  face10.oooo
    leds.face11  =  face11.llll
    leds.face9  =  face9.oooo
    leds.face7  =  face7.oooo
 
The decision tree:
  This browser can't display the SVG file svg/option_stand-and-display-robot-number_state_display-one.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 == 1)   // robot number is one
{
  
transition-to-state(display-one);
}
else if (robot-number == 2)   // robot number is two
{
  
transition-to-state(display-two);
}
else if (robot-number == 3)   // robot number is three
{
  
transition-to-state(display-three);
}
else if (robot-number == 4)   // robot number is four
{
  
transition-to-state(display-four);
}
else
{
  
transition-to-state(display-one);
}

State display-two

If that state is active,
 >  The basic behavior stand is executed.
 
 >  These output symbols are set:
 
    leds.face8  =  face8.llll
    leds.face10  =  face10.oooo
    leds.face11  =  face11.oooo
    leds.face9  =  face9.oooo
    leds.face7  =  face7.llll
 
The decision tree:
  This browser can't display the SVG file svg/option_stand-and-display-robot-number_state_display-two.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 == 1)   // robot number is one
{
  
transition-to-state(display-one);
}
else if (robot-number == 2)   // robot number is two
{
  
transition-to-state(display-two);
}
else if (robot-number == 3)   // robot number is three
{
  
transition-to-state(display-three);
}
else if (robot-number == 4)   // robot number is four
{
  
transition-to-state(display-four);
}
else
{
  
transition-to-state(display-two);
}

State display-three

If that state is active,
 >  The basic behavior stand is executed.
 
 >  These output symbols are set:
 
    leds.face8  =  face8.llll
    leds.face10  =  face10.oooo
    leds.face11  =  face11.llll
    leds.face9  =  face9.oooo
    leds.face7  =  face7.llll
 
The decision tree:
  This browser can't display the SVG file svg/option_stand-and-display-robot-number_state_display-three.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 == 1)   // robot number is one
{
  
transition-to-state(display-one);
}
else if (robot-number == 2)   // robot number is two
{
  
transition-to-state(display-two);
}
else if (robot-number == 3)   // robot number is three
{
  
transition-to-state(display-three);
}
else if (robot-number == 4)   // robot number is four
{
  
transition-to-state(display-four);
}
else
{
  
transition-to-state(display-three);
}

State display-four

If that state is active,
 >  The basic behavior stand is executed.
 
 >  These output symbols are set:
 
    leds.face8  =  face8.llll
    leds.face10  =  face10.llll
    leds.face11  =  face11.oooo
    leds.face9  =  face9.llll
    leds.face7  =  face7.llll
 
The decision tree:
  This browser can't display the SVG file svg/option_stand-and-display-robot-number_state_display-four.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 == 1)   // robot number is one
{
  
transition-to-state(display-one);
}
else if (robot-number == 2)   // robot number is two
{
  
transition-to-state(display-two);
}
else if (robot-number == 3)   // robot number is three
{
  
transition-to-state(display-three);
}
else if (robot-number == 4)   // robot number is four
{
  
transition-to-state(display-four);
}
else
{
  
transition-to-state(display-four);
}