From abf70e8b65d4f8525a0722ec651c1615816a9e9b Mon Sep 17 00:00:00 2001
From: Abbe <abbe.ahmed-khalifa@telecom-sudparis.eu>
Date: Mon, 13 Jan 2020 22:38:03 +0100
Subject: [PATCH] Model 13/01

---
 executablecode/generated_src/Color.c      |    4 +-
 executablecode/generated_src/Contact.c    |   10 +-
 executablecode/generated_src/Controller.c |   81 +-
 executablecode/generated_src/Motor1.c     |    7 +-
 executablecode/generated_src/Motor2.c     |    7 +-
 executablecode/generated_src/Sonar.c      |    4 +-
 executablecode/generated_src/main.c       |   27 +-
 modeling/AVATAR/ev3/Bot_EV3.xml           | 4985 +++++++++++----------
 8 files changed, 2668 insertions(+), 2457 deletions(-)

diff --git a/executablecode/generated_src/Color.c b/executablecode/generated_src/Color.c
index bffb268fc7..574863f2ce 100644
--- a/executablecode/generated_src/Color.c
+++ b/executablecode/generated_src/Color.c
@@ -56,7 +56,7 @@ void *mainFunc__Color(void *arg){
       
       case STATE__WAIT_FOR_READY: 
       traceStateEntering(__myname, "WAIT_FOR_READY");
-      makeNewRequest(&__req0, 1539, RECEIVE_SYNC_REQUEST, 0, 0, 0, 0, __params0);
+      makeNewRequest(&__req0, 2647, RECEIVE_SYNC_REQUEST, 0, 0, 0, 0, __params0);
       __req0.syncChannel = &__Color_ready_to_receive__Controller_ready_to_receive_color;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
@@ -64,7 +64,7 @@ void *mainFunc__Color(void *arg){
       color = Color__checkColor();
       traceVariableModification("Color", "color", color,0);
       __params0[0] = &color;
-      makeNewRequest(&__req0, 1540, SEND_SYNC_REQUEST, 0, 0, 0, 1, __params0);
+      makeNewRequest(&__req0, 2648, SEND_SYNC_REQUEST, 0, 0, 0, 1, __params0);
       __req0.syncChannel = &__Color_sendColor__Controller_receiveColor;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
diff --git a/executablecode/generated_src/Contact.c b/executablecode/generated_src/Contact.c
index 27936c14ca..a450b36da5 100644
--- a/executablecode/generated_src/Contact.c
+++ b/executablecode/generated_src/Contact.c
@@ -62,10 +62,10 @@ void *mainFunc__Contact(void *arg){
       
       case STATE__CHECK_CONTACT: 
       traceStateEntering(__myname, "CHECK_CONTACT");
-      makeNewRequest(&__req0, 1554, RECEIVE_SYNC_REQUEST, 0, 0, 0, 0, __params0);
+      makeNewRequest(&__req0, 2662, RECEIVE_SYNC_REQUEST, 0, 0, 0, 0, __params0);
       __req0.syncChannel = &__Controller_ready_to_receive_cont__Contact_ready_to_receive;
       addRequestToList(&__list, &__req0);
-      makeNewRequest(&__req1, 1576, IMMEDIATE, 0, 0, 0, 0, __params1);
+      makeNewRequest(&__req1, 2684, IMMEDIATE, 0, 0, 0, 0, __params1);
       addRequestToList(&__list, &__req1);
       if (nbOfRequests(&__list) == 0) {
         debug2Msg(__myname, "No possible request");
@@ -80,7 +80,7 @@ void *mainFunc__Contact(void *arg){
         traceVariableModification("Contact", "contact", contact,0);
         __params0[0] = &contact;
         __params0[1] = &hasBeenPushed;
-        makeNewRequest(&__req0, 1555, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+        makeNewRequest(&__req0, 2663, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
         __req0.syncChannel = &__Controller_receiveContact__Contact_sendContact;
         __returnRequest = executeOneRequest(&__list, &__req0);
         clearListOfRequests(&__list);
@@ -101,11 +101,11 @@ void *mainFunc__Contact(void *arg){
       case STATE__choice__0: 
       traceStateEntering(__myname, "choice__0");
       if (!(tmp == 1)) {
-        makeNewRequest(&__req0, 1560, IMMEDIATE, 0, 0, 0, 0, __params0);
+        makeNewRequest(&__req0, 2668, IMMEDIATE, 0, 0, 0, 0, __params0);
         addRequestToList(&__list, &__req0);
       }
       if (tmp == 1) {
-        makeNewRequest(&__req1, 1561, IMMEDIATE, 0, 0, 0, 0, __params1);
+        makeNewRequest(&__req1, 2669, IMMEDIATE, 0, 0, 0, 0, __params1);
         addRequestToList(&__list, &__req1);
       }
       if (nbOfRequests(&__list) == 0) {
diff --git a/executablecode/generated_src/Controller.c b/executablecode/generated_src/Controller.c
index 3e98251cdd..33df18b8b7 100644
--- a/executablecode/generated_src/Controller.c
+++ b/executablecode/generated_src/Controller.c
@@ -10,16 +10,17 @@
 #define STATE__CHECK_ENVIRONMENT 2
 #define STATE__choice__0 3
 #define STATE__CHECK_COLOR 4
-#define STATE__GO_FORWARD 5
+#define STATE__GO_FORWARDS 5
 #define STATE__CHECK_CONTACT 6
 #define STATE__choice__1 7
-#define STATE__TURN_LEFT 8
-#define STATE__MOTOR_OFF 9
-#define STATE__STOP__STATE 10
+#define STATE__GO_BACKWARDS 8
+#define STATE__TURN_LEFT 9
+#define STATE__MOTOR_OFF 10
+#define STATE__STOP__STATE 11
 
 void *mainFunc__Controller(void *arg){
   int myGlob__MOTOR_OFF_DELAY = 1;
-  int myGlob__MOTOR_ON_DELAY = 3;
+  int myGlob__MOTOR_ON_DELAY = 1;
   int myGlob__FACTOR_ACC = 6;
   int myGlob__FACTOR_DEC = 5;
   int myGlob__MOTOR_SPEED = 500;
@@ -68,29 +69,28 @@ void *mainFunc__Controller(void *arg){
       
       case STATE__CHECK_ENVIRONMENT: 
       traceStateEntering(__myname, "CHECK_ENVIRONMENT");
-      makeNewRequest(&__req0, 1596, SEND_SYNC_REQUEST, 0, 0, 0, 0, __params0);
+      makeNewRequest(&__req0, 2704, SEND_SYNC_REQUEST, 0, 0, 0, 0, __params0);
       __req0.syncChannel = &__Sonar_ready_to_receive__Controller_ready_to_receive_dist;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
       __params0[0] = &distance;
-      makeNewRequest(&__req0, 1597, RECEIVE_SYNC_REQUEST, 0, 0, 0, 1, __params0);
+      makeNewRequest(&__req0, 2705, RECEIVE_SYNC_REQUEST, 0, 0, 0, 1, __params0);
       __req0.syncChannel = &__Sonar_sendDistance__Controller_receiveDistance;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
-      waitFor((myGlob__SONAR_DELAY)*1000000, (myGlob__SONAR_DELAY)*1000000);
       __currentState = STATE__choice__0;
       break;
       
       case STATE__choice__0: 
       traceStateEntering(__myname, "choice__0");
       if (distance < 100) {
-        makeNewRequest(&__req0, 1634, IMMEDIATE, 0, 0, 0, 0, __params0);
+        makeNewRequest(&__req0, 2752, IMMEDIATE, 0, 0, 0, 0, __params0);
         addRequestToList(&__list, &__req0);
       }
       if (!(distance < 100)) {
-        makeNewRequest(&__req1, 1638, IMMEDIATE, 0, 0, 0, 0, __params1);
+        makeNewRequest(&__req1, 2756, IMMEDIATE, 0, 0, 0, 0, __params1);
         addRequestToList(&__list, &__req1);
       }
       if (nbOfRequests(&__list) == 0) {
@@ -106,20 +106,20 @@ void *mainFunc__Controller(void *arg){
         
       }
       else  if (__returnRequest == &__req1) {
-        __currentState = STATE__GO_FORWARD;
+        __currentState = STATE__GO_FORWARDS;
         
       }
       break;
       
       case STATE__CHECK_COLOR: 
       traceStateEntering(__myname, "CHECK_COLOR");
-      makeNewRequest(&__req0, 1600, SEND_SYNC_REQUEST, 0, 0, 0, 0, __params0);
+      makeNewRequest(&__req0, 2708, SEND_SYNC_REQUEST, 0, 0, 0, 0, __params0);
       __req0.syncChannel = &__Color_ready_to_receive__Controller_ready_to_receive_color;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
       __params0[0] = &color;
-      makeNewRequest(&__req0, 1601, RECEIVE_SYNC_REQUEST, 0, 0, 0, 1, __params0);
+      makeNewRequest(&__req0, 2709, RECEIVE_SYNC_REQUEST, 0, 0, 0, 1, __params0);
       __req0.syncChannel = &__Color_sendColor__Controller_receiveColor;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
@@ -128,22 +128,22 @@ void *mainFunc__Controller(void *arg){
       __currentState = STATE__CHECK_COLOR;
       break;
       
-      case STATE__GO_FORWARD: 
-      traceStateEntering(__myname, "GO_FORWARD");
+      case STATE__GO_FORWARDS: 
+      traceStateEntering(__myname, "GO_FORWARDS");
       speed = myGlob__MOTOR_SPEED;
       traceVariableModification("Controller", "speed", speed,0);
       flagA = 0;
       traceVariableModification("Controller", "flagA", flagA,0);
       __params0[0] = &speed;
       __params0[1] = &flagA;
-      makeNewRequest(&__req0, 1603, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2711, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_run_motor1__Motor1_run_motor;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
       __params0[0] = &speed;
       __params0[1] = &flagA;
-      makeNewRequest(&__req0, 1604, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2712, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_run_motor2__Motor2_run_motor;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
@@ -154,30 +154,29 @@ void *mainFunc__Controller(void *arg){
       
       case STATE__CHECK_CONTACT: 
       traceStateEntering(__myname, "CHECK_CONTACT");
-      makeNewRequest(&__req0, 1606, SEND_SYNC_REQUEST, 0, 0, 0, 0, __params0);
+      makeNewRequest(&__req0, 2714, SEND_SYNC_REQUEST, 0, 0, 0, 0, __params0);
       __req0.syncChannel = &__Controller_ready_to_receive_cont__Contact_ready_to_receive;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
       __params0[0] = &contact;
       __params0[1] = &hasBeenPushed;
-      makeNewRequest(&__req0, 1607, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2715, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_receiveContact__Contact_sendContact;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
-      waitFor((myGlob__CONTACT_DELAY)*1000000, (myGlob__CONTACT_DELAY)*1000000);
       __currentState = STATE__choice__1;
       break;
       
       case STATE__choice__1: 
       traceStateEntering(__myname, "choice__1");
       if ((hasBeenPushed == 1)||(contact == 1)) {
-        makeNewRequest(&__req0, 1626, IMMEDIATE, 0, 0, 0, 0, __params0);
+        makeNewRequest(&__req0, 2726, IMMEDIATE, 0, 0, 0, 0, __params0);
         addRequestToList(&__list, &__req0);
       }
       if (!((hasBeenPushed == 1)||(contact == 1))) {
-        makeNewRequest(&__req1, 1656, IMMEDIATE, 0, 0, 0, 0, __params1);
+        makeNewRequest(&__req1, 2774, IMMEDIATE, 0, 0, 0, 0, __params1);
         addRequestToList(&__list, &__req1);
       }
       if (nbOfRequests(&__list) == 0) {
@@ -189,7 +188,7 @@ void *mainFunc__Controller(void *arg){
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
        if (__returnRequest == &__req0) {
-        __currentState = STATE__TURN_LEFT;
+        __currentState = STATE__GO_BACKWARDS;
         
       }
       else  if (__returnRequest == &__req1) {
@@ -198,22 +197,46 @@ void *mainFunc__Controller(void *arg){
       }
       break;
       
+      case STATE__GO_BACKWARDS: 
+      traceStateEntering(__myname, "GO_BACKWARDS");
+      speed = myGlob__MOTOR_SPEED;
+      traceVariableModification("Controller", "speed", speed,0);
+      flagA = 1;
+      traceVariableModification("Controller", "flagA", flagA,0);
+      __params0[0] = &speed;
+      __params0[1] = &flagA;
+      makeNewRequest(&__req0, 2718, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      __req0.syncChannel = &__Controller_run_motor1__Motor1_run_motor;
+      __returnRequest = executeOneRequest(&__list, &__req0);
+      clearListOfRequests(&__list);
+      traceRequest(__myname, __returnRequest);
+      __params0[0] = &speed;
+      __params0[1] = &flagA;
+      makeNewRequest(&__req0, 2719, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      __req0.syncChannel = &__Controller_run_motor2__Motor2_run_motor;
+      __returnRequest = executeOneRequest(&__list, &__req0);
+      clearListOfRequests(&__list);
+      traceRequest(__myname, __returnRequest);
+      waitFor((1)*1000000, (1)*1000000);
+      __currentState = STATE__TURN_LEFT;
+      break;
+      
       case STATE__TURN_LEFT: 
       traceStateEntering(__myname, "TURN_LEFT");
-      flag = 1;
+      flag = 0;
       traceVariableModification("Controller", "flag", flag,0);
-      deg = 90;
+      deg = 200;
       traceVariableModification("Controller", "deg", deg,0);
       __params0[0] = &flag;
       __params0[1] = &deg;
-      makeNewRequest(&__req0, 1610, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2721, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_turn1__Motor1_turn;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
       __params0[0] = &flag;
       __params0[1] = &deg;
-      makeNewRequest(&__req0, 1611, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2722, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_turn2__Motor2_turn;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
@@ -230,14 +253,14 @@ void *mainFunc__Controller(void *arg){
       traceVariableModification("Controller", "flagA", flagA,0);
       __params0[0] = &speed;
       __params0[1] = &flagA;
-      makeNewRequest(&__req0, 1613, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2724, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_run_motor1__Motor1_run_motor;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
       traceRequest(__myname, __returnRequest);
       __params0[0] = &speed;
       __params0[1] = &flagA;
-      makeNewRequest(&__req0, 1614, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2725, SEND_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_run_motor2__Motor2_run_motor;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
diff --git a/executablecode/generated_src/Motor1.c b/executablecode/generated_src/Motor1.c
index 8bce430090..efa481d38a 100644
--- a/executablecode/generated_src/Motor1.c
+++ b/executablecode/generated_src/Motor1.c
@@ -90,7 +90,6 @@ void *mainFunc__Motor1(void *arg){
     switch(__currentState) {
       case STATE__START__STATE: 
       traceStateEntering(__myname, "__StartState");
-      waitFor((5)*1000000, (5)*1000000);
       Motor1__initt(port);
       __currentState = STATE__WaitingForMotorCommand;
       break;
@@ -99,19 +98,19 @@ void *mainFunc__Motor1(void *arg){
       traceStateEntering(__myname, "WaitingForMotorCommand");
       __params0[0] = &flag;
       __params0[1] = &deg;
-      makeNewRequest(&__req0, 1694, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2812, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_turn1__Motor1_turn;
       addRequestToList(&__list, &__req0);
       __params1[0] = &speed;
       __params1[1] = &factor;
       __params1[2] = &flagA;
       __params1[3] = &flagB;
-      makeNewRequest(&__req1, 1696, RECEIVE_SYNC_REQUEST, 0, 0, 0, 4, __params1);
+      makeNewRequest(&__req1, 2814, RECEIVE_SYNC_REQUEST, 0, 0, 0, 4, __params1);
       __req1.syncChannel = &__Controller_modify_motor1__Motor1_modify_motor;
       addRequestToList(&__list, &__req1);
       __params2[0] = &speed;
       __params2[1] = &flagA;
-      makeNewRequest(&__req2, 1695, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params2);
+      makeNewRequest(&__req2, 2813, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params2);
       __req2.syncChannel = &__Controller_run_motor1__Motor1_run_motor;
       addRequestToList(&__list, &__req2);
       if (nbOfRequests(&__list) == 0) {
diff --git a/executablecode/generated_src/Motor2.c b/executablecode/generated_src/Motor2.c
index 02265129ba..ae34bff346 100644
--- a/executablecode/generated_src/Motor2.c
+++ b/executablecode/generated_src/Motor2.c
@@ -90,7 +90,6 @@ void *mainFunc__Motor2(void *arg){
     switch(__currentState) {
       case STATE__START__STATE: 
       traceStateEntering(__myname, "__StartState");
-      waitFor((5)*1000000, (5)*1000000);
       Motor2__initt(port);
       __currentState = STATE__WaitingForMotorCommand;
       break;
@@ -99,19 +98,19 @@ void *mainFunc__Motor2(void *arg){
       traceStateEntering(__myname, "WaitingForMotorCommand");
       __params0[0] = &speed;
       __params0[1] = &flagA;
-      makeNewRequest(&__req0, 1664, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params0);
+      makeNewRequest(&__req0, 2782, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params0);
       __req0.syncChannel = &__Controller_run_motor2__Motor2_run_motor;
       addRequestToList(&__list, &__req0);
       __params1[0] = &speed;
       __params1[1] = &factor;
       __params1[2] = &flagA;
       __params1[3] = &flagB;
-      makeNewRequest(&__req1, 1665, RECEIVE_SYNC_REQUEST, 0, 0, 0, 4, __params1);
+      makeNewRequest(&__req1, 2783, RECEIVE_SYNC_REQUEST, 0, 0, 0, 4, __params1);
       __req1.syncChannel = &__Controller_modify_motor2__Motor2_modify_motor;
       addRequestToList(&__list, &__req1);
       __params2[0] = &flag;
       __params2[1] = &deg;
-      makeNewRequest(&__req2, 1663, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params2);
+      makeNewRequest(&__req2, 2781, RECEIVE_SYNC_REQUEST, 0, 0, 0, 2, __params2);
       __req2.syncChannel = &__Controller_turn2__Motor2_turn;
       addRequestToList(&__list, &__req2);
       if (nbOfRequests(&__list) == 0) {
diff --git a/executablecode/generated_src/Sonar.c b/executablecode/generated_src/Sonar.c
index 99a9e87ba5..ea20b3e222 100644
--- a/executablecode/generated_src/Sonar.c
+++ b/executablecode/generated_src/Sonar.c
@@ -56,7 +56,7 @@ void *mainFunc__Sonar(void *arg){
       
       case STATE__WAIT_FOR_READY: 
       traceStateEntering(__myname, "WAIT_FOR_READY");
-      makeNewRequest(&__req0, 1582, RECEIVE_SYNC_REQUEST, 0, 0, 0, 0, __params0);
+      makeNewRequest(&__req0, 2690, RECEIVE_SYNC_REQUEST, 0, 0, 0, 0, __params0);
       __req0.syncChannel = &__Sonar_ready_to_receive__Controller_ready_to_receive_dist;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
@@ -64,7 +64,7 @@ void *mainFunc__Sonar(void *arg){
       distance = Sonar__checkDistance();
       traceVariableModification("Sonar", "distance", distance,0);
       __params0[0] = &distance;
-      makeNewRequest(&__req0, 1583, SEND_SYNC_REQUEST, 0, 0, 0, 1, __params0);
+      makeNewRequest(&__req0, 2691, SEND_SYNC_REQUEST, 0, 0, 0, 1, __params0);
       __req0.syncChannel = &__Sonar_sendDistance__Controller_receiveDistance;
       __returnRequest = executeOneRequest(&__list, &__req0);
       clearListOfRequests(&__list);
diff --git a/executablecode/generated_src/main.c b/executablecode/generated_src/main.c
index 326ec4e9f0..dd54208b54 100644
--- a/executablecode/generated_src/main.c
+++ b/executablecode/generated_src/main.c
@@ -82,9 +82,8 @@ static bool _check_pressed( uint8_t sn )
 }
 
 int checkContact(){
+      sleep(1);
       if ( ev3_search_sensor( LEGO_EV3_TOUCH, &sn_touch, 0 )) {
-       printf("Press:\n");
-       sleep(5);
        if ( _check_pressed( sn_touch )) {
         return 1;
        }
@@ -107,20 +106,20 @@ void init2(int port) {
 
 int set_val(int val, int flag, int port){
   if (port==65){
-     	sn=sn1;
-    	if (flag) {
-        	set_tacho_speed_sp( sn, val * 2 / 3 );
-    	} else {
-       	set_tacho_speed_sp( sn, -val * 2/3 );
-    	}
+      sn=sn1;
+     if (flag) {
+         set_tacho_speed_sp( sn, val * 2 / 3 );
+     } else {
+        set_tacho_speed_sp( sn, -val * 2/3 );
+     }
   }
   else {
-     	sn=sn2;
-    	if (flag) {
-        	set_tacho_speed_sp( sn, val * 2 / 3 );
-    	} else {
-       	set_tacho_speed_sp( sn, -val * 2/3 );
-    	}
+      sn=sn2;
+     if (flag) {
+         set_tacho_speed_sp( sn, val * 2 / 3 );
+     } else {
+        set_tacho_speed_sp( sn, -val * 2/3 );
+     }
   }
    set_tacho_command_inx( sn, TACHO_RUN_FOREVER); 
    return val;
diff --git a/modeling/AVATAR/ev3/Bot_EV3.xml b/modeling/AVATAR/ev3/Bot_EV3.xml
index df558ddde5..5302b5bea4 100644
--- a/modeling/AVATAR/ev3/Bot_EV3.xml
+++ b/modeling/AVATAR/ev3/Bot_EV3.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="true" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="4" LAST_SELECTED_SUB_TAB="1">
+<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="true" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="4" LAST_SELECTED_SUB_TAB="4">
 
 <Modeling type="AVATAR Design" nameTab="Design_Contact" tabs="Block Diagram$Controller$Contact" >
 <AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
@@ -6681,20 +6681,20 @@
 <MainCode value=""/>
 <MainCode value="int set_val(int val, int flag, int port){"/>
 <MainCode value="if (port==65){"/>
-<MainCode value=" 	sn=sn1;"/>
-<MainCode value="	if (flag) {"/>
-<MainCode value="  	set_tacho_speed_sp( sn, val * 2 / 3 );"/>
-<MainCode value="	} else {"/>
-<MainCode value=" 	set_tacho_speed_sp( sn, -val * 2/3 );"/>
-<MainCode value="	}"/>
+<MainCode value="  sn=sn1;"/>
+<MainCode value=" if (flag) {"/>
+<MainCode value="   set_tacho_speed_sp( sn, val * 2 / 3 );"/>
+<MainCode value=" } else {"/>
+<MainCode value="  set_tacho_speed_sp( sn, -val * 2/3 );"/>
+<MainCode value=" }"/>
 <MainCode value="}"/>
 <MainCode value="else {"/>
-<MainCode value=" 	sn=sn2;"/>
-<MainCode value="	if (flag) {"/>
-<MainCode value="  	set_tacho_speed_sp( sn, val * 2 / 3 );"/>
-<MainCode value="	} else {"/>
-<MainCode value=" 	set_tacho_speed_sp( sn, -val * 2/3 );"/>
-<MainCode value="	}"/>
+<MainCode value="  sn=sn2;"/>
+<MainCode value=" if (flag) {"/>
+<MainCode value="   set_tacho_speed_sp( sn, val * 2 / 3 );"/>
+<MainCode value=" } else {"/>
+<MainCode value="  set_tacho_speed_sp( sn, -val * 2/3 );"/>
+<MainCode value=" }"/>
 <MainCode value="}"/>
 <MainCode value=" set_tacho_command_inx( sn, TACHO_RUN_FOREVER); "/>
 <MainCode value=" return val;"/>
@@ -6766,7 +6766,7 @@
 <MainCode value="  printf( &quot;*** ( EV3 ) Hello! ***\n&quot; );"/>
 <MainCode value="}"/>
 <Optimized value="false" />
-<Validated value="Color;Contact;Sonar;Controller;Motor2;Motor1;" />
+<Validated value="" />
 <Ignored value="" />
 
 <CONNECTOR type="5002" id="2445" >
@@ -8261,17 +8261,89 @@
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Controller" minX="10" maxX="2500" minY="10" maxY="1500" >
+<CONNECTOR type="5102" id="5027" >
+<cdparam x="368" y="672" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="5029" />
+<TGConnectingPoint num="1" id="5030" />
+<P1  x="368" y="672" id="3378" />
+<P2  x="220" y="718" id="3019" />
+<Point x="226" y="703" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5028" >
+<father id="5027" num="0" />
+<cdparam x="226" y="703" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5031" >
+<father id="5027" num="1" />
+<cdparam x="294" y="695" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="5032" />
+<TGConnectingPoint num="1" id="5033" />
+<TGConnectingPoint num="2" id="5034" />
+<TGConnectingPoint num="3" id="5035" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="5020" >
+<cdparam x="261" y="617" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="5021" />
+<P1  x="220" y="748" id="3024" />
+<P2  x="218" y="769" id="3715" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5022" >
+<father id="5020" num="0" />
+<cdparam x="233" y="760" />
+<sizeparam width="188" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="5023" />
+<TGConnectingPoint num="1" id="5024" />
+<TGConnectingPoint num="2" id="5025" />
+<TGConnectingPoint num="3" id="5026" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="speed=myGlob.MOTOR_SPEED" enabled="true"/>
+<actions value="flag=1" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
 <CONNECTOR type="5102" id="3017" >
-<cdparam x="535" y="816" />
+<cdparam x="218" y="799" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
 <TGConnectingPoint num="0" id="3016" />
-<P1  x="535" y="816" id="3646" />
-<P2  x="535" y="827" id="3634" />
+<P1  x="218" y="799" id="3716" />
+<P2  x="218" y="810" id="3704" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="3015" >
 <father id="3017" num="0" />
-<cdparam x="535" y="821" />
+<cdparam x="218" y="804" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
@@ -8291,26 +8363,107 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3024" >
+<COMPONENT type="5106" id="3058" >
+<cdparam x="159" y="718" />
+<sizeparam width="123" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state0" value="GO_BACKWARDS" />
+<TGConnectingPoint num="0" id="3018" />
+<TGConnectingPoint num="1" id="3019" />
+<TGConnectingPoint num="2" id="3020" />
+<TGConnectingPoint num="3" id="3021" />
+<TGConnectingPoint num="4" id="3022" />
+<TGConnectingPoint num="5" id="3023" />
+<TGConnectingPoint num="6" id="3024" />
+<TGConnectingPoint num="7" id="3025" />
+<TGConnectingPoint num="8" id="3026" />
+<TGConnectingPoint num="9" id="3027" />
+<TGConnectingPoint num="10" id="3028" />
+<TGConnectingPoint num="11" id="3029" />
+<TGConnectingPoint num="12" id="3030" />
+<TGConnectingPoint num="13" id="3031" />
+<TGConnectingPoint num="14" id="3032" />
+<TGConnectingPoint num="15" id="3033" />
+<TGConnectingPoint num="16" id="3034" />
+<TGConnectingPoint num="17" id="3035" />
+<TGConnectingPoint num="18" id="3036" />
+<TGConnectingPoint num="19" id="3037" />
+<TGConnectingPoint num="20" id="3038" />
+<TGConnectingPoint num="21" id="3039" />
+<TGConnectingPoint num="22" id="3040" />
+<TGConnectingPoint num="23" id="3041" />
+<TGConnectingPoint num="24" id="3042" />
+<TGConnectingPoint num="25" id="3043" />
+<TGConnectingPoint num="26" id="3044" />
+<TGConnectingPoint num="27" id="3045" />
+<TGConnectingPoint num="28" id="3046" />
+<TGConnectingPoint num="29" id="3047" />
+<TGConnectingPoint num="30" id="3048" />
+<TGConnectingPoint num="31" id="3049" />
+<TGConnectingPoint num="32" id="3050" />
+<TGConnectingPoint num="33" id="3051" />
+<TGConnectingPoint num="34" id="3052" />
+<TGConnectingPoint num="35" id="3053" />
+<TGConnectingPoint num="36" id="3054" />
+<TGConnectingPoint num="37" id="3055" />
+<TGConnectingPoint num="38" id="3056" />
+<TGConnectingPoint num="39" id="3057" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<CONNECTOR type="5102" id="3065" >
+<cdparam x="535" y="816" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="3064" />
+<P1  x="535" y="816" id="3694" />
+<P2  x="535" y="827" id="3682" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3063" >
+<father id="3065" num="0" />
+<cdparam x="535" y="821" />
+<sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3059" />
+<TGConnectingPoint num="1" id="3060" />
+<TGConnectingPoint num="2" id="3061" />
+<TGConnectingPoint num="3" id="3062" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="3072" >
 <cdparam x="483" y="484" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3023" />
-<P1  x="543" y="454" id="3204" />
-<P2  x="469" y="488" id="3307" />
+<TGConnectingPoint num="0" id="3071" />
+<P1  x="543" y="454" id="3252" />
+<P2  x="469" y="488" id="3355" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3022" >
-<father id="3024" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3070" >
+<father id="3072" num="0" />
 <cdparam x="476" y="486" />
 <sizeparam width="200" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3018" />
-<TGConnectingPoint num="1" id="3019" />
-<TGConnectingPoint num="2" id="3020" />
-<TGConnectingPoint num="3" id="3021" />
+<TGConnectingPoint num="0" id="3066" />
+<TGConnectingPoint num="1" id="3067" />
+<TGConnectingPoint num="2" id="3068" />
+<TGConnectingPoint num="3" id="3069" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.MOTOR_ON_DELAY" enabled="true"/>
@@ -8321,26 +8474,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3031" >
+<CONNECTOR type="5102" id="3079" >
 <cdparam x="543" y="405" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3030" />
-<P1  x="543" y="405" id="3237" />
-<P2  x="543" y="424" id="3203" />
+<TGConnectingPoint num="0" id="3078" />
+<P1  x="543" y="405" id="3285" />
+<P2  x="543" y="424" id="3251" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3029" >
-<father id="3031" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3077" >
+<father id="3079" num="0" />
 <cdparam x="530" y="406" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3025" />
-<TGConnectingPoint num="1" id="3026" />
-<TGConnectingPoint num="2" id="3027" />
-<TGConnectingPoint num="3" id="3028" />
+<TGConnectingPoint num="0" id="3073" />
+<TGConnectingPoint num="1" id="3074" />
+<TGConnectingPoint num="2" id="3075" />
+<TGConnectingPoint num="3" id="3076" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8351,26 +8504,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3038" >
-<cdparam x="217" y="815" />
+<CONNECTOR type="5102" id="3086" >
+<cdparam x="218" y="954" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3037" />
-<P1  x="217" y="815" id="3226" />
-<P2  x="218" y="833" id="3214" />
+<TGConnectingPoint num="0" id="3085" />
+<P1  x="218" y="954" id="3274" />
+<P2  x="219" y="972" id="3262" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3036" >
-<father id="3038" num="0" />
-<cdparam x="211" y="833" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3084" >
+<father id="3086" num="0" />
+<cdparam x="212" y="972" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3032" />
-<TGConnectingPoint num="1" id="3033" />
-<TGConnectingPoint num="2" id="3034" />
-<TGConnectingPoint num="3" id="3035" />
+<TGConnectingPoint num="0" id="3080" />
+<TGConnectingPoint num="1" id="3081" />
+<TGConnectingPoint num="2" id="3082" />
+<TGConnectingPoint num="3" id="3083" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8381,26 +8534,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3045" >
-<cdparam x="204" y="751" />
+<CONNECTOR type="5102" id="3093" >
+<cdparam x="205" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3044" />
-<P1  x="217" y="751" id="3253" />
-<P2  x="217" y="785" id="3225" />
+<TGConnectingPoint num="0" id="3092" />
+<P1  x="218" y="890" id="3301" />
+<P2  x="218" y="924" id="3273" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3043" >
-<father id="3045" num="0" />
-<cdparam x="222" y="767" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3091" >
+<father id="3093" num="0" />
+<cdparam x="223" y="906" />
 <sizeparam width="58" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3039" />
-<TGConnectingPoint num="1" id="3040" />
-<TGConnectingPoint num="2" id="3041" />
-<TGConnectingPoint num="3" id="3042" />
+<TGConnectingPoint num="0" id="3087" />
+<TGConnectingPoint num="1" id="3088" />
+<TGConnectingPoint num="2" id="3089" />
+<TGConnectingPoint num="3" id="3090" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8413,26 +8566,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3052" >
+<CONNECTOR type="5102" id="3100" >
 <cdparam x="368" y="574" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3051" />
-<P1  x="391" y="518" id="3294" />
-<P2  x="392" y="535" id="3356" />
+<TGConnectingPoint num="0" id="3099" />
+<P1  x="391" y="518" id="3342" />
+<P2  x="392" y="535" id="3404" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3050" >
-<father id="3052" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3098" >
+<father id="3100" num="0" />
 <cdparam x="379" y="576" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3046" />
-<TGConnectingPoint num="1" id="3047" />
-<TGConnectingPoint num="2" id="3048" />
-<TGConnectingPoint num="3" id="3049" />
+<TGConnectingPoint num="0" id="3094" />
+<TGConnectingPoint num="1" id="3095" />
+<TGConnectingPoint num="2" id="3096" />
+<TGConnectingPoint num="3" id="3097" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8443,29 +8596,29 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3059" >
+<CONNECTOR type="5102" id="3107" >
 <cdparam x="418" y="672" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3058" />
-<P1  x="368" y="672" id="3330" />
-<P2  x="217" y="721" id="3248" />
+<TGConnectingPoint num="0" id="3106" />
+<P1  x="218" y="840" id="3705" />
+<P2  x="218" y="860" id="3296" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3057" >
-<father id="3059" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3105" >
+<father id="3107" num="0" />
 <cdparam x="61" y="670" />
-<sizeparam width="248" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="248" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3053" />
-<TGConnectingPoint num="1" id="3054" />
-<TGConnectingPoint num="2" id="3055" />
-<TGConnectingPoint num="3" id="3056" />
+<TGConnectingPoint num="0" id="3101" />
+<TGConnectingPoint num="1" id="3102" />
+<TGConnectingPoint num="2" id="3103" />
+<TGConnectingPoint num="3" id="3104" />
 <extraparam>
 <guard value="[(hasBeenPushed==1)||(contact==1) ]" enabled="true"/>
-<afterMin value="" enabled="true"/>
+<afterMin value="2" enabled="true"/>
 <afterMax value="" enabled="true"/>
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
@@ -8473,26 +8626,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3066" >
+<CONNECTOR type="5102" id="3114" >
 <cdparam x="527" y="550" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3065" />
-<P1  x="392" y="565" id="3357" />
-<P2  x="393" y="580" id="3345" />
+<TGConnectingPoint num="0" id="3113" />
+<P1  x="392" y="565" id="3405" />
+<P2  x="393" y="580" id="3393" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3064" >
-<father id="3066" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3112" >
+<father id="3114" num="0" />
 <cdparam x="531" y="571" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3060" />
-<TGConnectingPoint num="1" id="3061" />
-<TGConnectingPoint num="2" id="3062" />
-<TGConnectingPoint num="3" id="3063" />
+<TGConnectingPoint num="0" id="3108" />
+<TGConnectingPoint num="1" id="3109" />
+<TGConnectingPoint num="2" id="3110" />
+<TGConnectingPoint num="3" id="3111" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8503,26 +8656,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3073" >
+<CONNECTOR type="5102" id="3121" >
 <cdparam x="386" y="293" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3072" />
-<P1  x="361" y="268" id="3409" />
-<P2  x="269" y="302" id="3369" />
+<TGConnectingPoint num="0" id="3120" />
+<P1  x="361" y="268" id="3457" />
+<P2  x="269" y="302" id="3417" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3071" >
-<father id="3073" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3119" >
+<father id="3121" num="0" />
 <cdparam x="243" y="274" />
 <sizeparam width="102" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3067" />
-<TGConnectingPoint num="1" id="3068" />
-<TGConnectingPoint num="2" id="3069" />
-<TGConnectingPoint num="3" id="3070" />
+<TGConnectingPoint num="0" id="3115" />
+<TGConnectingPoint num="1" id="3116" />
+<TGConnectingPoint num="2" id="3117" />
+<TGConnectingPoint num="3" id="3118" />
 <extraparam>
 <guard value="[distance&lt;100 ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8533,26 +8686,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3080" >
+<CONNECTOR type="5102" id="3128" >
 <cdparam x="411" y="336" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3079" />
-<P1  x="411" y="268" id="3410" />
-<P2  x="543" y="304" id="3572" />
+<TGConnectingPoint num="0" id="3127" />
+<P1  x="411" y="268" id="3458" />
+<P2  x="543" y="304" id="3620" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3078" >
-<father id="3080" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3126" >
+<father id="3128" num="0" />
 <cdparam x="463" y="278" />
 <sizeparam width="36" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3074" />
-<TGConnectingPoint num="1" id="3075" />
-<TGConnectingPoint num="2" id="3076" />
-<TGConnectingPoint num="3" id="3077" />
+<TGConnectingPoint num="0" id="3122" />
+<TGConnectingPoint num="1" id="3123" />
+<TGConnectingPoint num="2" id="3124" />
+<TGConnectingPoint num="3" id="3125" />
 <extraparam>
 <guard value="[else]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8563,26 +8716,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3087" >
+<CONNECTOR type="5102" id="3135" >
 <cdparam x="366" y="295" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3086" />
-<P1  x="386" y="214" id="3425" />
-<P2  x="386" y="243" id="3408" />
+<TGConnectingPoint num="0" id="3134" />
+<P1  x="386" y="214" id="3473" />
+<P2  x="386" y="243" id="3456" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3085" >
-<father id="3087" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3133" >
+<father id="3135" num="0" />
 <cdparam x="398" y="236" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3081" />
-<TGConnectingPoint num="1" id="3082" />
-<TGConnectingPoint num="2" id="3083" />
-<TGConnectingPoint num="3" id="3084" />
+<TGConnectingPoint num="0" id="3129" />
+<TGConnectingPoint num="1" id="3130" />
+<TGConnectingPoint num="2" id="3131" />
+<TGConnectingPoint num="3" id="3132" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8593,26 +8746,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3094" >
+<CONNECTOR type="5102" id="3142" >
 <cdparam x="433" y="146" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3093" />
-<P1  x="386" y="146" id="3452" />
-<P2  x="386" y="153" id="3435" />
+<TGConnectingPoint num="0" id="3141" />
+<P1  x="386" y="146" id="3500" />
+<P2  x="386" y="153" id="3483" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3092" >
-<father id="3094" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3140" >
+<father id="3142" num="0" />
 <cdparam x="335" y="150" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3088" />
-<TGConnectingPoint num="1" id="3089" />
-<TGConnectingPoint num="2" id="3090" />
-<TGConnectingPoint num="3" id="3091" />
+<TGConnectingPoint num="0" id="3136" />
+<TGConnectingPoint num="1" id="3137" />
+<TGConnectingPoint num="2" id="3138" />
+<TGConnectingPoint num="3" id="3139" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8623,26 +8776,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3101" >
+<CONNECTOR type="5102" id="3149" >
 <cdparam x="562" y="856" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3100" />
-<P1  x="535" y="753" id="3493" />
-<P2  x="535" y="786" id="3645" />
+<TGConnectingPoint num="0" id="3148" />
+<P1  x="535" y="753" id="3541" />
+<P2  x="535" y="786" id="3693" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3099" >
-<father id="3101" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3147" >
+<father id="3149" num="0" />
 <cdparam x="542" y="771" />
 <sizeparam width="57" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3095" />
-<TGConnectingPoint num="1" id="3096" />
-<TGConnectingPoint num="2" id="3097" />
-<TGConnectingPoint num="3" id="3098" />
+<TGConnectingPoint num="0" id="3143" />
+<TGConnectingPoint num="1" id="3144" />
+<TGConnectingPoint num="2" id="3145" />
+<TGConnectingPoint num="3" id="3146" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8655,26 +8808,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3108" >
+<CONNECTOR type="5102" id="3156" >
 <cdparam x="401" y="59" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3107" />
-<P1  x="386" y="47" id="3528" />
-<P2  x="386" y="62" id="3531" />
+<TGConnectingPoint num="0" id="3155" />
+<P1  x="386" y="47" id="3576" />
+<P2  x="386" y="62" id="3579" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3106" >
-<father id="3108" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3154" >
+<father id="3156" num="0" />
 <cdparam x="402" y="60" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3102" />
-<TGConnectingPoint num="1" id="3103" />
-<TGConnectingPoint num="2" id="3104" />
-<TGConnectingPoint num="3" id="3105" />
+<TGConnectingPoint num="0" id="3150" />
+<TGConnectingPoint num="1" id="3151" />
+<TGConnectingPoint num="2" id="3152" />
+<TGConnectingPoint num="3" id="3153" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8685,26 +8838,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3115" >
+<CONNECTOR type="5102" id="3163" >
 <cdparam x="581" y="516" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3114" />
-<P1  x="543" y="346" id="3577" />
-<P2  x="543" y="375" id="3236" />
+<TGConnectingPoint num="0" id="3162" />
+<P1  x="543" y="346" id="3625" />
+<P2  x="543" y="375" id="3284" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3113" >
-<father id="3115" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3161" >
+<father id="3163" num="0" />
 <cdparam x="551" y="359" />
 <sizeparam width="188" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3109" />
-<TGConnectingPoint num="1" id="3110" />
-<TGConnectingPoint num="2" id="3111" />
-<TGConnectingPoint num="3" id="3112" />
+<TGConnectingPoint num="0" id="3157" />
+<TGConnectingPoint num="1" id="3158" />
+<TGConnectingPoint num="2" id="3159" />
+<TGConnectingPoint num="3" id="3160" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8717,26 +8870,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3122" >
+<CONNECTOR type="5102" id="3170" >
 <cdparam x="403" y="193" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3121" />
-<P1  x="386" y="92" id="3536" />
-<P2  x="386" y="116" id="3447" />
+<TGConnectingPoint num="0" id="3169" />
+<P1  x="386" y="92" id="3584" />
+<P2  x="386" y="116" id="3495" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3120" >
-<father id="3122" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3168" >
+<father id="3170" num="0" />
 <cdparam x="416" y="95" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3116" />
-<TGConnectingPoint num="1" id="3117" />
-<TGConnectingPoint num="2" id="3118" />
-<TGConnectingPoint num="3" id="3119" />
+<TGConnectingPoint num="0" id="3164" />
+<TGConnectingPoint num="1" id="3165" />
+<TGConnectingPoint num="2" id="3166" />
+<TGConnectingPoint num="3" id="3167" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8747,66 +8900,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3137" >
+<CONNECTOR type="5102" id="3185" >
 <cdparam x="574" y="693" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3132" />
-<TGConnectingPoint num="1" id="3133" />
-<TGConnectingPoint num="2" id="3134" />
-<TGConnectingPoint num="3" id="3135" />
-<TGConnectingPoint num="4" id="3136" />
-<P1  x="535" y="857" id="3635" />
-<P2  x="480" y="131" id="3450" />
+<TGConnectingPoint num="0" id="3180" />
+<TGConnectingPoint num="1" id="3181" />
+<TGConnectingPoint num="2" id="3182" />
+<TGConnectingPoint num="3" id="3183" />
+<TGConnectingPoint num="4" id="3184" />
+<P1  x="535" y="857" id="3683" />
+<P2  x="480" y="131" id="3498" />
 <Point x="535" y="877" />
 <Point x="828" y="877" />
 <Point x="828" y="111" />
 <Point x="500" y="111" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3123" >
-<father id="3137" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3171" >
+<father id="3185" num="0" />
 <cdparam x="535" y="877" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3124" >
-<father id="3137" num="1" />
+<SUBCOMPONENT type="-1" id="3172" >
+<father id="3185" num="1" />
 <cdparam x="828" y="877" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3125" >
-<father id="3137" num="2" />
+<SUBCOMPONENT type="-1" id="3173" >
+<father id="3185" num="2" />
 <cdparam x="828" y="111" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3126" >
-<father id="3137" num="3" />
+<SUBCOMPONENT type="-1" id="3174" >
+<father id="3185" num="3" />
 <cdparam x="500" y="111" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3131" >
-<father id="3137" num="4" />
+<SUBCOMPONENT type="-1" id="3179" >
+<father id="3185" num="4" />
 <cdparam x="547" y="903" />
 <sizeparam width="205" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3127" />
-<TGConnectingPoint num="1" id="3128" />
-<TGConnectingPoint num="2" id="3129" />
-<TGConnectingPoint num="3" id="3130" />
+<TGConnectingPoint num="0" id="3175" />
+<TGConnectingPoint num="1" id="3176" />
+<TGConnectingPoint num="2" id="3177" />
+<TGConnectingPoint num="3" id="3178" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.MOTOR_OFF_DELAY" enabled="true"/>
@@ -8817,26 +8970,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3144" >
+<CONNECTOR type="5102" id="3192" >
 <cdparam x="386" y="183" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3143" />
-<P1  x="386" y="183" id="3436" />
-<P2  x="386" y="184" id="3424" />
+<TGConnectingPoint num="0" id="3191" />
+<P1  x="386" y="183" id="3484" />
+<P2  x="386" y="184" id="3472" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3142" >
-<father id="3144" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3190" >
+<father id="3192" num="0" />
 <cdparam x="386" y="185" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3138" />
-<TGConnectingPoint num="1" id="3139" />
-<TGConnectingPoint num="2" id="3140" />
-<TGConnectingPoint num="3" id="3141" />
+<TGConnectingPoint num="0" id="3186" />
+<TGConnectingPoint num="1" id="3187" />
+<TGConnectingPoint num="2" id="3188" />
+<TGConnectingPoint num="3" id="3189" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8847,26 +9000,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3151" >
+<CONNECTOR type="5102" id="3199" >
 <cdparam x="538" y="616" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3150" />
-<P1  x="393" y="610" id="3346" />
-<P2  x="393" y="647" id="3329" />
+<TGConnectingPoint num="0" id="3198" />
+<P1  x="393" y="610" id="3394" />
+<P2  x="393" y="647" id="3377" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3149" >
-<father id="3151" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3197" >
+<father id="3199" num="0" />
 <cdparam x="433" y="626" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3145" />
-<TGConnectingPoint num="1" id="3146" />
-<TGConnectingPoint num="2" id="3147" />
-<TGConnectingPoint num="3" id="3148" />
+<TGConnectingPoint num="0" id="3193" />
+<TGConnectingPoint num="1" id="3194" />
+<TGConnectingPoint num="2" id="3195" />
+<TGConnectingPoint num="3" id="3196" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8877,26 +9030,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3158" >
+<CONNECTOR type="5102" id="3206" >
 <cdparam x="368" y="672" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3157" />
-<P1  x="418" y="672" id="3331" />
-<P2  x="500" y="723" id="3495" />
+<TGConnectingPoint num="0" id="3205" />
+<P1  x="418" y="672" id="3379" />
+<P2  x="500" y="723" id="3543" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3156" >
-<father id="3158" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3204" >
+<father id="3206" num="0" />
 <cdparam x="438" y="672" />
 <sizeparam width="36" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3152" />
-<TGConnectingPoint num="1" id="3153" />
-<TGConnectingPoint num="2" id="3154" />
-<TGConnectingPoint num="3" id="3155" />
+<TGConnectingPoint num="0" id="3200" />
+<TGConnectingPoint num="1" id="3201" />
+<TGConnectingPoint num="2" id="3202" />
+<TGConnectingPoint num="3" id="3203" />
 <extraparam>
 <guard value="[else]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8907,66 +9060,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3173" >
+<CONNECTOR type="5102" id="3221" >
 <cdparam x="218" y="847" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3168" />
-<TGConnectingPoint num="1" id="3169" />
-<TGConnectingPoint num="2" id="3170" />
-<TGConnectingPoint num="3" id="3171" />
-<TGConnectingPoint num="4" id="3172" />
-<P1  x="218" y="863" id="3215" />
-<P2  x="293" y="131" id="3449" />
-<Point x="218" y="867" />
-<Point x="51" y="867" />
+<TGConnectingPoint num="0" id="3216" />
+<TGConnectingPoint num="1" id="3217" />
+<TGConnectingPoint num="2" id="3218" />
+<TGConnectingPoint num="3" id="3219" />
+<TGConnectingPoint num="4" id="3220" />
+<P1  x="219" y="1002" id="3263" />
+<P2  x="293" y="131" id="3497" />
+<Point x="219" y="1021" />
+<Point x="52" y="1021" />
 <Point x="51" y="111" />
 <Point x="273" y="111" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3159" >
-<father id="3173" num="0" />
-<cdparam x="218" y="867" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3207" >
+<father id="3221" num="0" />
+<cdparam x="219" y="1021" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3160" >
-<father id="3173" num="1" />
-<cdparam x="51" y="867" />
+<SUBCOMPONENT type="-1" id="3208" >
+<father id="3221" num="1" />
+<cdparam x="52" y="1021" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3161" >
-<father id="3173" num="2" />
+<SUBCOMPONENT type="-1" id="3209" >
+<father id="3221" num="2" />
 <cdparam x="51" y="111" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3162" >
-<father id="3173" num="3" />
+<SUBCOMPONENT type="-1" id="3210" >
+<father id="3221" num="3" />
 <cdparam x="273" y="111" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3167" >
-<father id="3173" num="4" />
-<cdparam x="65" y="895" />
+<SUBCOMPONENT type="-1" id="3215" >
+<father id="3221" num="4" />
+<cdparam x="49" y="1047" />
 <sizeparam width="205" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3163" />
-<TGConnectingPoint num="1" id="3164" />
-<TGConnectingPoint num="2" id="3165" />
-<TGConnectingPoint num="3" id="3166" />
+<TGConnectingPoint num="0" id="3211" />
+<TGConnectingPoint num="1" id="3212" />
+<TGConnectingPoint num="2" id="3213" />
+<TGConnectingPoint num="3" id="3214" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.MOTOR_OFF_DELAY" enabled="true"/>
@@ -8977,26 +9130,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3180" >
+<CONNECTOR type="5102" id="3228" >
 <cdparam x="208" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3179" />
-<P1  x="208" y="377" id="3624" />
-<P2  x="208" y="378" id="3612" />
+<TGConnectingPoint num="0" id="3227" />
+<P1  x="208" y="377" id="3672" />
+<P2  x="208" y="378" id="3660" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3178" >
-<father id="3180" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3226" >
+<father id="3228" num="0" />
 <cdparam x="208" y="379" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3174" />
-<TGConnectingPoint num="1" id="3175" />
-<TGConnectingPoint num="2" id="3176" />
-<TGConnectingPoint num="3" id="3177" />
+<TGConnectingPoint num="0" id="3222" />
+<TGConnectingPoint num="1" id="3223" />
+<TGConnectingPoint num="2" id="3224" />
+<TGConnectingPoint num="3" id="3225" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9007,26 +9160,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3187" >
+<CONNECTOR type="5102" id="3235" >
 <cdparam x="208" y="332" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3186" />
-<P1  x="208" y="332" id="3373" />
-<P2  x="208" y="347" id="3623" />
+<TGConnectingPoint num="0" id="3234" />
+<P1  x="208" y="332" id="3421" />
+<P2  x="208" y="347" id="3671" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3185" >
-<father id="3187" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3233" >
+<father id="3235" num="0" />
 <cdparam x="205" y="343" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3181" />
-<TGConnectingPoint num="1" id="3182" />
-<TGConnectingPoint num="2" id="3183" />
-<TGConnectingPoint num="3" id="3184" />
+<TGConnectingPoint num="0" id="3229" />
+<TGConnectingPoint num="1" id="3230" />
+<TGConnectingPoint num="2" id="3231" />
+<TGConnectingPoint num="3" id="3232" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9037,66 +9190,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3202" >
+<CONNECTOR type="5102" id="3250" >
 <cdparam x="208" y="408" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3197" />
-<TGConnectingPoint num="1" id="3198" />
-<TGConnectingPoint num="2" id="3199" />
-<TGConnectingPoint num="3" id="3200" />
-<TGConnectingPoint num="4" id="3201" />
-<P1  x="208" y="408" id="3613" />
-<P2  x="148" y="324" id="3379" />
+<TGConnectingPoint num="0" id="3245" />
+<TGConnectingPoint num="1" id="3246" />
+<TGConnectingPoint num="2" id="3247" />
+<TGConnectingPoint num="3" id="3248" />
+<TGConnectingPoint num="4" id="3249" />
+<P1  x="208" y="408" id="3661" />
+<P2  x="148" y="324" id="3427" />
 <Point x="208" y="428" />
 <Point x="98" y="428" />
 <Point x="98" y="304" />
 <Point x="128" y="304" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3188" >
-<father id="3202" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3236" >
+<father id="3250" num="0" />
 <cdparam x="208" y="428" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3189" >
-<father id="3202" num="1" />
+<SUBCOMPONENT type="-1" id="3237" >
+<father id="3250" num="1" />
 <cdparam x="98" y="428" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3190" >
-<father id="3202" num="2" />
+<SUBCOMPONENT type="-1" id="3238" >
+<father id="3250" num="2" />
 <cdparam x="98" y="304" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3191" >
-<father id="3202" num="3" />
+<SUBCOMPONENT type="-1" id="3239" >
+<father id="3250" num="3" />
 <cdparam x="128" y="304" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3196" >
-<father id="3202" num="4" />
+<SUBCOMPONENT type="-1" id="3244" >
+<father id="3250" num="4" />
 <cdparam x="99" y="447" />
 <sizeparam width="173" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3192" />
-<TGConnectingPoint num="1" id="3193" />
-<TGConnectingPoint num="2" id="3194" />
-<TGConnectingPoint num="3" id="3195" />
+<TGConnectingPoint num="0" id="3240" />
+<TGConnectingPoint num="1" id="3241" />
+<TGConnectingPoint num="2" id="3242" />
+<TGConnectingPoint num="3" id="3243" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.COLOR_DELAY" enabled="true"/>
@@ -9107,710 +9260,748 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5103" id="3213" >
+<COMPONENT type="5103" id="3261" >
 <cdparam x="458" y="429" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="run_motor2(speed, flagA)" />
-<TGConnectingPoint num="0" id="3203" />
-<TGConnectingPoint num="1" id="3204" />
-<TGConnectingPoint num="2" id="3205" />
-<TGConnectingPoint num="3" id="3206" />
-<TGConnectingPoint num="4" id="3207" />
-<TGConnectingPoint num="5" id="3208" />
-<TGConnectingPoint num="6" id="3209" />
-<TGConnectingPoint num="7" id="3210" />
-<TGConnectingPoint num="8" id="3211" />
-<TGConnectingPoint num="9" id="3212" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3224" >
-<cdparam x="164" y="838" />
+<TGConnectingPoint num="0" id="3251" />
+<TGConnectingPoint num="1" id="3252" />
+<TGConnectingPoint num="2" id="3253" />
+<TGConnectingPoint num="3" id="3254" />
+<TGConnectingPoint num="4" id="3255" />
+<TGConnectingPoint num="5" id="3256" />
+<TGConnectingPoint num="6" id="3257" />
+<TGConnectingPoint num="7" id="3258" />
+<TGConnectingPoint num="8" id="3259" />
+<TGConnectingPoint num="9" id="3260" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3272" >
+<cdparam x="165" y="977" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="turn2(flag, deg)" />
-<TGConnectingPoint num="0" id="3214" />
-<TGConnectingPoint num="1" id="3215" />
-<TGConnectingPoint num="2" id="3216" />
-<TGConnectingPoint num="3" id="3217" />
-<TGConnectingPoint num="4" id="3218" />
-<TGConnectingPoint num="5" id="3219" />
-<TGConnectingPoint num="6" id="3220" />
-<TGConnectingPoint num="7" id="3221" />
-<TGConnectingPoint num="8" id="3222" />
-<TGConnectingPoint num="9" id="3223" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3235" >
-<cdparam x="163" y="790" />
+<TGConnectingPoint num="0" id="3262" />
+<TGConnectingPoint num="1" id="3263" />
+<TGConnectingPoint num="2" id="3264" />
+<TGConnectingPoint num="3" id="3265" />
+<TGConnectingPoint num="4" id="3266" />
+<TGConnectingPoint num="5" id="3267" />
+<TGConnectingPoint num="6" id="3268" />
+<TGConnectingPoint num="7" id="3269" />
+<TGConnectingPoint num="8" id="3270" />
+<TGConnectingPoint num="9" id="3271" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3283" >
+<cdparam x="164" y="929" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="turn1(flag, deg)" />
-<TGConnectingPoint num="0" id="3225" />
-<TGConnectingPoint num="1" id="3226" />
-<TGConnectingPoint num="2" id="3227" />
-<TGConnectingPoint num="3" id="3228" />
-<TGConnectingPoint num="4" id="3229" />
-<TGConnectingPoint num="5" id="3230" />
-<TGConnectingPoint num="6" id="3231" />
-<TGConnectingPoint num="7" id="3232" />
-<TGConnectingPoint num="8" id="3233" />
-<TGConnectingPoint num="9" id="3234" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3246" >
+<TGConnectingPoint num="0" id="3273" />
+<TGConnectingPoint num="1" id="3274" />
+<TGConnectingPoint num="2" id="3275" />
+<TGConnectingPoint num="3" id="3276" />
+<TGConnectingPoint num="4" id="3277" />
+<TGConnectingPoint num="5" id="3278" />
+<TGConnectingPoint num="6" id="3279" />
+<TGConnectingPoint num="7" id="3280" />
+<TGConnectingPoint num="8" id="3281" />
+<TGConnectingPoint num="9" id="3282" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3294" >
 <cdparam x="458" y="380" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="run_motor1(speed, flagA)" />
-<TGConnectingPoint num="0" id="3236" />
-<TGConnectingPoint num="1" id="3237" />
-<TGConnectingPoint num="2" id="3238" />
-<TGConnectingPoint num="3" id="3239" />
-<TGConnectingPoint num="4" id="3240" />
-<TGConnectingPoint num="5" id="3241" />
-<TGConnectingPoint num="6" id="3242" />
-<TGConnectingPoint num="7" id="3243" />
-<TGConnectingPoint num="8" id="3244" />
-<TGConnectingPoint num="9" id="3245" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3287" >
-<cdparam x="167" y="721" />
+<TGConnectingPoint num="0" id="3284" />
+<TGConnectingPoint num="1" id="3285" />
+<TGConnectingPoint num="2" id="3286" />
+<TGConnectingPoint num="3" id="3287" />
+<TGConnectingPoint num="4" id="3288" />
+<TGConnectingPoint num="5" id="3289" />
+<TGConnectingPoint num="6" id="3290" />
+<TGConnectingPoint num="7" id="3291" />
+<TGConnectingPoint num="8" id="3292" />
+<TGConnectingPoint num="9" id="3293" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3335" >
+<cdparam x="168" y="860" />
 <sizeparam width="100" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="TURN_LEFT" />
-<TGConnectingPoint num="0" id="3247" />
-<TGConnectingPoint num="1" id="3248" />
-<TGConnectingPoint num="2" id="3249" />
-<TGConnectingPoint num="3" id="3250" />
-<TGConnectingPoint num="4" id="3251" />
-<TGConnectingPoint num="5" id="3252" />
-<TGConnectingPoint num="6" id="3253" />
-<TGConnectingPoint num="7" id="3254" />
-<TGConnectingPoint num="8" id="3255" />
-<TGConnectingPoint num="9" id="3256" />
-<TGConnectingPoint num="10" id="3257" />
-<TGConnectingPoint num="11" id="3258" />
-<TGConnectingPoint num="12" id="3259" />
-<TGConnectingPoint num="13" id="3260" />
-<TGConnectingPoint num="14" id="3261" />
-<TGConnectingPoint num="15" id="3262" />
-<TGConnectingPoint num="16" id="3263" />
-<TGConnectingPoint num="17" id="3264" />
-<TGConnectingPoint num="18" id="3265" />
-<TGConnectingPoint num="19" id="3266" />
-<TGConnectingPoint num="20" id="3267" />
-<TGConnectingPoint num="21" id="3268" />
-<TGConnectingPoint num="22" id="3269" />
-<TGConnectingPoint num="23" id="3270" />
-<TGConnectingPoint num="24" id="3271" />
-<TGConnectingPoint num="25" id="3272" />
-<TGConnectingPoint num="26" id="3273" />
-<TGConnectingPoint num="27" id="3274" />
-<TGConnectingPoint num="28" id="3275" />
-<TGConnectingPoint num="29" id="3276" />
-<TGConnectingPoint num="30" id="3277" />
-<TGConnectingPoint num="31" id="3278" />
-<TGConnectingPoint num="32" id="3279" />
-<TGConnectingPoint num="33" id="3280" />
-<TGConnectingPoint num="34" id="3281" />
-<TGConnectingPoint num="35" id="3282" />
-<TGConnectingPoint num="36" id="3283" />
-<TGConnectingPoint num="37" id="3284" />
-<TGConnectingPoint num="38" id="3285" />
-<TGConnectingPoint num="39" id="3286" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3328" >
+<TGConnectingPoint num="0" id="3295" />
+<TGConnectingPoint num="1" id="3296" />
+<TGConnectingPoint num="2" id="3297" />
+<TGConnectingPoint num="3" id="3298" />
+<TGConnectingPoint num="4" id="3299" />
+<TGConnectingPoint num="5" id="3300" />
+<TGConnectingPoint num="6" id="3301" />
+<TGConnectingPoint num="7" id="3302" />
+<TGConnectingPoint num="8" id="3303" />
+<TGConnectingPoint num="9" id="3304" />
+<TGConnectingPoint num="10" id="3305" />
+<TGConnectingPoint num="11" id="3306" />
+<TGConnectingPoint num="12" id="3307" />
+<TGConnectingPoint num="13" id="3308" />
+<TGConnectingPoint num="14" id="3309" />
+<TGConnectingPoint num="15" id="3310" />
+<TGConnectingPoint num="16" id="3311" />
+<TGConnectingPoint num="17" id="3312" />
+<TGConnectingPoint num="18" id="3313" />
+<TGConnectingPoint num="19" id="3314" />
+<TGConnectingPoint num="20" id="3315" />
+<TGConnectingPoint num="21" id="3316" />
+<TGConnectingPoint num="22" id="3317" />
+<TGConnectingPoint num="23" id="3318" />
+<TGConnectingPoint num="24" id="3319" />
+<TGConnectingPoint num="25" id="3320" />
+<TGConnectingPoint num="26" id="3321" />
+<TGConnectingPoint num="27" id="3322" />
+<TGConnectingPoint num="28" id="3323" />
+<TGConnectingPoint num="29" id="3324" />
+<TGConnectingPoint num="30" id="3325" />
+<TGConnectingPoint num="31" id="3326" />
+<TGConnectingPoint num="32" id="3327" />
+<TGConnectingPoint num="33" id="3328" />
+<TGConnectingPoint num="34" id="3329" />
+<TGConnectingPoint num="35" id="3330" />
+<TGConnectingPoint num="36" id="3331" />
+<TGConnectingPoint num="37" id="3332" />
+<TGConnectingPoint num="38" id="3333" />
+<TGConnectingPoint num="39" id="3334" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3376" >
 <cdparam x="286" y="488" />
 <sizeparam width="211" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="CHECK_CONTACT" />
-<TGConnectingPoint num="0" id="3288" />
-<TGConnectingPoint num="1" id="3289" />
-<TGConnectingPoint num="2" id="3290" />
-<TGConnectingPoint num="3" id="3291" />
-<TGConnectingPoint num="4" id="3292" />
-<TGConnectingPoint num="5" id="3293" />
-<TGConnectingPoint num="6" id="3294" />
-<TGConnectingPoint num="7" id="3295" />
-<TGConnectingPoint num="8" id="3296" />
-<TGConnectingPoint num="9" id="3297" />
-<TGConnectingPoint num="10" id="3298" />
-<TGConnectingPoint num="11" id="3299" />
-<TGConnectingPoint num="12" id="3300" />
-<TGConnectingPoint num="13" id="3301" />
-<TGConnectingPoint num="14" id="3302" />
-<TGConnectingPoint num="15" id="3303" />
-<TGConnectingPoint num="16" id="3304" />
-<TGConnectingPoint num="17" id="3305" />
-<TGConnectingPoint num="18" id="3306" />
-<TGConnectingPoint num="19" id="3307" />
-<TGConnectingPoint num="20" id="3308" />
-<TGConnectingPoint num="21" id="3309" />
-<TGConnectingPoint num="22" id="3310" />
-<TGConnectingPoint num="23" id="3311" />
-<TGConnectingPoint num="24" id="3312" />
-<TGConnectingPoint num="25" id="3313" />
-<TGConnectingPoint num="26" id="3314" />
-<TGConnectingPoint num="27" id="3315" />
-<TGConnectingPoint num="28" id="3316" />
-<TGConnectingPoint num="29" id="3317" />
-<TGConnectingPoint num="30" id="3318" />
-<TGConnectingPoint num="31" id="3319" />
-<TGConnectingPoint num="32" id="3320" />
-<TGConnectingPoint num="33" id="3321" />
-<TGConnectingPoint num="34" id="3322" />
-<TGConnectingPoint num="35" id="3323" />
-<TGConnectingPoint num="36" id="3324" />
-<TGConnectingPoint num="37" id="3325" />
-<TGConnectingPoint num="38" id="3326" />
-<TGConnectingPoint num="39" id="3327" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="3344" >
+<TGConnectingPoint num="0" id="3336" />
+<TGConnectingPoint num="1" id="3337" />
+<TGConnectingPoint num="2" id="3338" />
+<TGConnectingPoint num="3" id="3339" />
+<TGConnectingPoint num="4" id="3340" />
+<TGConnectingPoint num="5" id="3341" />
+<TGConnectingPoint num="6" id="3342" />
+<TGConnectingPoint num="7" id="3343" />
+<TGConnectingPoint num="8" id="3344" />
+<TGConnectingPoint num="9" id="3345" />
+<TGConnectingPoint num="10" id="3346" />
+<TGConnectingPoint num="11" id="3347" />
+<TGConnectingPoint num="12" id="3348" />
+<TGConnectingPoint num="13" id="3349" />
+<TGConnectingPoint num="14" id="3350" />
+<TGConnectingPoint num="15" id="3351" />
+<TGConnectingPoint num="16" id="3352" />
+<TGConnectingPoint num="17" id="3353" />
+<TGConnectingPoint num="18" id="3354" />
+<TGConnectingPoint num="19" id="3355" />
+<TGConnectingPoint num="20" id="3356" />
+<TGConnectingPoint num="21" id="3357" />
+<TGConnectingPoint num="22" id="3358" />
+<TGConnectingPoint num="23" id="3359" />
+<TGConnectingPoint num="24" id="3360" />
+<TGConnectingPoint num="25" id="3361" />
+<TGConnectingPoint num="26" id="3362" />
+<TGConnectingPoint num="27" id="3363" />
+<TGConnectingPoint num="28" id="3364" />
+<TGConnectingPoint num="29" id="3365" />
+<TGConnectingPoint num="30" id="3366" />
+<TGConnectingPoint num="31" id="3367" />
+<TGConnectingPoint num="32" id="3368" />
+<TGConnectingPoint num="33" id="3369" />
+<TGConnectingPoint num="34" id="3370" />
+<TGConnectingPoint num="35" id="3371" />
+<TGConnectingPoint num="36" id="3372" />
+<TGConnectingPoint num="37" id="3373" />
+<TGConnectingPoint num="38" id="3374" />
+<TGConnectingPoint num="39" id="3375" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="3392" >
 <cdparam x="378" y="657" />
 <sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="3329" />
-<TGConnectingPoint num="1" id="3330" />
-<TGConnectingPoint num="2" id="3331" />
-<TGConnectingPoint num="3" id="3332" />
-<TGConnectingPoint num="4" id="3333" />
-<TGConnectingPoint num="5" id="3334" />
-<TGConnectingPoint num="6" id="3335" />
-<TGConnectingPoint num="7" id="3336" />
-<TGConnectingPoint num="8" id="3337" />
-<TGConnectingPoint num="9" id="3338" />
-<TGConnectingPoint num="10" id="3339" />
-<TGConnectingPoint num="11" id="3340" />
-<TGConnectingPoint num="12" id="3341" />
-<TGConnectingPoint num="13" id="3342" />
-<TGConnectingPoint num="14" id="3343" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3355" >
+<TGConnectingPoint num="0" id="3377" />
+<TGConnectingPoint num="1" id="3378" />
+<TGConnectingPoint num="2" id="3379" />
+<TGConnectingPoint num="3" id="3380" />
+<TGConnectingPoint num="4" id="3381" />
+<TGConnectingPoint num="5" id="3382" />
+<TGConnectingPoint num="6" id="3383" />
+<TGConnectingPoint num="7" id="3384" />
+<TGConnectingPoint num="8" id="3385" />
+<TGConnectingPoint num="9" id="3386" />
+<TGConnectingPoint num="10" id="3387" />
+<TGConnectingPoint num="11" id="3388" />
+<TGConnectingPoint num="12" id="3389" />
+<TGConnectingPoint num="13" id="3390" />
+<TGConnectingPoint num="14" id="3391" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3403" >
 <cdparam x="253" y="585" />
 <sizeparam width="280" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="receiveContact(contact, hasBeenPushed)" />
-<TGConnectingPoint num="0" id="3345" />
-<TGConnectingPoint num="1" id="3346" />
-<TGConnectingPoint num="2" id="3347" />
-<TGConnectingPoint num="3" id="3348" />
-<TGConnectingPoint num="4" id="3349" />
-<TGConnectingPoint num="5" id="3350" />
-<TGConnectingPoint num="6" id="3351" />
-<TGConnectingPoint num="7" id="3352" />
-<TGConnectingPoint num="8" id="3353" />
-<TGConnectingPoint num="9" id="3354" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3366" >
+<TGConnectingPoint num="0" id="3393" />
+<TGConnectingPoint num="1" id="3394" />
+<TGConnectingPoint num="2" id="3395" />
+<TGConnectingPoint num="3" id="3396" />
+<TGConnectingPoint num="4" id="3397" />
+<TGConnectingPoint num="5" id="3398" />
+<TGConnectingPoint num="6" id="3399" />
+<TGConnectingPoint num="7" id="3400" />
+<TGConnectingPoint num="8" id="3401" />
+<TGConnectingPoint num="9" id="3402" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3414" >
 <cdparam x="313" y="540" />
 <sizeparam width="159" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="ready_to_receive_cont()" />
-<TGConnectingPoint num="0" id="3356" />
-<TGConnectingPoint num="1" id="3357" />
-<TGConnectingPoint num="2" id="3358" />
-<TGConnectingPoint num="3" id="3359" />
-<TGConnectingPoint num="4" id="3360" />
-<TGConnectingPoint num="5" id="3361" />
-<TGConnectingPoint num="6" id="3362" />
-<TGConnectingPoint num="7" id="3363" />
-<TGConnectingPoint num="8" id="3364" />
-<TGConnectingPoint num="9" id="3365" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3407" >
+<TGConnectingPoint num="0" id="3404" />
+<TGConnectingPoint num="1" id="3405" />
+<TGConnectingPoint num="2" id="3406" />
+<TGConnectingPoint num="3" id="3407" />
+<TGConnectingPoint num="4" id="3408" />
+<TGConnectingPoint num="5" id="3409" />
+<TGConnectingPoint num="6" id="3410" />
+<TGConnectingPoint num="7" id="3411" />
+<TGConnectingPoint num="8" id="3412" />
+<TGConnectingPoint num="9" id="3413" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3455" >
 <cdparam x="148" y="302" />
 <sizeparam width="121" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="CHECK_COLOR" />
-<TGConnectingPoint num="0" id="3367" />
-<TGConnectingPoint num="1" id="3368" />
-<TGConnectingPoint num="2" id="3369" />
-<TGConnectingPoint num="3" id="3370" />
-<TGConnectingPoint num="4" id="3371" />
-<TGConnectingPoint num="5" id="3372" />
-<TGConnectingPoint num="6" id="3373" />
-<TGConnectingPoint num="7" id="3374" />
-<TGConnectingPoint num="8" id="3375" />
-<TGConnectingPoint num="9" id="3376" />
-<TGConnectingPoint num="10" id="3377" />
-<TGConnectingPoint num="11" id="3378" />
-<TGConnectingPoint num="12" id="3379" />
-<TGConnectingPoint num="13" id="3380" />
-<TGConnectingPoint num="14" id="3381" />
-<TGConnectingPoint num="15" id="3382" />
-<TGConnectingPoint num="16" id="3383" />
-<TGConnectingPoint num="17" id="3384" />
-<TGConnectingPoint num="18" id="3385" />
-<TGConnectingPoint num="19" id="3386" />
-<TGConnectingPoint num="20" id="3387" />
-<TGConnectingPoint num="21" id="3388" />
-<TGConnectingPoint num="22" id="3389" />
-<TGConnectingPoint num="23" id="3390" />
-<TGConnectingPoint num="24" id="3391" />
-<TGConnectingPoint num="25" id="3392" />
-<TGConnectingPoint num="26" id="3393" />
-<TGConnectingPoint num="27" id="3394" />
-<TGConnectingPoint num="28" id="3395" />
-<TGConnectingPoint num="29" id="3396" />
-<TGConnectingPoint num="30" id="3397" />
-<TGConnectingPoint num="31" id="3398" />
-<TGConnectingPoint num="32" id="3399" />
-<TGConnectingPoint num="33" id="3400" />
-<TGConnectingPoint num="34" id="3401" />
-<TGConnectingPoint num="35" id="3402" />
-<TGConnectingPoint num="36" id="3403" />
-<TGConnectingPoint num="37" id="3404" />
-<TGConnectingPoint num="38" id="3405" />
-<TGConnectingPoint num="39" id="3406" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="3423" >
+<TGConnectingPoint num="0" id="3415" />
+<TGConnectingPoint num="1" id="3416" />
+<TGConnectingPoint num="2" id="3417" />
+<TGConnectingPoint num="3" id="3418" />
+<TGConnectingPoint num="4" id="3419" />
+<TGConnectingPoint num="5" id="3420" />
+<TGConnectingPoint num="6" id="3421" />
+<TGConnectingPoint num="7" id="3422" />
+<TGConnectingPoint num="8" id="3423" />
+<TGConnectingPoint num="9" id="3424" />
+<TGConnectingPoint num="10" id="3425" />
+<TGConnectingPoint num="11" id="3426" />
+<TGConnectingPoint num="12" id="3427" />
+<TGConnectingPoint num="13" id="3428" />
+<TGConnectingPoint num="14" id="3429" />
+<TGConnectingPoint num="15" id="3430" />
+<TGConnectingPoint num="16" id="3431" />
+<TGConnectingPoint num="17" id="3432" />
+<TGConnectingPoint num="18" id="3433" />
+<TGConnectingPoint num="19" id="3434" />
+<TGConnectingPoint num="20" id="3435" />
+<TGConnectingPoint num="21" id="3436" />
+<TGConnectingPoint num="22" id="3437" />
+<TGConnectingPoint num="23" id="3438" />
+<TGConnectingPoint num="24" id="3439" />
+<TGConnectingPoint num="25" id="3440" />
+<TGConnectingPoint num="26" id="3441" />
+<TGConnectingPoint num="27" id="3442" />
+<TGConnectingPoint num="28" id="3443" />
+<TGConnectingPoint num="29" id="3444" />
+<TGConnectingPoint num="30" id="3445" />
+<TGConnectingPoint num="31" id="3446" />
+<TGConnectingPoint num="32" id="3447" />
+<TGConnectingPoint num="33" id="3448" />
+<TGConnectingPoint num="34" id="3449" />
+<TGConnectingPoint num="35" id="3450" />
+<TGConnectingPoint num="36" id="3451" />
+<TGConnectingPoint num="37" id="3452" />
+<TGConnectingPoint num="38" id="3453" />
+<TGConnectingPoint num="39" id="3454" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="3471" >
 <cdparam x="371" y="253" />
 <sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="3408" />
-<TGConnectingPoint num="1" id="3409" />
-<TGConnectingPoint num="2" id="3410" />
-<TGConnectingPoint num="3" id="3411" />
-<TGConnectingPoint num="4" id="3412" />
-<TGConnectingPoint num="5" id="3413" />
-<TGConnectingPoint num="6" id="3414" />
-<TGConnectingPoint num="7" id="3415" />
-<TGConnectingPoint num="8" id="3416" />
-<TGConnectingPoint num="9" id="3417" />
-<TGConnectingPoint num="10" id="3418" />
-<TGConnectingPoint num="11" id="3419" />
-<TGConnectingPoint num="12" id="3420" />
-<TGConnectingPoint num="13" id="3421" />
-<TGConnectingPoint num="14" id="3422" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3434" >
+<TGConnectingPoint num="0" id="3456" />
+<TGConnectingPoint num="1" id="3457" />
+<TGConnectingPoint num="2" id="3458" />
+<TGConnectingPoint num="3" id="3459" />
+<TGConnectingPoint num="4" id="3460" />
+<TGConnectingPoint num="5" id="3461" />
+<TGConnectingPoint num="6" id="3462" />
+<TGConnectingPoint num="7" id="3463" />
+<TGConnectingPoint num="8" id="3464" />
+<TGConnectingPoint num="9" id="3465" />
+<TGConnectingPoint num="10" id="3466" />
+<TGConnectingPoint num="11" id="3467" />
+<TGConnectingPoint num="12" id="3468" />
+<TGConnectingPoint num="13" id="3469" />
+<TGConnectingPoint num="14" id="3470" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3482" >
 <cdparam x="295" y="189" />
 <sizeparam width="182" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="receiveDistance(distance)" />
-<TGConnectingPoint num="0" id="3424" />
-<TGConnectingPoint num="1" id="3425" />
-<TGConnectingPoint num="2" id="3426" />
-<TGConnectingPoint num="3" id="3427" />
-<TGConnectingPoint num="4" id="3428" />
-<TGConnectingPoint num="5" id="3429" />
-<TGConnectingPoint num="6" id="3430" />
-<TGConnectingPoint num="7" id="3431" />
-<TGConnectingPoint num="8" id="3432" />
-<TGConnectingPoint num="9" id="3433" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3445" >
+<TGConnectingPoint num="0" id="3472" />
+<TGConnectingPoint num="1" id="3473" />
+<TGConnectingPoint num="2" id="3474" />
+<TGConnectingPoint num="3" id="3475" />
+<TGConnectingPoint num="4" id="3476" />
+<TGConnectingPoint num="5" id="3477" />
+<TGConnectingPoint num="6" id="3478" />
+<TGConnectingPoint num="7" id="3479" />
+<TGConnectingPoint num="8" id="3480" />
+<TGConnectingPoint num="9" id="3481" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3493" >
 <cdparam x="309" y="158" />
 <sizeparam width="154" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="ready_to_receive_dist()" />
-<TGConnectingPoint num="0" id="3435" />
-<TGConnectingPoint num="1" id="3436" />
-<TGConnectingPoint num="2" id="3437" />
-<TGConnectingPoint num="3" id="3438" />
-<TGConnectingPoint num="4" id="3439" />
-<TGConnectingPoint num="5" id="3440" />
-<TGConnectingPoint num="6" id="3441" />
-<TGConnectingPoint num="7" id="3442" />
-<TGConnectingPoint num="8" id="3443" />
-<TGConnectingPoint num="9" id="3444" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3486" >
+<TGConnectingPoint num="0" id="3483" />
+<TGConnectingPoint num="1" id="3484" />
+<TGConnectingPoint num="2" id="3485" />
+<TGConnectingPoint num="3" id="3486" />
+<TGConnectingPoint num="4" id="3487" />
+<TGConnectingPoint num="5" id="3488" />
+<TGConnectingPoint num="6" id="3489" />
+<TGConnectingPoint num="7" id="3490" />
+<TGConnectingPoint num="8" id="3491" />
+<TGConnectingPoint num="9" id="3492" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3534" >
 <cdparam x="293" y="116" />
 <sizeparam width="187" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="CHECK_ENVIRONMENT" />
-<TGConnectingPoint num="0" id="3446" />
-<TGConnectingPoint num="1" id="3447" />
-<TGConnectingPoint num="2" id="3448" />
-<TGConnectingPoint num="3" id="3449" />
-<TGConnectingPoint num="4" id="3450" />
-<TGConnectingPoint num="5" id="3451" />
-<TGConnectingPoint num="6" id="3452" />
-<TGConnectingPoint num="7" id="3453" />
-<TGConnectingPoint num="8" id="3454" />
-<TGConnectingPoint num="9" id="3455" />
-<TGConnectingPoint num="10" id="3456" />
-<TGConnectingPoint num="11" id="3457" />
-<TGConnectingPoint num="12" id="3458" />
-<TGConnectingPoint num="13" id="3459" />
-<TGConnectingPoint num="14" id="3460" />
-<TGConnectingPoint num="15" id="3461" />
-<TGConnectingPoint num="16" id="3462" />
-<TGConnectingPoint num="17" id="3463" />
-<TGConnectingPoint num="18" id="3464" />
-<TGConnectingPoint num="19" id="3465" />
-<TGConnectingPoint num="20" id="3466" />
-<TGConnectingPoint num="21" id="3467" />
-<TGConnectingPoint num="22" id="3468" />
-<TGConnectingPoint num="23" id="3469" />
-<TGConnectingPoint num="24" id="3470" />
-<TGConnectingPoint num="25" id="3471" />
-<TGConnectingPoint num="26" id="3472" />
-<TGConnectingPoint num="27" id="3473" />
-<TGConnectingPoint num="28" id="3474" />
-<TGConnectingPoint num="29" id="3475" />
-<TGConnectingPoint num="30" id="3476" />
-<TGConnectingPoint num="31" id="3477" />
-<TGConnectingPoint num="32" id="3478" />
-<TGConnectingPoint num="33" id="3479" />
-<TGConnectingPoint num="34" id="3480" />
-<TGConnectingPoint num="35" id="3481" />
-<TGConnectingPoint num="36" id="3482" />
-<TGConnectingPoint num="37" id="3483" />
-<TGConnectingPoint num="38" id="3484" />
-<TGConnectingPoint num="39" id="3485" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3527" >
+<TGConnectingPoint num="0" id="3494" />
+<TGConnectingPoint num="1" id="3495" />
+<TGConnectingPoint num="2" id="3496" />
+<TGConnectingPoint num="3" id="3497" />
+<TGConnectingPoint num="4" id="3498" />
+<TGConnectingPoint num="5" id="3499" />
+<TGConnectingPoint num="6" id="3500" />
+<TGConnectingPoint num="7" id="3501" />
+<TGConnectingPoint num="8" id="3502" />
+<TGConnectingPoint num="9" id="3503" />
+<TGConnectingPoint num="10" id="3504" />
+<TGConnectingPoint num="11" id="3505" />
+<TGConnectingPoint num="12" id="3506" />
+<TGConnectingPoint num="13" id="3507" />
+<TGConnectingPoint num="14" id="3508" />
+<TGConnectingPoint num="15" id="3509" />
+<TGConnectingPoint num="16" id="3510" />
+<TGConnectingPoint num="17" id="3511" />
+<TGConnectingPoint num="18" id="3512" />
+<TGConnectingPoint num="19" id="3513" />
+<TGConnectingPoint num="20" id="3514" />
+<TGConnectingPoint num="21" id="3515" />
+<TGConnectingPoint num="22" id="3516" />
+<TGConnectingPoint num="23" id="3517" />
+<TGConnectingPoint num="24" id="3518" />
+<TGConnectingPoint num="25" id="3519" />
+<TGConnectingPoint num="26" id="3520" />
+<TGConnectingPoint num="27" id="3521" />
+<TGConnectingPoint num="28" id="3522" />
+<TGConnectingPoint num="29" id="3523" />
+<TGConnectingPoint num="30" id="3524" />
+<TGConnectingPoint num="31" id="3525" />
+<TGConnectingPoint num="32" id="3526" />
+<TGConnectingPoint num="33" id="3527" />
+<TGConnectingPoint num="34" id="3528" />
+<TGConnectingPoint num="35" id="3529" />
+<TGConnectingPoint num="36" id="3530" />
+<TGConnectingPoint num="37" id="3531" />
+<TGConnectingPoint num="38" id="3532" />
+<TGConnectingPoint num="39" id="3533" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3575" >
 <cdparam x="465" y="723" />
 <sizeparam width="141" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="MOTOR_OFF" />
-<TGConnectingPoint num="0" id="3487" />
-<TGConnectingPoint num="1" id="3488" />
-<TGConnectingPoint num="2" id="3489" />
-<TGConnectingPoint num="3" id="3490" />
-<TGConnectingPoint num="4" id="3491" />
-<TGConnectingPoint num="5" id="3492" />
-<TGConnectingPoint num="6" id="3493" />
-<TGConnectingPoint num="7" id="3494" />
-<TGConnectingPoint num="8" id="3495" />
-<TGConnectingPoint num="9" id="3496" />
-<TGConnectingPoint num="10" id="3497" />
-<TGConnectingPoint num="11" id="3498" />
-<TGConnectingPoint num="12" id="3499" />
-<TGConnectingPoint num="13" id="3500" />
-<TGConnectingPoint num="14" id="3501" />
-<TGConnectingPoint num="15" id="3502" />
-<TGConnectingPoint num="16" id="3503" />
-<TGConnectingPoint num="17" id="3504" />
-<TGConnectingPoint num="18" id="3505" />
-<TGConnectingPoint num="19" id="3506" />
-<TGConnectingPoint num="20" id="3507" />
-<TGConnectingPoint num="21" id="3508" />
-<TGConnectingPoint num="22" id="3509" />
-<TGConnectingPoint num="23" id="3510" />
-<TGConnectingPoint num="24" id="3511" />
-<TGConnectingPoint num="25" id="3512" />
-<TGConnectingPoint num="26" id="3513" />
-<TGConnectingPoint num="27" id="3514" />
-<TGConnectingPoint num="28" id="3515" />
-<TGConnectingPoint num="29" id="3516" />
-<TGConnectingPoint num="30" id="3517" />
-<TGConnectingPoint num="31" id="3518" />
-<TGConnectingPoint num="32" id="3519" />
-<TGConnectingPoint num="33" id="3520" />
-<TGConnectingPoint num="34" id="3521" />
-<TGConnectingPoint num="35" id="3522" />
-<TGConnectingPoint num="36" id="3523" />
-<TGConnectingPoint num="37" id="3524" />
-<TGConnectingPoint num="38" id="3525" />
-<TGConnectingPoint num="39" id="3526" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="3529" >
+<TGConnectingPoint num="0" id="3535" />
+<TGConnectingPoint num="1" id="3536" />
+<TGConnectingPoint num="2" id="3537" />
+<TGConnectingPoint num="3" id="3538" />
+<TGConnectingPoint num="4" id="3539" />
+<TGConnectingPoint num="5" id="3540" />
+<TGConnectingPoint num="6" id="3541" />
+<TGConnectingPoint num="7" id="3542" />
+<TGConnectingPoint num="8" id="3543" />
+<TGConnectingPoint num="9" id="3544" />
+<TGConnectingPoint num="10" id="3545" />
+<TGConnectingPoint num="11" id="3546" />
+<TGConnectingPoint num="12" id="3547" />
+<TGConnectingPoint num="13" id="3548" />
+<TGConnectingPoint num="14" id="3549" />
+<TGConnectingPoint num="15" id="3550" />
+<TGConnectingPoint num="16" id="3551" />
+<TGConnectingPoint num="17" id="3552" />
+<TGConnectingPoint num="18" id="3553" />
+<TGConnectingPoint num="19" id="3554" />
+<TGConnectingPoint num="20" id="3555" />
+<TGConnectingPoint num="21" id="3556" />
+<TGConnectingPoint num="22" id="3557" />
+<TGConnectingPoint num="23" id="3558" />
+<TGConnectingPoint num="24" id="3559" />
+<TGConnectingPoint num="25" id="3560" />
+<TGConnectingPoint num="26" id="3561" />
+<TGConnectingPoint num="27" id="3562" />
+<TGConnectingPoint num="28" id="3563" />
+<TGConnectingPoint num="29" id="3564" />
+<TGConnectingPoint num="30" id="3565" />
+<TGConnectingPoint num="31" id="3566" />
+<TGConnectingPoint num="32" id="3567" />
+<TGConnectingPoint num="33" id="3568" />
+<TGConnectingPoint num="34" id="3569" />
+<TGConnectingPoint num="35" id="3570" />
+<TGConnectingPoint num="36" id="3571" />
+<TGConnectingPoint num="37" id="3572" />
+<TGConnectingPoint num="38" id="3573" />
+<TGConnectingPoint num="39" id="3574" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3577" >
 <cdparam x="379" y="27" />
 <sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3528" />
+<TGConnectingPoint num="0" id="3576" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="3570" >
+<COMPONENT type="5106" id="3618" >
 <cdparam x="357" y="62" />
 <sizeparam width="58" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="START" />
-<TGConnectingPoint num="0" id="3530" />
-<TGConnectingPoint num="1" id="3531" />
-<TGConnectingPoint num="2" id="3532" />
-<TGConnectingPoint num="3" id="3533" />
-<TGConnectingPoint num="4" id="3534" />
-<TGConnectingPoint num="5" id="3535" />
-<TGConnectingPoint num="6" id="3536" />
-<TGConnectingPoint num="7" id="3537" />
-<TGConnectingPoint num="8" id="3538" />
-<TGConnectingPoint num="9" id="3539" />
-<TGConnectingPoint num="10" id="3540" />
-<TGConnectingPoint num="11" id="3541" />
-<TGConnectingPoint num="12" id="3542" />
-<TGConnectingPoint num="13" id="3543" />
-<TGConnectingPoint num="14" id="3544" />
-<TGConnectingPoint num="15" id="3545" />
-<TGConnectingPoint num="16" id="3546" />
-<TGConnectingPoint num="17" id="3547" />
-<TGConnectingPoint num="18" id="3548" />
-<TGConnectingPoint num="19" id="3549" />
-<TGConnectingPoint num="20" id="3550" />
-<TGConnectingPoint num="21" id="3551" />
-<TGConnectingPoint num="22" id="3552" />
-<TGConnectingPoint num="23" id="3553" />
-<TGConnectingPoint num="24" id="3554" />
-<TGConnectingPoint num="25" id="3555" />
-<TGConnectingPoint num="26" id="3556" />
-<TGConnectingPoint num="27" id="3557" />
-<TGConnectingPoint num="28" id="3558" />
-<TGConnectingPoint num="29" id="3559" />
-<TGConnectingPoint num="30" id="3560" />
-<TGConnectingPoint num="31" id="3561" />
-<TGConnectingPoint num="32" id="3562" />
-<TGConnectingPoint num="33" id="3563" />
-<TGConnectingPoint num="34" id="3564" />
-<TGConnectingPoint num="35" id="3565" />
-<TGConnectingPoint num="36" id="3566" />
-<TGConnectingPoint num="37" id="3567" />
-<TGConnectingPoint num="38" id="3568" />
-<TGConnectingPoint num="39" id="3569" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3611" >
+<TGConnectingPoint num="0" id="3578" />
+<TGConnectingPoint num="1" id="3579" />
+<TGConnectingPoint num="2" id="3580" />
+<TGConnectingPoint num="3" id="3581" />
+<TGConnectingPoint num="4" id="3582" />
+<TGConnectingPoint num="5" id="3583" />
+<TGConnectingPoint num="6" id="3584" />
+<TGConnectingPoint num="7" id="3585" />
+<TGConnectingPoint num="8" id="3586" />
+<TGConnectingPoint num="9" id="3587" />
+<TGConnectingPoint num="10" id="3588" />
+<TGConnectingPoint num="11" id="3589" />
+<TGConnectingPoint num="12" id="3590" />
+<TGConnectingPoint num="13" id="3591" />
+<TGConnectingPoint num="14" id="3592" />
+<TGConnectingPoint num="15" id="3593" />
+<TGConnectingPoint num="16" id="3594" />
+<TGConnectingPoint num="17" id="3595" />
+<TGConnectingPoint num="18" id="3596" />
+<TGConnectingPoint num="19" id="3597" />
+<TGConnectingPoint num="20" id="3598" />
+<TGConnectingPoint num="21" id="3599" />
+<TGConnectingPoint num="22" id="3600" />
+<TGConnectingPoint num="23" id="3601" />
+<TGConnectingPoint num="24" id="3602" />
+<TGConnectingPoint num="25" id="3603" />
+<TGConnectingPoint num="26" id="3604" />
+<TGConnectingPoint num="27" id="3605" />
+<TGConnectingPoint num="28" id="3606" />
+<TGConnectingPoint num="29" id="3607" />
+<TGConnectingPoint num="30" id="3608" />
+<TGConnectingPoint num="31" id="3609" />
+<TGConnectingPoint num="32" id="3610" />
+<TGConnectingPoint num="33" id="3611" />
+<TGConnectingPoint num="34" id="3612" />
+<TGConnectingPoint num="35" id="3613" />
+<TGConnectingPoint num="36" id="3614" />
+<TGConnectingPoint num="37" id="3615" />
+<TGConnectingPoint num="38" id="3616" />
+<TGConnectingPoint num="39" id="3617" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3659" >
 <cdparam x="469" y="304" />
 <sizeparam width="148" height="42" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="state0" value="GO_FORWARD" />
-<TGConnectingPoint num="0" id="3571" />
-<TGConnectingPoint num="1" id="3572" />
-<TGConnectingPoint num="2" id="3573" />
-<TGConnectingPoint num="3" id="3574" />
-<TGConnectingPoint num="4" id="3575" />
-<TGConnectingPoint num="5" id="3576" />
-<TGConnectingPoint num="6" id="3577" />
-<TGConnectingPoint num="7" id="3578" />
-<TGConnectingPoint num="8" id="3579" />
-<TGConnectingPoint num="9" id="3580" />
-<TGConnectingPoint num="10" id="3581" />
-<TGConnectingPoint num="11" id="3582" />
-<TGConnectingPoint num="12" id="3583" />
-<TGConnectingPoint num="13" id="3584" />
-<TGConnectingPoint num="14" id="3585" />
-<TGConnectingPoint num="15" id="3586" />
-<TGConnectingPoint num="16" id="3587" />
-<TGConnectingPoint num="17" id="3588" />
-<TGConnectingPoint num="18" id="3589" />
-<TGConnectingPoint num="19" id="3590" />
-<TGConnectingPoint num="20" id="3591" />
-<TGConnectingPoint num="21" id="3592" />
-<TGConnectingPoint num="22" id="3593" />
-<TGConnectingPoint num="23" id="3594" />
-<TGConnectingPoint num="24" id="3595" />
-<TGConnectingPoint num="25" id="3596" />
-<TGConnectingPoint num="26" id="3597" />
-<TGConnectingPoint num="27" id="3598" />
-<TGConnectingPoint num="28" id="3599" />
-<TGConnectingPoint num="29" id="3600" />
-<TGConnectingPoint num="30" id="3601" />
-<TGConnectingPoint num="31" id="3602" />
-<TGConnectingPoint num="32" id="3603" />
-<TGConnectingPoint num="33" id="3604" />
-<TGConnectingPoint num="34" id="3605" />
-<TGConnectingPoint num="35" id="3606" />
-<TGConnectingPoint num="36" id="3607" />
-<TGConnectingPoint num="37" id="3608" />
-<TGConnectingPoint num="38" id="3609" />
-<TGConnectingPoint num="39" id="3610" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="3622" >
+<infoparam name="state0" value="GO_FORWARDS" />
+<TGConnectingPoint num="0" id="3619" />
+<TGConnectingPoint num="1" id="3620" />
+<TGConnectingPoint num="2" id="3621" />
+<TGConnectingPoint num="3" id="3622" />
+<TGConnectingPoint num="4" id="3623" />
+<TGConnectingPoint num="5" id="3624" />
+<TGConnectingPoint num="6" id="3625" />
+<TGConnectingPoint num="7" id="3626" />
+<TGConnectingPoint num="8" id="3627" />
+<TGConnectingPoint num="9" id="3628" />
+<TGConnectingPoint num="10" id="3629" />
+<TGConnectingPoint num="11" id="3630" />
+<TGConnectingPoint num="12" id="3631" />
+<TGConnectingPoint num="13" id="3632" />
+<TGConnectingPoint num="14" id="3633" />
+<TGConnectingPoint num="15" id="3634" />
+<TGConnectingPoint num="16" id="3635" />
+<TGConnectingPoint num="17" id="3636" />
+<TGConnectingPoint num="18" id="3637" />
+<TGConnectingPoint num="19" id="3638" />
+<TGConnectingPoint num="20" id="3639" />
+<TGConnectingPoint num="21" id="3640" />
+<TGConnectingPoint num="22" id="3641" />
+<TGConnectingPoint num="23" id="3642" />
+<TGConnectingPoint num="24" id="3643" />
+<TGConnectingPoint num="25" id="3644" />
+<TGConnectingPoint num="26" id="3645" />
+<TGConnectingPoint num="27" id="3646" />
+<TGConnectingPoint num="28" id="3647" />
+<TGConnectingPoint num="29" id="3648" />
+<TGConnectingPoint num="30" id="3649" />
+<TGConnectingPoint num="31" id="3650" />
+<TGConnectingPoint num="32" id="3651" />
+<TGConnectingPoint num="33" id="3652" />
+<TGConnectingPoint num="34" id="3653" />
+<TGConnectingPoint num="35" id="3654" />
+<TGConnectingPoint num="36" id="3655" />
+<TGConnectingPoint num="37" id="3656" />
+<TGConnectingPoint num="38" id="3657" />
+<TGConnectingPoint num="39" id="3658" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="3670" >
 <cdparam x="140" y="383" />
 <sizeparam width="136" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="receiveColor(color)" />
-<TGConnectingPoint num="0" id="3612" />
-<TGConnectingPoint num="1" id="3613" />
-<TGConnectingPoint num="2" id="3614" />
-<TGConnectingPoint num="3" id="3615" />
-<TGConnectingPoint num="4" id="3616" />
-<TGConnectingPoint num="5" id="3617" />
-<TGConnectingPoint num="6" id="3618" />
-<TGConnectingPoint num="7" id="3619" />
-<TGConnectingPoint num="8" id="3620" />
-<TGConnectingPoint num="9" id="3621" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3633" >
+<TGConnectingPoint num="0" id="3660" />
+<TGConnectingPoint num="1" id="3661" />
+<TGConnectingPoint num="2" id="3662" />
+<TGConnectingPoint num="3" id="3663" />
+<TGConnectingPoint num="4" id="3664" />
+<TGConnectingPoint num="5" id="3665" />
+<TGConnectingPoint num="6" id="3666" />
+<TGConnectingPoint num="7" id="3667" />
+<TGConnectingPoint num="8" id="3668" />
+<TGConnectingPoint num="9" id="3669" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3681" >
 <cdparam x="127" y="352" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="ready_to_receive_color()" />
-<TGConnectingPoint num="0" id="3623" />
-<TGConnectingPoint num="1" id="3624" />
-<TGConnectingPoint num="2" id="3625" />
-<TGConnectingPoint num="3" id="3626" />
-<TGConnectingPoint num="4" id="3627" />
-<TGConnectingPoint num="5" id="3628" />
-<TGConnectingPoint num="6" id="3629" />
-<TGConnectingPoint num="7" id="3630" />
-<TGConnectingPoint num="8" id="3631" />
-<TGConnectingPoint num="9" id="3632" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3644" >
+<TGConnectingPoint num="0" id="3671" />
+<TGConnectingPoint num="1" id="3672" />
+<TGConnectingPoint num="2" id="3673" />
+<TGConnectingPoint num="3" id="3674" />
+<TGConnectingPoint num="4" id="3675" />
+<TGConnectingPoint num="5" id="3676" />
+<TGConnectingPoint num="6" id="3677" />
+<TGConnectingPoint num="7" id="3678" />
+<TGConnectingPoint num="8" id="3679" />
+<TGConnectingPoint num="9" id="3680" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3692" >
 <cdparam x="450" y="832" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="run_motor2(speed, flagA)" />
-<TGConnectingPoint num="0" id="3634" />
-<TGConnectingPoint num="1" id="3635" />
-<TGConnectingPoint num="2" id="3636" />
-<TGConnectingPoint num="3" id="3637" />
-<TGConnectingPoint num="4" id="3638" />
-<TGConnectingPoint num="5" id="3639" />
-<TGConnectingPoint num="6" id="3640" />
-<TGConnectingPoint num="7" id="3641" />
-<TGConnectingPoint num="8" id="3642" />
-<TGConnectingPoint num="9" id="3643" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="3655" >
+<TGConnectingPoint num="0" id="3682" />
+<TGConnectingPoint num="1" id="3683" />
+<TGConnectingPoint num="2" id="3684" />
+<TGConnectingPoint num="3" id="3685" />
+<TGConnectingPoint num="4" id="3686" />
+<TGConnectingPoint num="5" id="3687" />
+<TGConnectingPoint num="6" id="3688" />
+<TGConnectingPoint num="7" id="3689" />
+<TGConnectingPoint num="8" id="3690" />
+<TGConnectingPoint num="9" id="3691" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3703" >
 <cdparam x="450" y="791" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="run_motor1(speed, flagA)" />
-<TGConnectingPoint num="0" id="3645" />
-<TGConnectingPoint num="1" id="3646" />
-<TGConnectingPoint num="2" id="3647" />
-<TGConnectingPoint num="3" id="3648" />
-<TGConnectingPoint num="4" id="3649" />
-<TGConnectingPoint num="5" id="3650" />
-<TGConnectingPoint num="6" id="3651" />
-<TGConnectingPoint num="7" id="3652" />
-<TGConnectingPoint num="8" id="3653" />
-<TGConnectingPoint num="9" id="3654" />
+<TGConnectingPoint num="0" id="3693" />
+<TGConnectingPoint num="1" id="3694" />
+<TGConnectingPoint num="2" id="3695" />
+<TGConnectingPoint num="3" id="3696" />
+<TGConnectingPoint num="4" id="3697" />
+<TGConnectingPoint num="5" id="3698" />
+<TGConnectingPoint num="6" id="3699" />
+<TGConnectingPoint num="7" id="3700" />
+<TGConnectingPoint num="8" id="3701" />
+<TGConnectingPoint num="9" id="3702" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3714" >
+<cdparam x="133" y="815" />
+<sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="run_motor2(speed, flagA)" />
+<TGConnectingPoint num="0" id="3704" />
+<TGConnectingPoint num="1" id="3705" />
+<TGConnectingPoint num="2" id="3706" />
+<TGConnectingPoint num="3" id="3707" />
+<TGConnectingPoint num="4" id="3708" />
+<TGConnectingPoint num="5" id="3709" />
+<TGConnectingPoint num="6" id="3710" />
+<TGConnectingPoint num="7" id="3711" />
+<TGConnectingPoint num="8" id="3712" />
+<TGConnectingPoint num="9" id="3713" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="3725" >
+<cdparam x="133" y="774" />
+<sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="run_motor1(speed, flagA)" />
+<TGConnectingPoint num="0" id="3715" />
+<TGConnectingPoint num="1" id="3716" />
+<TGConnectingPoint num="2" id="3717" />
+<TGConnectingPoint num="3" id="3718" />
+<TGConnectingPoint num="4" id="3719" />
+<TGConnectingPoint num="5" id="3720" />
+<TGConnectingPoint num="6" id="3721" />
+<TGConnectingPoint num="7" id="3722" />
+<TGConnectingPoint num="8" id="3723" />
+<TGConnectingPoint num="9" id="3724" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Motor1" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="3670" >
+<CONNECTOR type="5102" id="3740" >
 <cdparam x="449" y="297" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3665" />
-<TGConnectingPoint num="1" id="3666" />
-<TGConnectingPoint num="2" id="3667" />
-<TGConnectingPoint num="3" id="3668" />
-<TGConnectingPoint num="4" id="3669" />
-<P1  x="449" y="297" id="3730" />
-<P2  x="328" y="134" id="3772" />
+<TGConnectingPoint num="0" id="3735" />
+<TGConnectingPoint num="1" id="3736" />
+<TGConnectingPoint num="2" id="3737" />
+<TGConnectingPoint num="3" id="3738" />
+<TGConnectingPoint num="4" id="3739" />
+<P1  x="449" y="297" id="3800" />
+<P2  x="328" y="134" id="3842" />
 <Point x="449" y="317" />
 <Point x="75" y="317" />
 <Point x="75" y="114" />
 <Point x="308" y="114" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3656" >
-<father id="3670" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3726" >
+<father id="3740" num="0" />
 <cdparam x="449" y="317" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3657" >
-<father id="3670" num="1" />
+<SUBCOMPONENT type="-1" id="3727" >
+<father id="3740" num="1" />
 <cdparam x="75" y="317" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3658" >
-<father id="3670" num="2" />
+<SUBCOMPONENT type="-1" id="3728" >
+<father id="3740" num="2" />
 <cdparam x="75" y="114" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3659" >
-<father id="3670" num="3" />
+<SUBCOMPONENT type="-1" id="3729" >
+<father id="3740" num="3" />
 <cdparam x="308" y="114" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3664" >
-<father id="3670" num="4" />
+<SUBCOMPONENT type="-1" id="3734" >
+<father id="3740" num="4" />
 <cdparam x="324" y="337" />
 <sizeparam width="91" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3660" />
-<TGConnectingPoint num="1" id="3661" />
-<TGConnectingPoint num="2" id="3662" />
-<TGConnectingPoint num="3" id="3663" />
+<TGConnectingPoint num="0" id="3730" />
+<TGConnectingPoint num="1" id="3731" />
+<TGConnectingPoint num="2" id="3732" />
+<TGConnectingPoint num="3" id="3733" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9822,26 +10013,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3677" >
+<CONNECTOR type="5102" id="3747" >
 <cdparam x="449" y="172" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3676" />
-<P1  x="449" y="172" id="3768" />
-<P2  x="449" y="267" id="3729" />
+<TGConnectingPoint num="0" id="3746" />
+<P1  x="449" y="172" id="3838" />
+<P2  x="449" y="267" id="3799" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3675" >
-<father id="3677" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3745" >
+<father id="3747" num="0" />
 <cdparam x="450" y="225" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3671" />
-<TGConnectingPoint num="1" id="3672" />
-<TGConnectingPoint num="2" id="3673" />
-<TGConnectingPoint num="3" id="3674" />
+<TGConnectingPoint num="0" id="3741" />
+<TGConnectingPoint num="1" id="3742" />
+<TGConnectingPoint num="2" id="3743" />
+<TGConnectingPoint num="3" id="3744" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9852,66 +10043,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3692" >
+<CONNECTOR type="5102" id="3762" >
 <cdparam x="269" y="251" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3687" />
-<TGConnectingPoint num="1" id="3688" />
-<TGConnectingPoint num="2" id="3689" />
-<TGConnectingPoint num="3" id="3690" />
-<TGConnectingPoint num="4" id="3691" />
-<P1  x="299" y="236" id="3741" />
-<P2  x="328" y="165" id="3787" />
+<TGConnectingPoint num="0" id="3757" />
+<TGConnectingPoint num="1" id="3758" />
+<TGConnectingPoint num="2" id="3759" />
+<TGConnectingPoint num="3" id="3760" />
+<TGConnectingPoint num="4" id="3761" />
+<P1  x="299" y="236" id="3811" />
+<P2  x="328" y="165" id="3857" />
 <Point x="299" y="256" />
 <Point x="125" y="256" />
 <Point x="125" y="145" />
 <Point x="308" y="145" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3678" >
-<father id="3692" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3748" >
+<father id="3762" num="0" />
 <cdparam x="299" y="256" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3679" >
-<father id="3692" num="1" />
+<SUBCOMPONENT type="-1" id="3749" >
+<father id="3762" num="1" />
 <cdparam x="125" y="256" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3680" >
-<father id="3692" num="2" />
+<SUBCOMPONENT type="-1" id="3750" >
+<father id="3762" num="2" />
 <cdparam x="125" y="145" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3681" >
-<father id="3692" num="3" />
+<SUBCOMPONENT type="-1" id="3751" >
+<father id="3762" num="3" />
 <cdparam x="308" y="145" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3686" >
-<father id="3692" num="4" />
+<SUBCOMPONENT type="-1" id="3756" >
+<father id="3762" num="4" />
 <cdparam x="91" y="295" />
 <sizeparam width="195" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3682" />
-<TGConnectingPoint num="1" id="3683" />
-<TGConnectingPoint num="2" id="3684" />
-<TGConnectingPoint num="3" id="3685" />
+<TGConnectingPoint num="0" id="3752" />
+<TGConnectingPoint num="1" id="3753" />
+<TGConnectingPoint num="2" id="3754" />
+<TGConnectingPoint num="3" id="3755" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9923,66 +10114,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3707" >
+<CONNECTOR type="5102" id="3777" >
 <cdparam x="526" y="227" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3702" />
-<TGConnectingPoint num="1" id="3703" />
-<TGConnectingPoint num="2" id="3704" />
-<TGConnectingPoint num="3" id="3705" />
-<TGConnectingPoint num="4" id="3706" />
-<P1  x="640" y="238" id="3752" />
-<P2  x="570" y="128" id="3784" />
+<TGConnectingPoint num="0" id="3772" />
+<TGConnectingPoint num="1" id="3773" />
+<TGConnectingPoint num="2" id="3774" />
+<TGConnectingPoint num="3" id="3775" />
+<TGConnectingPoint num="4" id="3776" />
+<P1  x="640" y="238" id="3822" />
+<P2  x="570" y="128" id="3854" />
 <Point x="640" y="258" />
 <Point x="854" y="258" />
 <Point x="854" y="108" />
 <Point x="590" y="108" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3693" >
-<father id="3707" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3763" >
+<father id="3777" num="0" />
 <cdparam x="640" y="258" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3694" >
-<father id="3707" num="1" />
+<SUBCOMPONENT type="-1" id="3764" >
+<father id="3777" num="1" />
 <cdparam x="854" y="258" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3695" >
-<father id="3707" num="2" />
+<SUBCOMPONENT type="-1" id="3765" >
+<father id="3777" num="2" />
 <cdparam x="854" y="108" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3696" >
-<father id="3707" num="3" />
+<SUBCOMPONENT type="-1" id="3766" >
+<father id="3777" num="3" />
 <cdparam x="590" y="108" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3701" >
-<father id="3707" num="4" />
+<SUBCOMPONENT type="-1" id="3771" >
+<father id="3777" num="4" />
 <cdparam x="629" y="283" />
 <sizeparam width="304" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3697" />
-<TGConnectingPoint num="1" id="3698" />
-<TGConnectingPoint num="2" id="3699" />
-<TGConnectingPoint num="3" id="3700" />
+<TGConnectingPoint num="0" id="3767" />
+<TGConnectingPoint num="1" id="3768" />
+<TGConnectingPoint num="2" id="3769" />
+<TGConnectingPoint num="3" id="3770" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9994,26 +10185,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3714" >
+<CONNECTOR type="5102" id="3784" >
 <cdparam x="374" y="79" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3713" />
-<P1  x="446" y="73" id="3803" />
-<P2  x="449" y="122" id="3763" />
+<TGConnectingPoint num="0" id="3783" />
+<P1  x="446" y="73" id="3873" />
+<P2  x="449" y="122" id="3833" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3712" >
-<father id="3714" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3782" >
+<father id="3784" num="0" />
 <cdparam x="452" y="86" />
 <sizeparam width="68" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3708" />
-<TGConnectingPoint num="1" id="3709" />
-<TGConnectingPoint num="2" id="3710" />
-<TGConnectingPoint num="3" id="3711" />
+<TGConnectingPoint num="0" id="3778" />
+<TGConnectingPoint num="1" id="3779" />
+<TGConnectingPoint num="2" id="3780" />
+<TGConnectingPoint num="3" id="3781" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10025,26 +10216,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3721" >
+<CONNECTOR type="5102" id="3791" >
 <cdparam x="506" y="172" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3720" />
-<P1  x="538" y="172" id="3793" />
-<P2  x="640" y="208" id="3751" />
+<TGConnectingPoint num="0" id="3790" />
+<P1  x="538" y="172" id="3863" />
+<P2  x="640" y="208" id="3821" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3719" >
-<father id="3721" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3789" >
+<father id="3791" num="0" />
 <cdparam x="510" y="184" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3715" />
-<TGConnectingPoint num="1" id="3716" />
-<TGConnectingPoint num="2" id="3717" />
-<TGConnectingPoint num="3" id="3718" />
+<TGConnectingPoint num="0" id="3785" />
+<TGConnectingPoint num="1" id="3786" />
+<TGConnectingPoint num="2" id="3787" />
+<TGConnectingPoint num="3" id="3788" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10055,26 +10246,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3728" >
+<CONNECTOR type="5102" id="3798" >
 <cdparam x="388" y="172" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3727" />
-<P1  x="357" y="172" id="3790" />
-<P2  x="299" y="206" id="3740" />
+<TGConnectingPoint num="0" id="3797" />
+<P1  x="357" y="172" id="3860" />
+<P2  x="299" y="206" id="3810" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3726" >
-<father id="3728" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3796" >
+<father id="3798" num="0" />
 <cdparam x="387" y="207" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3722" />
-<TGConnectingPoint num="1" id="3723" />
-<TGConnectingPoint num="2" id="3724" />
-<TGConnectingPoint num="3" id="3725" />
+<TGConnectingPoint num="0" id="3792" />
+<TGConnectingPoint num="1" id="3793" />
+<TGConnectingPoint num="2" id="3794" />
+<TGConnectingPoint num="3" id="3795" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10085,147 +10276,147 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="3739" >
+<COMPONENT type="5104" id="3809" >
 <cdparam x="395" y="272" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="turn(flag, deg)" />
-<TGConnectingPoint num="0" id="3729" />
-<TGConnectingPoint num="1" id="3730" />
-<TGConnectingPoint num="2" id="3731" />
-<TGConnectingPoint num="3" id="3732" />
-<TGConnectingPoint num="4" id="3733" />
-<TGConnectingPoint num="5" id="3734" />
-<TGConnectingPoint num="6" id="3735" />
-<TGConnectingPoint num="7" id="3736" />
-<TGConnectingPoint num="8" id="3737" />
-<TGConnectingPoint num="9" id="3738" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3750" >
+<TGConnectingPoint num="0" id="3799" />
+<TGConnectingPoint num="1" id="3800" />
+<TGConnectingPoint num="2" id="3801" />
+<TGConnectingPoint num="3" id="3802" />
+<TGConnectingPoint num="4" id="3803" />
+<TGConnectingPoint num="5" id="3804" />
+<TGConnectingPoint num="6" id="3805" />
+<TGConnectingPoint num="7" id="3806" />
+<TGConnectingPoint num="8" id="3807" />
+<TGConnectingPoint num="9" id="3808" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3820" >
 <cdparam x="214" y="211" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="run_motor(speed, flagA)" />
-<TGConnectingPoint num="0" id="3740" />
-<TGConnectingPoint num="1" id="3741" />
-<TGConnectingPoint num="2" id="3742" />
-<TGConnectingPoint num="3" id="3743" />
-<TGConnectingPoint num="4" id="3744" />
-<TGConnectingPoint num="5" id="3745" />
-<TGConnectingPoint num="6" id="3746" />
-<TGConnectingPoint num="7" id="3747" />
-<TGConnectingPoint num="8" id="3748" />
-<TGConnectingPoint num="9" id="3749" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3761" >
+<TGConnectingPoint num="0" id="3810" />
+<TGConnectingPoint num="1" id="3811" />
+<TGConnectingPoint num="2" id="3812" />
+<TGConnectingPoint num="3" id="3813" />
+<TGConnectingPoint num="4" id="3814" />
+<TGConnectingPoint num="5" id="3815" />
+<TGConnectingPoint num="6" id="3816" />
+<TGConnectingPoint num="7" id="3817" />
+<TGConnectingPoint num="8" id="3818" />
+<TGConnectingPoint num="9" id="3819" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3831" >
 <cdparam x="504" y="213" />
 <sizeparam width="273" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="modify_motor(speed, factor, flagA, flagB)" />
-<TGConnectingPoint num="0" id="3751" />
-<TGConnectingPoint num="1" id="3752" />
-<TGConnectingPoint num="2" id="3753" />
-<TGConnectingPoint num="3" id="3754" />
-<TGConnectingPoint num="4" id="3755" />
-<TGConnectingPoint num="5" id="3756" />
-<TGConnectingPoint num="6" id="3757" />
-<TGConnectingPoint num="7" id="3758" />
-<TGConnectingPoint num="8" id="3759" />
-<TGConnectingPoint num="9" id="3760" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3802" >
+<TGConnectingPoint num="0" id="3821" />
+<TGConnectingPoint num="1" id="3822" />
+<TGConnectingPoint num="2" id="3823" />
+<TGConnectingPoint num="3" id="3824" />
+<TGConnectingPoint num="4" id="3825" />
+<TGConnectingPoint num="5" id="3826" />
+<TGConnectingPoint num="6" id="3827" />
+<TGConnectingPoint num="7" id="3828" />
+<TGConnectingPoint num="8" id="3829" />
+<TGConnectingPoint num="9" id="3830" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3872" >
 <cdparam x="328" y="122" />
 <sizeparam width="242" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="WaitingForMotorCommand" />
-<TGConnectingPoint num="0" id="3762" />
-<TGConnectingPoint num="1" id="3763" />
-<TGConnectingPoint num="2" id="3764" />
-<TGConnectingPoint num="3" id="3765" />
-<TGConnectingPoint num="4" id="3766" />
-<TGConnectingPoint num="5" id="3767" />
-<TGConnectingPoint num="6" id="3768" />
-<TGConnectingPoint num="7" id="3769" />
-<TGConnectingPoint num="8" id="3770" />
-<TGConnectingPoint num="9" id="3771" />
-<TGConnectingPoint num="10" id="3772" />
-<TGConnectingPoint num="11" id="3773" />
-<TGConnectingPoint num="12" id="3774" />
-<TGConnectingPoint num="13" id="3775" />
-<TGConnectingPoint num="14" id="3776" />
-<TGConnectingPoint num="15" id="3777" />
-<TGConnectingPoint num="16" id="3778" />
-<TGConnectingPoint num="17" id="3779" />
-<TGConnectingPoint num="18" id="3780" />
-<TGConnectingPoint num="19" id="3781" />
-<TGConnectingPoint num="20" id="3782" />
-<TGConnectingPoint num="21" id="3783" />
-<TGConnectingPoint num="22" id="3784" />
-<TGConnectingPoint num="23" id="3785" />
-<TGConnectingPoint num="24" id="3786" />
-<TGConnectingPoint num="25" id="3787" />
-<TGConnectingPoint num="26" id="3788" />
-<TGConnectingPoint num="27" id="3789" />
-<TGConnectingPoint num="28" id="3790" />
-<TGConnectingPoint num="29" id="3791" />
-<TGConnectingPoint num="30" id="3792" />
-<TGConnectingPoint num="31" id="3793" />
-<TGConnectingPoint num="32" id="3794" />
-<TGConnectingPoint num="33" id="3795" />
-<TGConnectingPoint num="34" id="3796" />
-<TGConnectingPoint num="35" id="3797" />
-<TGConnectingPoint num="36" id="3798" />
-<TGConnectingPoint num="37" id="3799" />
-<TGConnectingPoint num="38" id="3800" />
-<TGConnectingPoint num="39" id="3801" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="3804" >
+<TGConnectingPoint num="0" id="3832" />
+<TGConnectingPoint num="1" id="3833" />
+<TGConnectingPoint num="2" id="3834" />
+<TGConnectingPoint num="3" id="3835" />
+<TGConnectingPoint num="4" id="3836" />
+<TGConnectingPoint num="5" id="3837" />
+<TGConnectingPoint num="6" id="3838" />
+<TGConnectingPoint num="7" id="3839" />
+<TGConnectingPoint num="8" id="3840" />
+<TGConnectingPoint num="9" id="3841" />
+<TGConnectingPoint num="10" id="3842" />
+<TGConnectingPoint num="11" id="3843" />
+<TGConnectingPoint num="12" id="3844" />
+<TGConnectingPoint num="13" id="3845" />
+<TGConnectingPoint num="14" id="3846" />
+<TGConnectingPoint num="15" id="3847" />
+<TGConnectingPoint num="16" id="3848" />
+<TGConnectingPoint num="17" id="3849" />
+<TGConnectingPoint num="18" id="3850" />
+<TGConnectingPoint num="19" id="3851" />
+<TGConnectingPoint num="20" id="3852" />
+<TGConnectingPoint num="21" id="3853" />
+<TGConnectingPoint num="22" id="3854" />
+<TGConnectingPoint num="23" id="3855" />
+<TGConnectingPoint num="24" id="3856" />
+<TGConnectingPoint num="25" id="3857" />
+<TGConnectingPoint num="26" id="3858" />
+<TGConnectingPoint num="27" id="3859" />
+<TGConnectingPoint num="28" id="3860" />
+<TGConnectingPoint num="29" id="3861" />
+<TGConnectingPoint num="30" id="3862" />
+<TGConnectingPoint num="31" id="3863" />
+<TGConnectingPoint num="32" id="3864" />
+<TGConnectingPoint num="33" id="3865" />
+<TGConnectingPoint num="34" id="3866" />
+<TGConnectingPoint num="35" id="3867" />
+<TGConnectingPoint num="36" id="3868" />
+<TGConnectingPoint num="37" id="3869" />
+<TGConnectingPoint num="38" id="3870" />
+<TGConnectingPoint num="39" id="3871" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3874" >
 <cdparam x="439" y="53" />
 <sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3803" />
+<TGConnectingPoint num="0" id="3873" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Motor2" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="3811" >
+<CONNECTOR type="5102" id="3881" >
 <cdparam x="430" y="192" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3810" />
-<P1  x="399" y="192" id="3939" />
-<P2  x="341" y="226" id="3889" />
+<TGConnectingPoint num="0" id="3880" />
+<P1  x="399" y="192" id="4009" />
+<P2  x="341" y="226" id="3959" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3809" >
-<father id="3811" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3879" >
+<father id="3881" num="0" />
 <cdparam x="429" y="227" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3805" />
-<TGConnectingPoint num="1" id="3806" />
-<TGConnectingPoint num="2" id="3807" />
-<TGConnectingPoint num="3" id="3808" />
+<TGConnectingPoint num="0" id="3875" />
+<TGConnectingPoint num="1" id="3876" />
+<TGConnectingPoint num="2" id="3877" />
+<TGConnectingPoint num="3" id="3878" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10236,26 +10427,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3818" >
+<CONNECTOR type="5102" id="3888" >
 <cdparam x="548" y="192" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3817" />
-<P1  x="580" y="192" id="3942" />
-<P2  x="682" y="228" id="3900" />
+<TGConnectingPoint num="0" id="3887" />
+<P1  x="580" y="192" id="4012" />
+<P2  x="682" y="228" id="3970" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3816" >
-<father id="3818" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3886" >
+<father id="3888" num="0" />
 <cdparam x="552" y="204" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3812" />
-<TGConnectingPoint num="1" id="3813" />
-<TGConnectingPoint num="2" id="3814" />
-<TGConnectingPoint num="3" id="3815" />
+<TGConnectingPoint num="0" id="3882" />
+<TGConnectingPoint num="1" id="3883" />
+<TGConnectingPoint num="2" id="3884" />
+<TGConnectingPoint num="3" id="3885" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10266,26 +10457,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3825" >
+<CONNECTOR type="5102" id="3895" >
 <cdparam x="416" y="99" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3824" />
-<P1  x="491" y="98" id="3952" />
-<P2  x="491" y="142" id="3912" />
+<TGConnectingPoint num="0" id="3894" />
+<P1  x="491" y="98" id="4022" />
+<P2  x="491" y="142" id="3982" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3823" >
-<father id="3825" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3893" >
+<father id="3895" num="0" />
 <cdparam x="494" y="106" />
 <sizeparam width="68" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3819" />
-<TGConnectingPoint num="1" id="3820" />
-<TGConnectingPoint num="2" id="3821" />
-<TGConnectingPoint num="3" id="3822" />
+<TGConnectingPoint num="0" id="3889" />
+<TGConnectingPoint num="1" id="3890" />
+<TGConnectingPoint num="2" id="3891" />
+<TGConnectingPoint num="3" id="3892" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10297,66 +10488,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3840" >
+<CONNECTOR type="5102" id="3910" >
 <cdparam x="568" y="247" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3835" />
-<TGConnectingPoint num="1" id="3836" />
-<TGConnectingPoint num="2" id="3837" />
-<TGConnectingPoint num="3" id="3838" />
-<TGConnectingPoint num="4" id="3839" />
-<P1  x="682" y="258" id="3901" />
-<P2  x="612" y="148" id="3933" />
+<TGConnectingPoint num="0" id="3905" />
+<TGConnectingPoint num="1" id="3906" />
+<TGConnectingPoint num="2" id="3907" />
+<TGConnectingPoint num="3" id="3908" />
+<TGConnectingPoint num="4" id="3909" />
+<P1  x="682" y="258" id="3971" />
+<P2  x="612" y="148" id="4003" />
 <Point x="682" y="278" />
 <Point x="896" y="278" />
 <Point x="896" y="128" />
 <Point x="632" y="128" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3826" >
-<father id="3840" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3896" >
+<father id="3910" num="0" />
 <cdparam x="682" y="278" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3827" >
-<father id="3840" num="1" />
+<SUBCOMPONENT type="-1" id="3897" >
+<father id="3910" num="1" />
 <cdparam x="896" y="278" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3828" >
-<father id="3840" num="2" />
+<SUBCOMPONENT type="-1" id="3898" >
+<father id="3910" num="2" />
 <cdparam x="896" y="128" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3829" >
-<father id="3840" num="3" />
+<SUBCOMPONENT type="-1" id="3899" >
+<father id="3910" num="3" />
 <cdparam x="632" y="128" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3834" >
-<father id="3840" num="4" />
+<SUBCOMPONENT type="-1" id="3904" >
+<father id="3910" num="4" />
 <cdparam x="671" y="303" />
 <sizeparam width="304" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3830" />
-<TGConnectingPoint num="1" id="3831" />
-<TGConnectingPoint num="2" id="3832" />
-<TGConnectingPoint num="3" id="3833" />
+<TGConnectingPoint num="0" id="3900" />
+<TGConnectingPoint num="1" id="3901" />
+<TGConnectingPoint num="2" id="3902" />
+<TGConnectingPoint num="3" id="3903" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10368,66 +10559,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3855" >
+<CONNECTOR type="5102" id="3925" >
 <cdparam x="311" y="271" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3850" />
-<TGConnectingPoint num="1" id="3851" />
-<TGConnectingPoint num="2" id="3852" />
-<TGConnectingPoint num="3" id="3853" />
-<TGConnectingPoint num="4" id="3854" />
-<P1  x="341" y="256" id="3890" />
-<P2  x="370" y="185" id="3936" />
+<TGConnectingPoint num="0" id="3920" />
+<TGConnectingPoint num="1" id="3921" />
+<TGConnectingPoint num="2" id="3922" />
+<TGConnectingPoint num="3" id="3923" />
+<TGConnectingPoint num="4" id="3924" />
+<P1  x="341" y="256" id="3960" />
+<P2  x="370" y="185" id="4006" />
 <Point x="341" y="276" />
 <Point x="167" y="276" />
 <Point x="167" y="165" />
 <Point x="350" y="165" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3841" >
-<father id="3855" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3911" >
+<father id="3925" num="0" />
 <cdparam x="341" y="276" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3842" >
-<father id="3855" num="1" />
+<SUBCOMPONENT type="-1" id="3912" >
+<father id="3925" num="1" />
 <cdparam x="167" y="276" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3843" >
-<father id="3855" num="2" />
+<SUBCOMPONENT type="-1" id="3913" >
+<father id="3925" num="2" />
 <cdparam x="167" y="165" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3844" >
-<father id="3855" num="3" />
+<SUBCOMPONENT type="-1" id="3914" >
+<father id="3925" num="3" />
 <cdparam x="350" y="165" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3849" >
-<father id="3855" num="4" />
+<SUBCOMPONENT type="-1" id="3919" >
+<father id="3925" num="4" />
 <cdparam x="133" y="315" />
 <sizeparam width="195" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3845" />
-<TGConnectingPoint num="1" id="3846" />
-<TGConnectingPoint num="2" id="3847" />
-<TGConnectingPoint num="3" id="3848" />
+<TGConnectingPoint num="0" id="3915" />
+<TGConnectingPoint num="1" id="3916" />
+<TGConnectingPoint num="2" id="3917" />
+<TGConnectingPoint num="3" id="3918" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10439,26 +10630,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3862" >
+<CONNECTOR type="5102" id="3932" >
 <cdparam x="491" y="192" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3861" />
-<P1  x="491" y="192" id="3917" />
-<P2  x="491" y="287" id="3878" />
+<TGConnectingPoint num="0" id="3931" />
+<P1  x="491" y="192" id="3987" />
+<P2  x="491" y="287" id="3948" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3860" >
-<father id="3862" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3930" >
+<father id="3932" num="0" />
 <cdparam x="492" y="245" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3856" />
-<TGConnectingPoint num="1" id="3857" />
-<TGConnectingPoint num="2" id="3858" />
-<TGConnectingPoint num="3" id="3859" />
+<TGConnectingPoint num="0" id="3926" />
+<TGConnectingPoint num="1" id="3927" />
+<TGConnectingPoint num="2" id="3928" />
+<TGConnectingPoint num="3" id="3929" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10469,66 +10660,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3877" >
+<CONNECTOR type="5102" id="3947" >
 <cdparam x="491" y="317" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="3872" />
-<TGConnectingPoint num="1" id="3873" />
-<TGConnectingPoint num="2" id="3874" />
-<TGConnectingPoint num="3" id="3875" />
-<TGConnectingPoint num="4" id="3876" />
-<P1  x="491" y="317" id="3879" />
-<P2  x="370" y="154" id="3921" />
+<TGConnectingPoint num="0" id="3942" />
+<TGConnectingPoint num="1" id="3943" />
+<TGConnectingPoint num="2" id="3944" />
+<TGConnectingPoint num="3" id="3945" />
+<TGConnectingPoint num="4" id="3946" />
+<P1  x="491" y="317" id="3949" />
+<P2  x="370" y="154" id="3991" />
 <Point x="491" y="337" />
 <Point x="117" y="337" />
 <Point x="117" y="134" />
 <Point x="350" y="134" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3863" >
-<father id="3877" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3933" >
+<father id="3947" num="0" />
 <cdparam x="491" y="337" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3864" >
-<father id="3877" num="1" />
+<SUBCOMPONENT type="-1" id="3934" >
+<father id="3947" num="1" />
 <cdparam x="117" y="337" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3865" >
-<father id="3877" num="2" />
+<SUBCOMPONENT type="-1" id="3935" >
+<father id="3947" num="2" />
 <cdparam x="117" y="134" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3866" >
-<father id="3877" num="3" />
+<SUBCOMPONENT type="-1" id="3936" >
+<father id="3947" num="3" />
 <cdparam x="350" y="134" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3871" >
-<father id="3877" num="4" />
+<SUBCOMPONENT type="-1" id="3941" >
+<father id="3947" num="4" />
 <cdparam x="371" y="367" />
 <sizeparam width="91" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3867" />
-<TGConnectingPoint num="1" id="3868" />
-<TGConnectingPoint num="2" id="3869" />
-<TGConnectingPoint num="3" id="3870" />
+<TGConnectingPoint num="0" id="3937" />
+<TGConnectingPoint num="1" id="3938" />
+<TGConnectingPoint num="2" id="3939" />
+<TGConnectingPoint num="3" id="3940" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10540,121 +10731,121 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="3888" >
+<COMPONENT type="5104" id="3958" >
 <cdparam x="437" y="292" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="turn(flag, deg)" />
-<TGConnectingPoint num="0" id="3878" />
-<TGConnectingPoint num="1" id="3879" />
-<TGConnectingPoint num="2" id="3880" />
-<TGConnectingPoint num="3" id="3881" />
-<TGConnectingPoint num="4" id="3882" />
-<TGConnectingPoint num="5" id="3883" />
-<TGConnectingPoint num="6" id="3884" />
-<TGConnectingPoint num="7" id="3885" />
-<TGConnectingPoint num="8" id="3886" />
-<TGConnectingPoint num="9" id="3887" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3899" >
+<TGConnectingPoint num="0" id="3948" />
+<TGConnectingPoint num="1" id="3949" />
+<TGConnectingPoint num="2" id="3950" />
+<TGConnectingPoint num="3" id="3951" />
+<TGConnectingPoint num="4" id="3952" />
+<TGConnectingPoint num="5" id="3953" />
+<TGConnectingPoint num="6" id="3954" />
+<TGConnectingPoint num="7" id="3955" />
+<TGConnectingPoint num="8" id="3956" />
+<TGConnectingPoint num="9" id="3957" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3969" >
 <cdparam x="256" y="231" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="run_motor(speed, flagA)" />
-<TGConnectingPoint num="0" id="3889" />
-<TGConnectingPoint num="1" id="3890" />
-<TGConnectingPoint num="2" id="3891" />
-<TGConnectingPoint num="3" id="3892" />
-<TGConnectingPoint num="4" id="3893" />
-<TGConnectingPoint num="5" id="3894" />
-<TGConnectingPoint num="6" id="3895" />
-<TGConnectingPoint num="7" id="3896" />
-<TGConnectingPoint num="8" id="3897" />
-<TGConnectingPoint num="9" id="3898" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="3910" >
+<TGConnectingPoint num="0" id="3959" />
+<TGConnectingPoint num="1" id="3960" />
+<TGConnectingPoint num="2" id="3961" />
+<TGConnectingPoint num="3" id="3962" />
+<TGConnectingPoint num="4" id="3963" />
+<TGConnectingPoint num="5" id="3964" />
+<TGConnectingPoint num="6" id="3965" />
+<TGConnectingPoint num="7" id="3966" />
+<TGConnectingPoint num="8" id="3967" />
+<TGConnectingPoint num="9" id="3968" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="3980" >
 <cdparam x="546" y="233" />
 <sizeparam width="273" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="modify_motor(speed, factor, flagA, flagB)" />
-<TGConnectingPoint num="0" id="3900" />
-<TGConnectingPoint num="1" id="3901" />
-<TGConnectingPoint num="2" id="3902" />
-<TGConnectingPoint num="3" id="3903" />
-<TGConnectingPoint num="4" id="3904" />
-<TGConnectingPoint num="5" id="3905" />
-<TGConnectingPoint num="6" id="3906" />
-<TGConnectingPoint num="7" id="3907" />
-<TGConnectingPoint num="8" id="3908" />
-<TGConnectingPoint num="9" id="3909" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3951" >
+<TGConnectingPoint num="0" id="3970" />
+<TGConnectingPoint num="1" id="3971" />
+<TGConnectingPoint num="2" id="3972" />
+<TGConnectingPoint num="3" id="3973" />
+<TGConnectingPoint num="4" id="3974" />
+<TGConnectingPoint num="5" id="3975" />
+<TGConnectingPoint num="6" id="3976" />
+<TGConnectingPoint num="7" id="3977" />
+<TGConnectingPoint num="8" id="3978" />
+<TGConnectingPoint num="9" id="3979" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4021" >
 <cdparam x="370" y="142" />
 <sizeparam width="242" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="WaitingForMotorCommand" />
-<TGConnectingPoint num="0" id="3911" />
-<TGConnectingPoint num="1" id="3912" />
-<TGConnectingPoint num="2" id="3913" />
-<TGConnectingPoint num="3" id="3914" />
-<TGConnectingPoint num="4" id="3915" />
-<TGConnectingPoint num="5" id="3916" />
-<TGConnectingPoint num="6" id="3917" />
-<TGConnectingPoint num="7" id="3918" />
-<TGConnectingPoint num="8" id="3919" />
-<TGConnectingPoint num="9" id="3920" />
-<TGConnectingPoint num="10" id="3921" />
-<TGConnectingPoint num="11" id="3922" />
-<TGConnectingPoint num="12" id="3923" />
-<TGConnectingPoint num="13" id="3924" />
-<TGConnectingPoint num="14" id="3925" />
-<TGConnectingPoint num="15" id="3926" />
-<TGConnectingPoint num="16" id="3927" />
-<TGConnectingPoint num="17" id="3928" />
-<TGConnectingPoint num="18" id="3929" />
-<TGConnectingPoint num="19" id="3930" />
-<TGConnectingPoint num="20" id="3931" />
-<TGConnectingPoint num="21" id="3932" />
-<TGConnectingPoint num="22" id="3933" />
-<TGConnectingPoint num="23" id="3934" />
-<TGConnectingPoint num="24" id="3935" />
-<TGConnectingPoint num="25" id="3936" />
-<TGConnectingPoint num="26" id="3937" />
-<TGConnectingPoint num="27" id="3938" />
-<TGConnectingPoint num="28" id="3939" />
-<TGConnectingPoint num="29" id="3940" />
-<TGConnectingPoint num="30" id="3941" />
-<TGConnectingPoint num="31" id="3942" />
-<TGConnectingPoint num="32" id="3943" />
-<TGConnectingPoint num="33" id="3944" />
-<TGConnectingPoint num="34" id="3945" />
-<TGConnectingPoint num="35" id="3946" />
-<TGConnectingPoint num="36" id="3947" />
-<TGConnectingPoint num="37" id="3948" />
-<TGConnectingPoint num="38" id="3949" />
-<TGConnectingPoint num="39" id="3950" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="3953" >
+<TGConnectingPoint num="0" id="3981" />
+<TGConnectingPoint num="1" id="3982" />
+<TGConnectingPoint num="2" id="3983" />
+<TGConnectingPoint num="3" id="3984" />
+<TGConnectingPoint num="4" id="3985" />
+<TGConnectingPoint num="5" id="3986" />
+<TGConnectingPoint num="6" id="3987" />
+<TGConnectingPoint num="7" id="3988" />
+<TGConnectingPoint num="8" id="3989" />
+<TGConnectingPoint num="9" id="3990" />
+<TGConnectingPoint num="10" id="3991" />
+<TGConnectingPoint num="11" id="3992" />
+<TGConnectingPoint num="12" id="3993" />
+<TGConnectingPoint num="13" id="3994" />
+<TGConnectingPoint num="14" id="3995" />
+<TGConnectingPoint num="15" id="3996" />
+<TGConnectingPoint num="16" id="3997" />
+<TGConnectingPoint num="17" id="3998" />
+<TGConnectingPoint num="18" id="3999" />
+<TGConnectingPoint num="19" id="4000" />
+<TGConnectingPoint num="20" id="4001" />
+<TGConnectingPoint num="21" id="4002" />
+<TGConnectingPoint num="22" id="4003" />
+<TGConnectingPoint num="23" id="4004" />
+<TGConnectingPoint num="24" id="4005" />
+<TGConnectingPoint num="25" id="4006" />
+<TGConnectingPoint num="26" id="4007" />
+<TGConnectingPoint num="27" id="4008" />
+<TGConnectingPoint num="28" id="4009" />
+<TGConnectingPoint num="29" id="4010" />
+<TGConnectingPoint num="30" id="4011" />
+<TGConnectingPoint num="31" id="4012" />
+<TGConnectingPoint num="32" id="4013" />
+<TGConnectingPoint num="33" id="4014" />
+<TGConnectingPoint num="34" id="4015" />
+<TGConnectingPoint num="35" id="4016" />
+<TGConnectingPoint num="36" id="4017" />
+<TGConnectingPoint num="37" id="4018" />
+<TGConnectingPoint num="38" id="4019" />
+<TGConnectingPoint num="39" id="4020" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="4023" >
 <cdparam x="484" y="78" />
 <sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3952" />
+<TGConnectingPoint num="0" id="4022" />
 </COMPONENT>
 
 
@@ -10786,13 +10977,13 @@
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="5002" id="3955" >
+<CONNECTOR type="5002" id="4025" >
 <cdparam x="518" y="336" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
-<TGConnectingPoint num="0" id="3954" />
-<P1  x="518" y="336" id="4016" />
-<P2  x="518" y="373" id="3961" />
+<TGConnectingPoint num="0" id="4024" />
+<P1  x="518" y="336" id="4086" />
+<P2  x="518" y="373" id="4031" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in receiveContact(int contact)" />
@@ -10802,13 +10993,13 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="3957" >
+<CONNECTOR type="5002" id="4027" >
 <cdparam x="333" y="220" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
-<TGConnectingPoint num="0" id="3956" />
-<P1  x="358" y="219" id="3989" />
-<P2  x="414" y="218" id="4013" />
+<TGConnectingPoint num="0" id="4026" />
+<P1  x="358" y="219" id="4059" />
+<P2  x="414" y="218" id="4083" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in ready_to_receive()" />
@@ -10818,13 +11009,13 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="5002" id="3959" >
+<CONNECTOR type="5002" id="4029" >
 <cdparam x="199" y="250" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
-<TGConnectingPoint num="0" id="3958" />
-<P1  x="623" y="218" id="4014" />
-<P2  x="713" y="218" id="4047" />
+<TGConnectingPoint num="0" id="4028" />
+<P1  x="623" y="218" id="4084" />
+<P2  x="713" y="218" id="4117" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <isd value="in motor_accelerate(int x)" />
@@ -10840,36 +11031,36 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<COMPONENT type="5000" id="3984" >
+<COMPONENT type="5000" id="4054" >
 <cdparam x="450" y="373" />
 <sizeparam width="137" height="139" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Block0" value="Contact" />
-<TGConnectingPoint num="0" id="3960" />
-<TGConnectingPoint num="1" id="3961" />
-<TGConnectingPoint num="2" id="3962" />
-<TGConnectingPoint num="3" id="3963" />
-<TGConnectingPoint num="4" id="3964" />
-<TGConnectingPoint num="5" id="3965" />
-<TGConnectingPoint num="6" id="3966" />
-<TGConnectingPoint num="7" id="3967" />
-<TGConnectingPoint num="8" id="3968" />
-<TGConnectingPoint num="9" id="3969" />
-<TGConnectingPoint num="10" id="3970" />
-<TGConnectingPoint num="11" id="3971" />
-<TGConnectingPoint num="12" id="3972" />
-<TGConnectingPoint num="13" id="3973" />
-<TGConnectingPoint num="14" id="3974" />
-<TGConnectingPoint num="15" id="3975" />
-<TGConnectingPoint num="16" id="3976" />
-<TGConnectingPoint num="17" id="3977" />
-<TGConnectingPoint num="18" id="3978" />
-<TGConnectingPoint num="19" id="3979" />
-<TGConnectingPoint num="20" id="3980" />
-<TGConnectingPoint num="21" id="3981" />
-<TGConnectingPoint num="22" id="3982" />
-<TGConnectingPoint num="23" id="3983" />
+<TGConnectingPoint num="0" id="4030" />
+<TGConnectingPoint num="1" id="4031" />
+<TGConnectingPoint num="2" id="4032" />
+<TGConnectingPoint num="3" id="4033" />
+<TGConnectingPoint num="4" id="4034" />
+<TGConnectingPoint num="5" id="4035" />
+<TGConnectingPoint num="6" id="4036" />
+<TGConnectingPoint num="7" id="4037" />
+<TGConnectingPoint num="8" id="4038" />
+<TGConnectingPoint num="9" id="4039" />
+<TGConnectingPoint num="10" id="4040" />
+<TGConnectingPoint num="11" id="4041" />
+<TGConnectingPoint num="12" id="4042" />
+<TGConnectingPoint num="13" id="4043" />
+<TGConnectingPoint num="14" id="4044" />
+<TGConnectingPoint num="15" id="4045" />
+<TGConnectingPoint num="16" id="4046" />
+<TGConnectingPoint num="17" id="4047" />
+<TGConnectingPoint num="18" id="4048" />
+<TGConnectingPoint num="19" id="4049" />
+<TGConnectingPoint num="20" id="4050" />
+<TGConnectingPoint num="21" id="4051" />
+<TGConnectingPoint num="22" id="4052" />
+<TGConnectingPoint num="23" id="4053" />
 <extraparam>
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
@@ -10888,36 +11079,36 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4009" >
+<COMPONENT type="5000" id="4079" >
 <cdparam x="108" y="119" />
 <sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Block0" value="Sonar" />
-<TGConnectingPoint num="0" id="3985" />
-<TGConnectingPoint num="1" id="3986" />
-<TGConnectingPoint num="2" id="3987" />
-<TGConnectingPoint num="3" id="3988" />
-<TGConnectingPoint num="4" id="3989" />
-<TGConnectingPoint num="5" id="3990" />
-<TGConnectingPoint num="6" id="3991" />
-<TGConnectingPoint num="7" id="3992" />
-<TGConnectingPoint num="8" id="3993" />
-<TGConnectingPoint num="9" id="3994" />
-<TGConnectingPoint num="10" id="3995" />
-<TGConnectingPoint num="11" id="3996" />
-<TGConnectingPoint num="12" id="3997" />
-<TGConnectingPoint num="13" id="3998" />
-<TGConnectingPoint num="14" id="3999" />
-<TGConnectingPoint num="15" id="4000" />
-<TGConnectingPoint num="16" id="4001" />
-<TGConnectingPoint num="17" id="4002" />
-<TGConnectingPoint num="18" id="4003" />
-<TGConnectingPoint num="19" id="4004" />
-<TGConnectingPoint num="20" id="4005" />
-<TGConnectingPoint num="21" id="4006" />
-<TGConnectingPoint num="22" id="4007" />
-<TGConnectingPoint num="23" id="4008" />
+<TGConnectingPoint num="0" id="4055" />
+<TGConnectingPoint num="1" id="4056" />
+<TGConnectingPoint num="2" id="4057" />
+<TGConnectingPoint num="3" id="4058" />
+<TGConnectingPoint num="4" id="4059" />
+<TGConnectingPoint num="5" id="4060" />
+<TGConnectingPoint num="6" id="4061" />
+<TGConnectingPoint num="7" id="4062" />
+<TGConnectingPoint num="8" id="4063" />
+<TGConnectingPoint num="9" id="4064" />
+<TGConnectingPoint num="10" id="4065" />
+<TGConnectingPoint num="11" id="4066" />
+<TGConnectingPoint num="12" id="4067" />
+<TGConnectingPoint num="13" id="4068" />
+<TGConnectingPoint num="14" id="4069" />
+<TGConnectingPoint num="15" id="4070" />
+<TGConnectingPoint num="16" id="4071" />
+<TGConnectingPoint num="17" id="4072" />
+<TGConnectingPoint num="18" id="4073" />
+<TGConnectingPoint num="19" id="4074" />
+<TGConnectingPoint num="20" id="4075" />
+<TGConnectingPoint num="21" id="4076" />
+<TGConnectingPoint num="22" id="4077" />
+<TGConnectingPoint num="23" id="4078" />
 <extraparam>
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
@@ -10936,36 +11127,36 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4034" >
+<COMPONENT type="5000" id="4104" >
 <cdparam x="414" y="101" />
 <sizeparam width="209" height="235" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Block0" value="Controller" />
-<TGConnectingPoint num="0" id="4010" />
-<TGConnectingPoint num="1" id="4011" />
-<TGConnectingPoint num="2" id="4012" />
-<TGConnectingPoint num="3" id="4013" />
-<TGConnectingPoint num="4" id="4014" />
-<TGConnectingPoint num="5" id="4015" />
-<TGConnectingPoint num="6" id="4016" />
-<TGConnectingPoint num="7" id="4017" />
-<TGConnectingPoint num="8" id="4018" />
-<TGConnectingPoint num="9" id="4019" />
-<TGConnectingPoint num="10" id="4020" />
-<TGConnectingPoint num="11" id="4021" />
-<TGConnectingPoint num="12" id="4022" />
-<TGConnectingPoint num="13" id="4023" />
-<TGConnectingPoint num="14" id="4024" />
-<TGConnectingPoint num="15" id="4025" />
-<TGConnectingPoint num="16" id="4026" />
-<TGConnectingPoint num="17" id="4027" />
-<TGConnectingPoint num="18" id="4028" />
-<TGConnectingPoint num="19" id="4029" />
-<TGConnectingPoint num="20" id="4030" />
-<TGConnectingPoint num="21" id="4031" />
-<TGConnectingPoint num="22" id="4032" />
-<TGConnectingPoint num="23" id="4033" />
+<TGConnectingPoint num="0" id="4080" />
+<TGConnectingPoint num="1" id="4081" />
+<TGConnectingPoint num="2" id="4082" />
+<TGConnectingPoint num="3" id="4083" />
+<TGConnectingPoint num="4" id="4084" />
+<TGConnectingPoint num="5" id="4085" />
+<TGConnectingPoint num="6" id="4086" />
+<TGConnectingPoint num="7" id="4087" />
+<TGConnectingPoint num="8" id="4088" />
+<TGConnectingPoint num="9" id="4089" />
+<TGConnectingPoint num="10" id="4090" />
+<TGConnectingPoint num="11" id="4091" />
+<TGConnectingPoint num="12" id="4092" />
+<TGConnectingPoint num="13" id="4093" />
+<TGConnectingPoint num="14" id="4094" />
+<TGConnectingPoint num="15" id="4095" />
+<TGConnectingPoint num="16" id="4096" />
+<TGConnectingPoint num="17" id="4097" />
+<TGConnectingPoint num="18" id="4098" />
+<TGConnectingPoint num="19" id="4099" />
+<TGConnectingPoint num="20" id="4100" />
+<TGConnectingPoint num="21" id="4101" />
+<TGConnectingPoint num="22" id="4102" />
+<TGConnectingPoint num="23" id="4103" />
 <extraparam>
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
@@ -10986,20 +11177,20 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="4043" >
+<COMPONENT type="5003" id="4113" >
 <cdparam x="899" y="16" />
 <sizeparam width="208" height="149" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="DataType0" value="GlobalInfo" />
-<TGConnectingPoint num="0" id="4035" />
-<TGConnectingPoint num="1" id="4036" />
-<TGConnectingPoint num="2" id="4037" />
-<TGConnectingPoint num="3" id="4038" />
-<TGConnectingPoint num="4" id="4039" />
-<TGConnectingPoint num="5" id="4040" />
-<TGConnectingPoint num="6" id="4041" />
-<TGConnectingPoint num="7" id="4042" />
+<TGConnectingPoint num="0" id="4105" />
+<TGConnectingPoint num="1" id="4106" />
+<TGConnectingPoint num="2" id="4107" />
+<TGConnectingPoint num="3" id="4108" />
+<TGConnectingPoint num="4" id="4109" />
+<TGConnectingPoint num="5" id="4110" />
+<TGConnectingPoint num="6" id="4111" />
+<TGConnectingPoint num="7" id="4112" />
 <extraparam>
 <Attribute access="0" id="MOTOR_OFF_DELAY" value="2" type="8" typeOther="" />
 <Attribute access="0" id="MOTOR_ON_DELAY" value="4" type="8" typeOther="" />
@@ -11011,36 +11202,36 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="4068" >
+<COMPONENT type="5000" id="4138" >
 <cdparam x="713" y="103" />
 <sizeparam width="155" height="230" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Block0" value="Motor1" />
-<TGConnectingPoint num="0" id="4044" />
-<TGConnectingPoint num="1" id="4045" />
-<TGConnectingPoint num="2" id="4046" />
-<TGConnectingPoint num="3" id="4047" />
-<TGConnectingPoint num="4" id="4048" />
-<TGConnectingPoint num="5" id="4049" />
-<TGConnectingPoint num="6" id="4050" />
-<TGConnectingPoint num="7" id="4051" />
-<TGConnectingPoint num="8" id="4052" />
-<TGConnectingPoint num="9" id="4053" />
-<TGConnectingPoint num="10" id="4054" />
-<TGConnectingPoint num="11" id="4055" />
-<TGConnectingPoint num="12" id="4056" />
-<TGConnectingPoint num="13" id="4057" />
-<TGConnectingPoint num="14" id="4058" />
-<TGConnectingPoint num="15" id="4059" />
-<TGConnectingPoint num="16" id="4060" />
-<TGConnectingPoint num="17" id="4061" />
-<TGConnectingPoint num="18" id="4062" />
-<TGConnectingPoint num="19" id="4063" />
-<TGConnectingPoint num="20" id="4064" />
-<TGConnectingPoint num="21" id="4065" />
-<TGConnectingPoint num="22" id="4066" />
-<TGConnectingPoint num="23" id="4067" />
+<TGConnectingPoint num="0" id="4114" />
+<TGConnectingPoint num="1" id="4115" />
+<TGConnectingPoint num="2" id="4116" />
+<TGConnectingPoint num="3" id="4117" />
+<TGConnectingPoint num="4" id="4118" />
+<TGConnectingPoint num="5" id="4119" />
+<TGConnectingPoint num="6" id="4120" />
+<TGConnectingPoint num="7" id="4121" />
+<TGConnectingPoint num="8" id="4122" />
+<TGConnectingPoint num="9" id="4123" />
+<TGConnectingPoint num="10" id="4124" />
+<TGConnectingPoint num="11" id="4125" />
+<TGConnectingPoint num="12" id="4126" />
+<TGConnectingPoint num="13" id="4127" />
+<TGConnectingPoint num="14" id="4128" />
+<TGConnectingPoint num="15" id="4129" />
+<TGConnectingPoint num="16" id="4130" />
+<TGConnectingPoint num="17" id="4131" />
+<TGConnectingPoint num="18" id="4132" />
+<TGConnectingPoint num="19" id="4133" />
+<TGConnectingPoint num="20" id="4134" />
+<TGConnectingPoint num="21" id="4135" />
+<TGConnectingPoint num="22" id="4136" />
+<TGConnectingPoint num="23" id="4137" />
 <extraparam>
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
@@ -11083,26 +11274,26 @@
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Controller" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="4075" >
+<CONNECTOR type="5102" id="4145" >
 <cdparam x="538" y="616" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4074" />
-<P1  x="538" y="616" id="4190" />
-<P2  x="380" y="745" id="4412" />
+<TGConnectingPoint num="0" id="4144" />
+<P1  x="538" y="616" id="4260" />
+<P2  x="380" y="745" id="4482" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4073" >
-<father id="4075" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4143" >
+<father id="4145" num="0" />
 <cdparam x="458" y="679" />
 <sizeparam width="189" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4069" />
-<TGConnectingPoint num="1" id="4070" />
-<TGConnectingPoint num="2" id="4071" />
-<TGConnectingPoint num="3" id="4072" />
+<TGConnectingPoint num="0" id="4139" />
+<TGConnectingPoint num="1" id="4140" />
+<TGConnectingPoint num="2" id="4141" />
+<TGConnectingPoint num="3" id="4142" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.CONTACT_DELAY" enabled="true"/>
@@ -11113,26 +11304,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4082" >
+<CONNECTOR type="5102" id="4152" >
 <cdparam x="192" y="439" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4081" />
-<P1  x="192" y="439" id="4253" />
-<P2  x="328" y="745" id="4402" />
+<TGConnectingPoint num="0" id="4151" />
+<P1  x="192" y="439" id="4323" />
+<P2  x="328" y="745" id="4472" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4080" >
-<father id="4082" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4150" >
+<father id="4152" num="0" />
 <cdparam x="135" y="492" />
 <sizeparam width="200" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4076" />
-<TGConnectingPoint num="1" id="4077" />
-<TGConnectingPoint num="2" id="4078" />
-<TGConnectingPoint num="3" id="4079" />
+<TGConnectingPoint num="0" id="4146" />
+<TGConnectingPoint num="1" id="4147" />
+<TGConnectingPoint num="2" id="4148" />
+<TGConnectingPoint num="3" id="4149" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.MOTOR_ON_DELAY" enabled="true"/>
@@ -11143,26 +11334,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4089" >
+<CONNECTOR type="5102" id="4159" >
 <cdparam x="386" y="183" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4088" />
-<P1  x="386" y="183" id="4332" />
-<P2  x="386" y="184" id="4320" />
+<TGConnectingPoint num="0" id="4158" />
+<P1  x="386" y="183" id="4402" />
+<P2  x="386" y="184" id="4390" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4087" >
-<father id="4089" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4157" >
+<father id="4159" num="0" />
 <cdparam x="386" y="185" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4083" />
-<TGConnectingPoint num="1" id="4084" />
-<TGConnectingPoint num="2" id="4085" />
-<TGConnectingPoint num="3" id="4086" />
+<TGConnectingPoint num="0" id="4153" />
+<TGConnectingPoint num="1" id="4154" />
+<TGConnectingPoint num="2" id="4155" />
+<TGConnectingPoint num="3" id="4156" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11173,66 +11364,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4104" >
+<CONNECTOR type="5102" id="4174" >
 <cdparam x="574" y="693" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4099" />
-<TGConnectingPoint num="1" id="4100" />
-<TGConnectingPoint num="2" id="4101" />
-<TGConnectingPoint num="3" id="4102" />
-<TGConnectingPoint num="4" id="4103" />
-<P1  x="362" y="827" id="4384" />
-<P2  x="480" y="131" id="4346" />
+<TGConnectingPoint num="0" id="4169" />
+<TGConnectingPoint num="1" id="4170" />
+<TGConnectingPoint num="2" id="4171" />
+<TGConnectingPoint num="3" id="4172" />
+<TGConnectingPoint num="4" id="4173" />
+<P1  x="362" y="827" id="4454" />
+<P2  x="480" y="131" id="4416" />
 <Point x="362" y="895" />
 <Point x="828" y="889" />
 <Point x="824" y="111" />
 <Point x="500" y="111" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4090" >
-<father id="4104" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4160" >
+<father id="4174" num="0" />
 <cdparam x="362" y="895" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4091" >
-<father id="4104" num="1" />
+<SUBCOMPONENT type="-1" id="4161" >
+<father id="4174" num="1" />
 <cdparam x="828" y="889" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4092" >
-<father id="4104" num="2" />
+<SUBCOMPONENT type="-1" id="4162" >
+<father id="4174" num="2" />
 <cdparam x="824" y="111" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4093" >
-<father id="4104" num="3" />
+<SUBCOMPONENT type="-1" id="4163" >
+<father id="4174" num="3" />
 <cdparam x="500" y="111" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4098" >
-<father id="4104" num="4" />
+<SUBCOMPONENT type="-1" id="4168" >
+<father id="4174" num="4" />
 <cdparam x="564" y="928" />
 <sizeparam width="205" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4094" />
-<TGConnectingPoint num="1" id="4095" />
-<TGConnectingPoint num="2" id="4096" />
-<TGConnectingPoint num="3" id="4097" />
+<TGConnectingPoint num="0" id="4164" />
+<TGConnectingPoint num="1" id="4165" />
+<TGConnectingPoint num="2" id="4166" />
+<TGConnectingPoint num="3" id="4167" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.MOTOR_OFF_DELAY" enabled="true"/>
@@ -11243,26 +11434,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4111" >
+<CONNECTOR type="5102" id="4181" >
 <cdparam x="403" y="193" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4110" />
-<P1  x="386" y="92" id="4443" />
-<P2  x="386" y="116" id="4343" />
+<TGConnectingPoint num="0" id="4180" />
+<P1  x="386" y="92" id="4513" />
+<P2  x="386" y="116" id="4413" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4109" >
-<father id="4111" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4179" >
+<father id="4181" num="0" />
 <cdparam x="447" y="114" />
 <sizeparam width="68" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4105" />
-<TGConnectingPoint num="1" id="4106" />
-<TGConnectingPoint num="2" id="4107" />
-<TGConnectingPoint num="3" id="4108" />
+<TGConnectingPoint num="0" id="4175" />
+<TGConnectingPoint num="1" id="4176" />
+<TGConnectingPoint num="2" id="4177" />
+<TGConnectingPoint num="3" id="4178" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="5" enabled="true"/>
@@ -11273,26 +11464,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4118" >
+<CONNECTOR type="5102" id="4188" >
 <cdparam x="581" y="516" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4117" />
-<P1  x="543" y="346" id="4484" />
-<P2  x="559" y="395" id="4519" />
+<TGConnectingPoint num="0" id="4187" />
+<P1  x="543" y="346" id="4554" />
+<P2  x="559" y="395" id="4589" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4116" >
-<father id="4118" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4186" >
+<father id="4188" num="0" />
 <cdparam x="554" y="371" />
 <sizeparam width="188" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4112" />
-<TGConnectingPoint num="1" id="4113" />
-<TGConnectingPoint num="2" id="4114" />
-<TGConnectingPoint num="3" id="4115" />
+<TGConnectingPoint num="0" id="4182" />
+<TGConnectingPoint num="1" id="4183" />
+<TGConnectingPoint num="2" id="4184" />
+<TGConnectingPoint num="3" id="4185" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11304,26 +11495,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4125" >
+<CONNECTOR type="5102" id="4195" >
 <cdparam x="401" y="59" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4124" />
-<P1  x="386" y="47" id="4435" />
-<P2  x="386" y="62" id="4438" />
+<TGConnectingPoint num="0" id="4194" />
+<P1  x="386" y="47" id="4505" />
+<P2  x="386" y="62" id="4508" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4123" >
-<father id="4125" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4193" >
+<father id="4195" num="0" />
 <cdparam x="402" y="60" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4119" />
-<TGConnectingPoint num="1" id="4120" />
-<TGConnectingPoint num="2" id="4121" />
-<TGConnectingPoint num="3" id="4122" />
+<TGConnectingPoint num="0" id="4189" />
+<TGConnectingPoint num="1" id="4190" />
+<TGConnectingPoint num="2" id="4191" />
+<TGConnectingPoint num="3" id="4192" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11334,26 +11525,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4132" >
+<CONNECTOR type="5102" id="4202" >
 <cdparam x="546" y="471" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4131" />
-<P1  x="559" y="425" id="4520" />
-<P2  x="561" y="467" id="4212" />
+<TGConnectingPoint num="0" id="4201" />
+<P1  x="559" y="425" id="4590" />
+<P2  x="561" y="467" id="4282" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4130" >
-<father id="4132" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4200" >
+<father id="4202" num="0" />
 <cdparam x="559" y="520" />
 <sizeparam width="200" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4126" />
-<TGConnectingPoint num="1" id="4127" />
-<TGConnectingPoint num="2" id="4128" />
-<TGConnectingPoint num="3" id="4129" />
+<TGConnectingPoint num="0" id="4196" />
+<TGConnectingPoint num="1" id="4197" />
+<TGConnectingPoint num="2" id="4198" />
+<TGConnectingPoint num="3" id="4199" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.MOTOR_ON_DELAY" enabled="true"/>
@@ -11364,26 +11555,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4139" >
+<CONNECTOR type="5102" id="4209" >
 <cdparam x="377" y="832" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4138" />
-<P1  x="363" y="775" id="4400" />
-<P2  x="362" y="797" id="4383" />
+<TGConnectingPoint num="0" id="4208" />
+<P1  x="363" y="775" id="4470" />
+<P2  x="362" y="797" id="4453" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4137" >
-<father id="4139" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4207" >
+<father id="4209" num="0" />
 <cdparam x="388" y="797" />
 <sizeparam width="57" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4133" />
-<TGConnectingPoint num="1" id="4134" />
-<TGConnectingPoint num="2" id="4135" />
-<TGConnectingPoint num="3" id="4136" />
+<TGConnectingPoint num="0" id="4203" />
+<TGConnectingPoint num="1" id="4204" />
+<TGConnectingPoint num="2" id="4205" />
+<TGConnectingPoint num="3" id="4206" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11395,26 +11586,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4146" >
+<CONNECTOR type="5102" id="4216" >
 <cdparam x="433" y="146" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4145" />
-<P1  x="386" y="146" id="4348" />
-<P2  x="386" y="153" id="4331" />
+<TGConnectingPoint num="0" id="4215" />
+<P1  x="386" y="146" id="4418" />
+<P2  x="386" y="153" id="4401" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4144" >
-<father id="4146" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4214" >
+<father id="4216" num="0" />
 <cdparam x="335" y="150" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4140" />
-<TGConnectingPoint num="1" id="4141" />
-<TGConnectingPoint num="2" id="4142" />
-<TGConnectingPoint num="3" id="4143" />
+<TGConnectingPoint num="0" id="4210" />
+<TGConnectingPoint num="1" id="4211" />
+<TGConnectingPoint num="2" id="4212" />
+<TGConnectingPoint num="3" id="4213" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11425,26 +11616,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4153" >
+<CONNECTOR type="5102" id="4223" >
 <cdparam x="366" y="295" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4152" />
-<P1  x="386" y="214" id="4321" />
-<P2  x="386" y="243" id="4304" />
+<TGConnectingPoint num="0" id="4222" />
+<P1  x="386" y="214" id="4391" />
+<P2  x="386" y="243" id="4374" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4151" >
-<father id="4153" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4221" >
+<father id="4223" num="0" />
 <cdparam x="398" y="236" />
 <sizeparam width="175" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4147" />
-<TGConnectingPoint num="1" id="4148" />
-<TGConnectingPoint num="2" id="4149" />
-<TGConnectingPoint num="3" id="4150" />
+<TGConnectingPoint num="0" id="4217" />
+<TGConnectingPoint num="1" id="4218" />
+<TGConnectingPoint num="2" id="4219" />
+<TGConnectingPoint num="3" id="4220" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="myGlob.SONAR_DELAY" enabled="true"/>
@@ -11455,26 +11646,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4160" >
+<CONNECTOR type="5102" id="4230" >
 <cdparam x="411" y="336" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4159" />
-<P1  x="411" y="268" id="4306" />
-<P2  x="543" y="304" id="4479" />
+<TGConnectingPoint num="0" id="4229" />
+<P1  x="411" y="268" id="4376" />
+<P2  x="543" y="304" id="4549" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4158" >
-<father id="4160" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4228" >
+<father id="4230" num="0" />
 <cdparam x="463" y="278" />
 <sizeparam width="36" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4154" />
-<TGConnectingPoint num="1" id="4155" />
-<TGConnectingPoint num="2" id="4156" />
-<TGConnectingPoint num="3" id="4157" />
+<TGConnectingPoint num="0" id="4224" />
+<TGConnectingPoint num="1" id="4225" />
+<TGConnectingPoint num="2" id="4226" />
+<TGConnectingPoint num="3" id="4227" />
 <extraparam>
 <guard value="[else]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11485,26 +11676,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4167" >
+<CONNECTOR type="5102" id="4237" >
 <cdparam x="386" y="293" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4166" />
-<P1  x="361" y="268" id="4305" />
-<P2  x="269" y="302" id="4265" />
+<TGConnectingPoint num="0" id="4236" />
+<P1  x="361" y="268" id="4375" />
+<P2  x="269" y="302" id="4335" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4165" >
-<father id="4167" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4235" >
+<father id="4237" num="0" />
 <cdparam x="243" y="274" />
 <sizeparam width="102" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4161" />
-<TGConnectingPoint num="1" id="4162" />
-<TGConnectingPoint num="2" id="4163" />
-<TGConnectingPoint num="3" id="4164" />
+<TGConnectingPoint num="0" id="4231" />
+<TGConnectingPoint num="1" id="4232" />
+<TGConnectingPoint num="2" id="4233" />
+<TGConnectingPoint num="3" id="4234" />
 <extraparam>
 <guard value="[distance&lt;100 ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11515,26 +11706,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4174" >
+<CONNECTOR type="5102" id="4244" >
 <cdparam x="243" y="351" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4173" />
-<P1  x="192" y="352" id="4292" />
-<P2  x="192" y="409" id="4252" />
+<TGConnectingPoint num="0" id="4243" />
+<P1  x="192" y="352" id="4362" />
+<P2  x="192" y="409" id="4322" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4172" >
-<father id="4174" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4242" >
+<father id="4244" num="0" />
 <cdparam x="197" y="383" />
 <sizeparam width="188" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4168" />
-<TGConnectingPoint num="1" id="4169" />
-<TGConnectingPoint num="2" id="4170" />
-<TGConnectingPoint num="3" id="4171" />
+<TGConnectingPoint num="0" id="4238" />
+<TGConnectingPoint num="1" id="4239" />
+<TGConnectingPoint num="2" id="4240" />
+<TGConnectingPoint num="3" id="4241" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11546,26 +11737,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4181" >
+<CONNECTOR type="5102" id="4251" >
 <cdparam x="561" y="497" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4180" />
-<P1  x="561" y="497" id="4217" />
-<P2  x="538" y="531" id="4200" />
+<TGConnectingPoint num="0" id="4250" />
+<P1  x="561" y="497" id="4287" />
+<P2  x="538" y="531" id="4270" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4179" >
-<father id="4181" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4249" >
+<father id="4251" num="0" />
 <cdparam x="555" y="533" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4175" />
-<TGConnectingPoint num="1" id="4176" />
-<TGConnectingPoint num="2" id="4177" />
-<TGConnectingPoint num="3" id="4178" />
+<TGConnectingPoint num="0" id="4245" />
+<TGConnectingPoint num="1" id="4246" />
+<TGConnectingPoint num="2" id="4247" />
+<TGConnectingPoint num="3" id="4248" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11576,26 +11767,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4188" >
+<CONNECTOR type="5102" id="4258" >
 <cdparam x="538" y="561" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4187" />
-<P1  x="538" y="561" id="4201" />
-<P2  x="538" y="586" id="4189" />
+<TGConnectingPoint num="0" id="4257" />
+<P1  x="538" y="561" id="4271" />
+<P2  x="538" y="586" id="4259" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4186" >
-<father id="4188" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4256" >
+<father id="4258" num="0" />
 <cdparam x="542" y="582" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4182" />
-<TGConnectingPoint num="1" id="4183" />
-<TGConnectingPoint num="2" id="4184" />
-<TGConnectingPoint num="3" id="4185" />
+<TGConnectingPoint num="0" id="4252" />
+<TGConnectingPoint num="1" id="4253" />
+<TGConnectingPoint num="2" id="4254" />
+<TGConnectingPoint num="3" id="4255" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -11606,541 +11797,541 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="4199" >
+<COMPONENT type="5104" id="4269" >
 <cdparam x="453" y="591" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="receiveContact(contact)" />
-<TGConnectingPoint num="0" id="4189" />
-<TGConnectingPoint num="1" id="4190" />
-<TGConnectingPoint num="2" id="4191" />
-<TGConnectingPoint num="3" id="4192" />
-<TGConnectingPoint num="4" id="4193" />
-<TGConnectingPoint num="5" id="4194" />
-<TGConnectingPoint num="6" id="4195" />
-<TGConnectingPoint num="7" id="4196" />
-<TGConnectingPoint num="8" id="4197" />
-<TGConnectingPoint num="9" id="4198" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="4210" >
+<TGConnectingPoint num="0" id="4259" />
+<TGConnectingPoint num="1" id="4260" />
+<TGConnectingPoint num="2" id="4261" />
+<TGConnectingPoint num="3" id="4262" />
+<TGConnectingPoint num="4" id="4263" />
+<TGConnectingPoint num="5" id="4264" />
+<TGConnectingPoint num="6" id="4265" />
+<TGConnectingPoint num="7" id="4266" />
+<TGConnectingPoint num="8" id="4267" />
+<TGConnectingPoint num="9" id="4268" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="4280" >
 <cdparam x="459" y="536" />
 <sizeparam width="159" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="ready_to_receive_cont()" />
-<TGConnectingPoint num="0" id="4200" />
-<TGConnectingPoint num="1" id="4201" />
-<TGConnectingPoint num="2" id="4202" />
-<TGConnectingPoint num="3" id="4203" />
-<TGConnectingPoint num="4" id="4204" />
-<TGConnectingPoint num="5" id="4205" />
-<TGConnectingPoint num="6" id="4206" />
-<TGConnectingPoint num="7" id="4207" />
-<TGConnectingPoint num="8" id="4208" />
-<TGConnectingPoint num="9" id="4209" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4251" >
+<TGConnectingPoint num="0" id="4270" />
+<TGConnectingPoint num="1" id="4271" />
+<TGConnectingPoint num="2" id="4272" />
+<TGConnectingPoint num="3" id="4273" />
+<TGConnectingPoint num="4" id="4274" />
+<TGConnectingPoint num="5" id="4275" />
+<TGConnectingPoint num="6" id="4276" />
+<TGConnectingPoint num="7" id="4277" />
+<TGConnectingPoint num="8" id="4278" />
+<TGConnectingPoint num="9" id="4279" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4321" >
 <cdparam x="462" y="467" />
 <sizeparam width="198" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="CHECK_ACCELERATION" />
-<TGConnectingPoint num="0" id="4211" />
-<TGConnectingPoint num="1" id="4212" />
-<TGConnectingPoint num="2" id="4213" />
-<TGConnectingPoint num="3" id="4214" />
-<TGConnectingPoint num="4" id="4215" />
-<TGConnectingPoint num="5" id="4216" />
-<TGConnectingPoint num="6" id="4217" />
-<TGConnectingPoint num="7" id="4218" />
-<TGConnectingPoint num="8" id="4219" />
-<TGConnectingPoint num="9" id="4220" />
-<TGConnectingPoint num="10" id="4221" />
-<TGConnectingPoint num="11" id="4222" />
-<TGConnectingPoint num="12" id="4223" />
-<TGConnectingPoint num="13" id="4224" />
-<TGConnectingPoint num="14" id="4225" />
-<TGConnectingPoint num="15" id="4226" />
-<TGConnectingPoint num="16" id="4227" />
-<TGConnectingPoint num="17" id="4228" />
-<TGConnectingPoint num="18" id="4229" />
-<TGConnectingPoint num="19" id="4230" />
-<TGConnectingPoint num="20" id="4231" />
-<TGConnectingPoint num="21" id="4232" />
-<TGConnectingPoint num="22" id="4233" />
-<TGConnectingPoint num="23" id="4234" />
-<TGConnectingPoint num="24" id="4235" />
-<TGConnectingPoint num="25" id="4236" />
-<TGConnectingPoint num="26" id="4237" />
-<TGConnectingPoint num="27" id="4238" />
-<TGConnectingPoint num="28" id="4239" />
-<TGConnectingPoint num="29" id="4240" />
-<TGConnectingPoint num="30" id="4241" />
-<TGConnectingPoint num="31" id="4242" />
-<TGConnectingPoint num="32" id="4243" />
-<TGConnectingPoint num="33" id="4244" />
-<TGConnectingPoint num="34" id="4245" />
-<TGConnectingPoint num="35" id="4246" />
-<TGConnectingPoint num="36" id="4247" />
-<TGConnectingPoint num="37" id="4248" />
-<TGConnectingPoint num="38" id="4249" />
-<TGConnectingPoint num="39" id="4250" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="4262" >
+<TGConnectingPoint num="0" id="4281" />
+<TGConnectingPoint num="1" id="4282" />
+<TGConnectingPoint num="2" id="4283" />
+<TGConnectingPoint num="3" id="4284" />
+<TGConnectingPoint num="4" id="4285" />
+<TGConnectingPoint num="5" id="4286" />
+<TGConnectingPoint num="6" id="4287" />
+<TGConnectingPoint num="7" id="4288" />
+<TGConnectingPoint num="8" id="4289" />
+<TGConnectingPoint num="9" id="4290" />
+<TGConnectingPoint num="10" id="4291" />
+<TGConnectingPoint num="11" id="4292" />
+<TGConnectingPoint num="12" id="4293" />
+<TGConnectingPoint num="13" id="4294" />
+<TGConnectingPoint num="14" id="4295" />
+<TGConnectingPoint num="15" id="4296" />
+<TGConnectingPoint num="16" id="4297" />
+<TGConnectingPoint num="17" id="4298" />
+<TGConnectingPoint num="18" id="4299" />
+<TGConnectingPoint num="19" id="4300" />
+<TGConnectingPoint num="20" id="4301" />
+<TGConnectingPoint num="21" id="4302" />
+<TGConnectingPoint num="22" id="4303" />
+<TGConnectingPoint num="23" id="4304" />
+<TGConnectingPoint num="24" id="4305" />
+<TGConnectingPoint num="25" id="4306" />
+<TGConnectingPoint num="26" id="4307" />
+<TGConnectingPoint num="27" id="4308" />
+<TGConnectingPoint num="28" id="4309" />
+<TGConnectingPoint num="29" id="4310" />
+<TGConnectingPoint num="30" id="4311" />
+<TGConnectingPoint num="31" id="4312" />
+<TGConnectingPoint num="32" id="4313" />
+<TGConnectingPoint num="33" id="4314" />
+<TGConnectingPoint num="34" id="4315" />
+<TGConnectingPoint num="35" id="4316" />
+<TGConnectingPoint num="36" id="4317" />
+<TGConnectingPoint num="37" id="4318" />
+<TGConnectingPoint num="38" id="4319" />
+<TGConnectingPoint num="39" id="4320" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="4332" >
 <cdparam x="111" y="414" />
 <sizeparam width="162" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="motor_backward(speed)" />
-<TGConnectingPoint num="0" id="4252" />
-<TGConnectingPoint num="1" id="4253" />
-<TGConnectingPoint num="2" id="4254" />
-<TGConnectingPoint num="3" id="4255" />
-<TGConnectingPoint num="4" id="4256" />
-<TGConnectingPoint num="5" id="4257" />
-<TGConnectingPoint num="6" id="4258" />
-<TGConnectingPoint num="7" id="4259" />
-<TGConnectingPoint num="8" id="4260" />
-<TGConnectingPoint num="9" id="4261" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4303" >
+<TGConnectingPoint num="0" id="4322" />
+<TGConnectingPoint num="1" id="4323" />
+<TGConnectingPoint num="2" id="4324" />
+<TGConnectingPoint num="3" id="4325" />
+<TGConnectingPoint num="4" id="4326" />
+<TGConnectingPoint num="5" id="4327" />
+<TGConnectingPoint num="6" id="4328" />
+<TGConnectingPoint num="7" id="4329" />
+<TGConnectingPoint num="8" id="4330" />
+<TGConnectingPoint num="9" id="4331" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4373" >
 <cdparam x="148" y="302" />
 <sizeparam width="121" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="GO_BACKWARD" />
-<TGConnectingPoint num="0" id="4263" />
-<TGConnectingPoint num="1" id="4264" />
-<TGConnectingPoint num="2" id="4265" />
-<TGConnectingPoint num="3" id="4266" />
-<TGConnectingPoint num="4" id="4267" />
-<TGConnectingPoint num="5" id="4268" />
-<TGConnectingPoint num="6" id="4269" />
-<TGConnectingPoint num="7" id="4270" />
-<TGConnectingPoint num="8" id="4271" />
-<TGConnectingPoint num="9" id="4272" />
-<TGConnectingPoint num="10" id="4273" />
-<TGConnectingPoint num="11" id="4274" />
-<TGConnectingPoint num="12" id="4275" />
-<TGConnectingPoint num="13" id="4276" />
-<TGConnectingPoint num="14" id="4277" />
-<TGConnectingPoint num="15" id="4278" />
-<TGConnectingPoint num="16" id="4279" />
-<TGConnectingPoint num="17" id="4280" />
-<TGConnectingPoint num="18" id="4281" />
-<TGConnectingPoint num="19" id="4282" />
-<TGConnectingPoint num="20" id="4283" />
-<TGConnectingPoint num="21" id="4284" />
-<TGConnectingPoint num="22" id="4285" />
-<TGConnectingPoint num="23" id="4286" />
-<TGConnectingPoint num="24" id="4287" />
-<TGConnectingPoint num="25" id="4288" />
-<TGConnectingPoint num="26" id="4289" />
-<TGConnectingPoint num="27" id="4290" />
-<TGConnectingPoint num="28" id="4291" />
-<TGConnectingPoint num="29" id="4292" />
-<TGConnectingPoint num="30" id="4293" />
-<TGConnectingPoint num="31" id="4294" />
-<TGConnectingPoint num="32" id="4295" />
-<TGConnectingPoint num="33" id="4296" />
-<TGConnectingPoint num="34" id="4297" />
-<TGConnectingPoint num="35" id="4298" />
-<TGConnectingPoint num="36" id="4299" />
-<TGConnectingPoint num="37" id="4300" />
-<TGConnectingPoint num="38" id="4301" />
-<TGConnectingPoint num="39" id="4302" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5107" id="4319" >
+<TGConnectingPoint num="0" id="4333" />
+<TGConnectingPoint num="1" id="4334" />
+<TGConnectingPoint num="2" id="4335" />
+<TGConnectingPoint num="3" id="4336" />
+<TGConnectingPoint num="4" id="4337" />
+<TGConnectingPoint num="5" id="4338" />
+<TGConnectingPoint num="6" id="4339" />
+<TGConnectingPoint num="7" id="4340" />
+<TGConnectingPoint num="8" id="4341" />
+<TGConnectingPoint num="9" id="4342" />
+<TGConnectingPoint num="10" id="4343" />
+<TGConnectingPoint num="11" id="4344" />
+<TGConnectingPoint num="12" id="4345" />
+<TGConnectingPoint num="13" id="4346" />
+<TGConnectingPoint num="14" id="4347" />
+<TGConnectingPoint num="15" id="4348" />
+<TGConnectingPoint num="16" id="4349" />
+<TGConnectingPoint num="17" id="4350" />
+<TGConnectingPoint num="18" id="4351" />
+<TGConnectingPoint num="19" id="4352" />
+<TGConnectingPoint num="20" id="4353" />
+<TGConnectingPoint num="21" id="4354" />
+<TGConnectingPoint num="22" id="4355" />
+<TGConnectingPoint num="23" id="4356" />
+<TGConnectingPoint num="24" id="4357" />
+<TGConnectingPoint num="25" id="4358" />
+<TGConnectingPoint num="26" id="4359" />
+<TGConnectingPoint num="27" id="4360" />
+<TGConnectingPoint num="28" id="4361" />
+<TGConnectingPoint num="29" id="4362" />
+<TGConnectingPoint num="30" id="4363" />
+<TGConnectingPoint num="31" id="4364" />
+<TGConnectingPoint num="32" id="4365" />
+<TGConnectingPoint num="33" id="4366" />
+<TGConnectingPoint num="34" id="4367" />
+<TGConnectingPoint num="35" id="4368" />
+<TGConnectingPoint num="36" id="4369" />
+<TGConnectingPoint num="37" id="4370" />
+<TGConnectingPoint num="38" id="4371" />
+<TGConnectingPoint num="39" id="4372" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5107" id="4389" >
 <cdparam x="371" y="253" />
 <sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4304" />
-<TGConnectingPoint num="1" id="4305" />
-<TGConnectingPoint num="2" id="4306" />
-<TGConnectingPoint num="3" id="4307" />
-<TGConnectingPoint num="4" id="4308" />
-<TGConnectingPoint num="5" id="4309" />
-<TGConnectingPoint num="6" id="4310" />
-<TGConnectingPoint num="7" id="4311" />
-<TGConnectingPoint num="8" id="4312" />
-<TGConnectingPoint num="9" id="4313" />
-<TGConnectingPoint num="10" id="4314" />
-<TGConnectingPoint num="11" id="4315" />
-<TGConnectingPoint num="12" id="4316" />
-<TGConnectingPoint num="13" id="4317" />
-<TGConnectingPoint num="14" id="4318" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4330" >
+<TGConnectingPoint num="0" id="4374" />
+<TGConnectingPoint num="1" id="4375" />
+<TGConnectingPoint num="2" id="4376" />
+<TGConnectingPoint num="3" id="4377" />
+<TGConnectingPoint num="4" id="4378" />
+<TGConnectingPoint num="5" id="4379" />
+<TGConnectingPoint num="6" id="4380" />
+<TGConnectingPoint num="7" id="4381" />
+<TGConnectingPoint num="8" id="4382" />
+<TGConnectingPoint num="9" id="4383" />
+<TGConnectingPoint num="10" id="4384" />
+<TGConnectingPoint num="11" id="4385" />
+<TGConnectingPoint num="12" id="4386" />
+<TGConnectingPoint num="13" id="4387" />
+<TGConnectingPoint num="14" id="4388" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="4400" >
 <cdparam x="295" y="189" />
 <sizeparam width="182" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="receiveDistance(distance)" />
-<TGConnectingPoint num="0" id="4320" />
-<TGConnectingPoint num="1" id="4321" />
-<TGConnectingPoint num="2" id="4322" />
-<TGConnectingPoint num="3" id="4323" />
-<TGConnectingPoint num="4" id="4324" />
-<TGConnectingPoint num="5" id="4325" />
-<TGConnectingPoint num="6" id="4326" />
-<TGConnectingPoint num="7" id="4327" />
-<TGConnectingPoint num="8" id="4328" />
-<TGConnectingPoint num="9" id="4329" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="4341" >
+<TGConnectingPoint num="0" id="4390" />
+<TGConnectingPoint num="1" id="4391" />
+<TGConnectingPoint num="2" id="4392" />
+<TGConnectingPoint num="3" id="4393" />
+<TGConnectingPoint num="4" id="4394" />
+<TGConnectingPoint num="5" id="4395" />
+<TGConnectingPoint num="6" id="4396" />
+<TGConnectingPoint num="7" id="4397" />
+<TGConnectingPoint num="8" id="4398" />
+<TGConnectingPoint num="9" id="4399" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="4411" >
 <cdparam x="309" y="158" />
 <sizeparam width="154" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="ready_to_receive_dist()" />
-<TGConnectingPoint num="0" id="4331" />
-<TGConnectingPoint num="1" id="4332" />
-<TGConnectingPoint num="2" id="4333" />
-<TGConnectingPoint num="3" id="4334" />
-<TGConnectingPoint num="4" id="4335" />
-<TGConnectingPoint num="5" id="4336" />
-<TGConnectingPoint num="6" id="4337" />
-<TGConnectingPoint num="7" id="4338" />
-<TGConnectingPoint num="8" id="4339" />
-<TGConnectingPoint num="9" id="4340" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4382" >
+<TGConnectingPoint num="0" id="4401" />
+<TGConnectingPoint num="1" id="4402" />
+<TGConnectingPoint num="2" id="4403" />
+<TGConnectingPoint num="3" id="4404" />
+<TGConnectingPoint num="4" id="4405" />
+<TGConnectingPoint num="5" id="4406" />
+<TGConnectingPoint num="6" id="4407" />
+<TGConnectingPoint num="7" id="4408" />
+<TGConnectingPoint num="8" id="4409" />
+<TGConnectingPoint num="9" id="4410" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4452" >
 <cdparam x="293" y="116" />
 <sizeparam width="187" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="CHECK_ENVIRONMENT" />
-<TGConnectingPoint num="0" id="4342" />
-<TGConnectingPoint num="1" id="4343" />
-<TGConnectingPoint num="2" id="4344" />
-<TGConnectingPoint num="3" id="4345" />
-<TGConnectingPoint num="4" id="4346" />
-<TGConnectingPoint num="5" id="4347" />
-<TGConnectingPoint num="6" id="4348" />
-<TGConnectingPoint num="7" id="4349" />
-<TGConnectingPoint num="8" id="4350" />
-<TGConnectingPoint num="9" id="4351" />
-<TGConnectingPoint num="10" id="4352" />
-<TGConnectingPoint num="11" id="4353" />
-<TGConnectingPoint num="12" id="4354" />
-<TGConnectingPoint num="13" id="4355" />
-<TGConnectingPoint num="14" id="4356" />
-<TGConnectingPoint num="15" id="4357" />
-<TGConnectingPoint num="16" id="4358" />
-<TGConnectingPoint num="17" id="4359" />
-<TGConnectingPoint num="18" id="4360" />
-<TGConnectingPoint num="19" id="4361" />
-<TGConnectingPoint num="20" id="4362" />
-<TGConnectingPoint num="21" id="4363" />
-<TGConnectingPoint num="22" id="4364" />
-<TGConnectingPoint num="23" id="4365" />
-<TGConnectingPoint num="24" id="4366" />
-<TGConnectingPoint num="25" id="4367" />
-<TGConnectingPoint num="26" id="4368" />
-<TGConnectingPoint num="27" id="4369" />
-<TGConnectingPoint num="28" id="4370" />
-<TGConnectingPoint num="29" id="4371" />
-<TGConnectingPoint num="30" id="4372" />
-<TGConnectingPoint num="31" id="4373" />
-<TGConnectingPoint num="32" id="4374" />
-<TGConnectingPoint num="33" id="4375" />
-<TGConnectingPoint num="34" id="4376" />
-<TGConnectingPoint num="35" id="4377" />
-<TGConnectingPoint num="36" id="4378" />
-<TGConnectingPoint num="37" id="4379" />
-<TGConnectingPoint num="38" id="4380" />
-<TGConnectingPoint num="39" id="4381" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="4393" >
+<TGConnectingPoint num="0" id="4412" />
+<TGConnectingPoint num="1" id="4413" />
+<TGConnectingPoint num="2" id="4414" />
+<TGConnectingPoint num="3" id="4415" />
+<TGConnectingPoint num="4" id="4416" />
+<TGConnectingPoint num="5" id="4417" />
+<TGConnectingPoint num="6" id="4418" />
+<TGConnectingPoint num="7" id="4419" />
+<TGConnectingPoint num="8" id="4420" />
+<TGConnectingPoint num="9" id="4421" />
+<TGConnectingPoint num="10" id="4422" />
+<TGConnectingPoint num="11" id="4423" />
+<TGConnectingPoint num="12" id="4424" />
+<TGConnectingPoint num="13" id="4425" />
+<TGConnectingPoint num="14" id="4426" />
+<TGConnectingPoint num="15" id="4427" />
+<TGConnectingPoint num="16" id="4428" />
+<TGConnectingPoint num="17" id="4429" />
+<TGConnectingPoint num="18" id="4430" />
+<TGConnectingPoint num="19" id="4431" />
+<TGConnectingPoint num="20" id="4432" />
+<TGConnectingPoint num="21" id="4433" />
+<TGConnectingPoint num="22" id="4434" />
+<TGConnectingPoint num="23" id="4435" />
+<TGConnectingPoint num="24" id="4436" />
+<TGConnectingPoint num="25" id="4437" />
+<TGConnectingPoint num="26" id="4438" />
+<TGConnectingPoint num="27" id="4439" />
+<TGConnectingPoint num="28" id="4440" />
+<TGConnectingPoint num="29" id="4441" />
+<TGConnectingPoint num="30" id="4442" />
+<TGConnectingPoint num="31" id="4443" />
+<TGConnectingPoint num="32" id="4444" />
+<TGConnectingPoint num="33" id="4445" />
+<TGConnectingPoint num="34" id="4446" />
+<TGConnectingPoint num="35" id="4447" />
+<TGConnectingPoint num="36" id="4448" />
+<TGConnectingPoint num="37" id="4449" />
+<TGConnectingPoint num="38" id="4450" />
+<TGConnectingPoint num="39" id="4451" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="4463" >
 <cdparam x="302" y="802" />
 <sizeparam width="121" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="motorOff1(speed)" />
-<TGConnectingPoint num="0" id="4383" />
-<TGConnectingPoint num="1" id="4384" />
-<TGConnectingPoint num="2" id="4385" />
-<TGConnectingPoint num="3" id="4386" />
-<TGConnectingPoint num="4" id="4387" />
-<TGConnectingPoint num="5" id="4388" />
-<TGConnectingPoint num="6" id="4389" />
-<TGConnectingPoint num="7" id="4390" />
-<TGConnectingPoint num="8" id="4391" />
-<TGConnectingPoint num="9" id="4392" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4434" >
+<TGConnectingPoint num="0" id="4453" />
+<TGConnectingPoint num="1" id="4454" />
+<TGConnectingPoint num="2" id="4455" />
+<TGConnectingPoint num="3" id="4456" />
+<TGConnectingPoint num="4" id="4457" />
+<TGConnectingPoint num="5" id="4458" />
+<TGConnectingPoint num="6" id="4459" />
+<TGConnectingPoint num="7" id="4460" />
+<TGConnectingPoint num="8" id="4461" />
+<TGConnectingPoint num="9" id="4462" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4504" >
 <cdparam x="293" y="745" />
 <sizeparam width="141" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="MOTOR_OFF" />
-<TGConnectingPoint num="0" id="4394" />
-<TGConnectingPoint num="1" id="4395" />
-<TGConnectingPoint num="2" id="4396" />
-<TGConnectingPoint num="3" id="4397" />
-<TGConnectingPoint num="4" id="4398" />
-<TGConnectingPoint num="5" id="4399" />
-<TGConnectingPoint num="6" id="4400" />
-<TGConnectingPoint num="7" id="4401" />
-<TGConnectingPoint num="8" id="4402" />
-<TGConnectingPoint num="9" id="4403" />
-<TGConnectingPoint num="10" id="4404" />
-<TGConnectingPoint num="11" id="4405" />
-<TGConnectingPoint num="12" id="4406" />
-<TGConnectingPoint num="13" id="4407" />
-<TGConnectingPoint num="14" id="4408" />
-<TGConnectingPoint num="15" id="4409" />
-<TGConnectingPoint num="16" id="4410" />
-<TGConnectingPoint num="17" id="4411" />
-<TGConnectingPoint num="18" id="4412" />
-<TGConnectingPoint num="19" id="4413" />
-<TGConnectingPoint num="20" id="4414" />
-<TGConnectingPoint num="21" id="4415" />
-<TGConnectingPoint num="22" id="4416" />
-<TGConnectingPoint num="23" id="4417" />
-<TGConnectingPoint num="24" id="4418" />
-<TGConnectingPoint num="25" id="4419" />
-<TGConnectingPoint num="26" id="4420" />
-<TGConnectingPoint num="27" id="4421" />
-<TGConnectingPoint num="28" id="4422" />
-<TGConnectingPoint num="29" id="4423" />
-<TGConnectingPoint num="30" id="4424" />
-<TGConnectingPoint num="31" id="4425" />
-<TGConnectingPoint num="32" id="4426" />
-<TGConnectingPoint num="33" id="4427" />
-<TGConnectingPoint num="34" id="4428" />
-<TGConnectingPoint num="35" id="4429" />
-<TGConnectingPoint num="36" id="4430" />
-<TGConnectingPoint num="37" id="4431" />
-<TGConnectingPoint num="38" id="4432" />
-<TGConnectingPoint num="39" id="4433" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4436" >
+<TGConnectingPoint num="0" id="4464" />
+<TGConnectingPoint num="1" id="4465" />
+<TGConnectingPoint num="2" id="4466" />
+<TGConnectingPoint num="3" id="4467" />
+<TGConnectingPoint num="4" id="4468" />
+<TGConnectingPoint num="5" id="4469" />
+<TGConnectingPoint num="6" id="4470" />
+<TGConnectingPoint num="7" id="4471" />
+<TGConnectingPoint num="8" id="4472" />
+<TGConnectingPoint num="9" id="4473" />
+<TGConnectingPoint num="10" id="4474" />
+<TGConnectingPoint num="11" id="4475" />
+<TGConnectingPoint num="12" id="4476" />
+<TGConnectingPoint num="13" id="4477" />
+<TGConnectingPoint num="14" id="4478" />
+<TGConnectingPoint num="15" id="4479" />
+<TGConnectingPoint num="16" id="4480" />
+<TGConnectingPoint num="17" id="4481" />
+<TGConnectingPoint num="18" id="4482" />
+<TGConnectingPoint num="19" id="4483" />
+<TGConnectingPoint num="20" id="4484" />
+<TGConnectingPoint num="21" id="4485" />
+<TGConnectingPoint num="22" id="4486" />
+<TGConnectingPoint num="23" id="4487" />
+<TGConnectingPoint num="24" id="4488" />
+<TGConnectingPoint num="25" id="4489" />
+<TGConnectingPoint num="26" id="4490" />
+<TGConnectingPoint num="27" id="4491" />
+<TGConnectingPoint num="28" id="4492" />
+<TGConnectingPoint num="29" id="4493" />
+<TGConnectingPoint num="30" id="4494" />
+<TGConnectingPoint num="31" id="4495" />
+<TGConnectingPoint num="32" id="4496" />
+<TGConnectingPoint num="33" id="4497" />
+<TGConnectingPoint num="34" id="4498" />
+<TGConnectingPoint num="35" id="4499" />
+<TGConnectingPoint num="36" id="4500" />
+<TGConnectingPoint num="37" id="4501" />
+<TGConnectingPoint num="38" id="4502" />
+<TGConnectingPoint num="39" id="4503" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="4506" >
 <cdparam x="379" y="27" />
 <sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4435" />
+<TGConnectingPoint num="0" id="4505" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="4477" >
+<COMPONENT type="5106" id="4547" >
 <cdparam x="357" y="62" />
 <sizeparam width="58" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="START" />
-<TGConnectingPoint num="0" id="4437" />
-<TGConnectingPoint num="1" id="4438" />
-<TGConnectingPoint num="2" id="4439" />
-<TGConnectingPoint num="3" id="4440" />
-<TGConnectingPoint num="4" id="4441" />
-<TGConnectingPoint num="5" id="4442" />
-<TGConnectingPoint num="6" id="4443" />
-<TGConnectingPoint num="7" id="4444" />
-<TGConnectingPoint num="8" id="4445" />
-<TGConnectingPoint num="9" id="4446" />
-<TGConnectingPoint num="10" id="4447" />
-<TGConnectingPoint num="11" id="4448" />
-<TGConnectingPoint num="12" id="4449" />
-<TGConnectingPoint num="13" id="4450" />
-<TGConnectingPoint num="14" id="4451" />
-<TGConnectingPoint num="15" id="4452" />
-<TGConnectingPoint num="16" id="4453" />
-<TGConnectingPoint num="17" id="4454" />
-<TGConnectingPoint num="18" id="4455" />
-<TGConnectingPoint num="19" id="4456" />
-<TGConnectingPoint num="20" id="4457" />
-<TGConnectingPoint num="21" id="4458" />
-<TGConnectingPoint num="22" id="4459" />
-<TGConnectingPoint num="23" id="4460" />
-<TGConnectingPoint num="24" id="4461" />
-<TGConnectingPoint num="25" id="4462" />
-<TGConnectingPoint num="26" id="4463" />
-<TGConnectingPoint num="27" id="4464" />
-<TGConnectingPoint num="28" id="4465" />
-<TGConnectingPoint num="29" id="4466" />
-<TGConnectingPoint num="30" id="4467" />
-<TGConnectingPoint num="31" id="4468" />
-<TGConnectingPoint num="32" id="4469" />
-<TGConnectingPoint num="33" id="4470" />
-<TGConnectingPoint num="34" id="4471" />
-<TGConnectingPoint num="35" id="4472" />
-<TGConnectingPoint num="36" id="4473" />
-<TGConnectingPoint num="37" id="4474" />
-<TGConnectingPoint num="38" id="4475" />
-<TGConnectingPoint num="39" id="4476" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="4518" >
+<TGConnectingPoint num="0" id="4507" />
+<TGConnectingPoint num="1" id="4508" />
+<TGConnectingPoint num="2" id="4509" />
+<TGConnectingPoint num="3" id="4510" />
+<TGConnectingPoint num="4" id="4511" />
+<TGConnectingPoint num="5" id="4512" />
+<TGConnectingPoint num="6" id="4513" />
+<TGConnectingPoint num="7" id="4514" />
+<TGConnectingPoint num="8" id="4515" />
+<TGConnectingPoint num="9" id="4516" />
+<TGConnectingPoint num="10" id="4517" />
+<TGConnectingPoint num="11" id="4518" />
+<TGConnectingPoint num="12" id="4519" />
+<TGConnectingPoint num="13" id="4520" />
+<TGConnectingPoint num="14" id="4521" />
+<TGConnectingPoint num="15" id="4522" />
+<TGConnectingPoint num="16" id="4523" />
+<TGConnectingPoint num="17" id="4524" />
+<TGConnectingPoint num="18" id="4525" />
+<TGConnectingPoint num="19" id="4526" />
+<TGConnectingPoint num="20" id="4527" />
+<TGConnectingPoint num="21" id="4528" />
+<TGConnectingPoint num="22" id="4529" />
+<TGConnectingPoint num="23" id="4530" />
+<TGConnectingPoint num="24" id="4531" />
+<TGConnectingPoint num="25" id="4532" />
+<TGConnectingPoint num="26" id="4533" />
+<TGConnectingPoint num="27" id="4534" />
+<TGConnectingPoint num="28" id="4535" />
+<TGConnectingPoint num="29" id="4536" />
+<TGConnectingPoint num="30" id="4537" />
+<TGConnectingPoint num="31" id="4538" />
+<TGConnectingPoint num="32" id="4539" />
+<TGConnectingPoint num="33" id="4540" />
+<TGConnectingPoint num="34" id="4541" />
+<TGConnectingPoint num="35" id="4542" />
+<TGConnectingPoint num="36" id="4543" />
+<TGConnectingPoint num="37" id="4544" />
+<TGConnectingPoint num="38" id="4545" />
+<TGConnectingPoint num="39" id="4546" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="4588" >
 <cdparam x="469" y="304" />
 <sizeparam width="148" height="42" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="GO_FORWARD" />
-<TGConnectingPoint num="0" id="4478" />
-<TGConnectingPoint num="1" id="4479" />
-<TGConnectingPoint num="2" id="4480" />
-<TGConnectingPoint num="3" id="4481" />
-<TGConnectingPoint num="4" id="4482" />
-<TGConnectingPoint num="5" id="4483" />
-<TGConnectingPoint num="6" id="4484" />
-<TGConnectingPoint num="7" id="4485" />
-<TGConnectingPoint num="8" id="4486" />
-<TGConnectingPoint num="9" id="4487" />
-<TGConnectingPoint num="10" id="4488" />
-<TGConnectingPoint num="11" id="4489" />
-<TGConnectingPoint num="12" id="4490" />
-<TGConnectingPoint num="13" id="4491" />
-<TGConnectingPoint num="14" id="4492" />
-<TGConnectingPoint num="15" id="4493" />
-<TGConnectingPoint num="16" id="4494" />
-<TGConnectingPoint num="17" id="4495" />
-<TGConnectingPoint num="18" id="4496" />
-<TGConnectingPoint num="19" id="4497" />
-<TGConnectingPoint num="20" id="4498" />
-<TGConnectingPoint num="21" id="4499" />
-<TGConnectingPoint num="22" id="4500" />
-<TGConnectingPoint num="23" id="4501" />
-<TGConnectingPoint num="24" id="4502" />
-<TGConnectingPoint num="25" id="4503" />
-<TGConnectingPoint num="26" id="4504" />
-<TGConnectingPoint num="27" id="4505" />
-<TGConnectingPoint num="28" id="4506" />
-<TGConnectingPoint num="29" id="4507" />
-<TGConnectingPoint num="30" id="4508" />
-<TGConnectingPoint num="31" id="4509" />
-<TGConnectingPoint num="32" id="4510" />
-<TGConnectingPoint num="33" id="4511" />
-<TGConnectingPoint num="34" id="4512" />
-<TGConnectingPoint num="35" id="4513" />
-<TGConnectingPoint num="36" id="4514" />
-<TGConnectingPoint num="37" id="4515" />
-<TGConnectingPoint num="38" id="4516" />
-<TGConnectingPoint num="39" id="4517" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="4529" >
+<TGConnectingPoint num="0" id="4548" />
+<TGConnectingPoint num="1" id="4549" />
+<TGConnectingPoint num="2" id="4550" />
+<TGConnectingPoint num="3" id="4551" />
+<TGConnectingPoint num="4" id="4552" />
+<TGConnectingPoint num="5" id="4553" />
+<TGConnectingPoint num="6" id="4554" />
+<TGConnectingPoint num="7" id="4555" />
+<TGConnectingPoint num="8" id="4556" />
+<TGConnectingPoint num="9" id="4557" />
+<TGConnectingPoint num="10" id="4558" />
+<TGConnectingPoint num="11" id="4559" />
+<TGConnectingPoint num="12" id="4560" />
+<TGConnectingPoint num="13" id="4561" />
+<TGConnectingPoint num="14" id="4562" />
+<TGConnectingPoint num="15" id="4563" />
+<TGConnectingPoint num="16" id="4564" />
+<TGConnectingPoint num="17" id="4565" />
+<TGConnectingPoint num="18" id="4566" />
+<TGConnectingPoint num="19" id="4567" />
+<TGConnectingPoint num="20" id="4568" />
+<TGConnectingPoint num="21" id="4569" />
+<TGConnectingPoint num="22" id="4570" />
+<TGConnectingPoint num="23" id="4571" />
+<TGConnectingPoint num="24" id="4572" />
+<TGConnectingPoint num="25" id="4573" />
+<TGConnectingPoint num="26" id="4574" />
+<TGConnectingPoint num="27" id="4575" />
+<TGConnectingPoint num="28" id="4576" />
+<TGConnectingPoint num="29" id="4577" />
+<TGConnectingPoint num="30" id="4578" />
+<TGConnectingPoint num="31" id="4579" />
+<TGConnectingPoint num="32" id="4580" />
+<TGConnectingPoint num="33" id="4581" />
+<TGConnectingPoint num="34" id="4582" />
+<TGConnectingPoint num="35" id="4583" />
+<TGConnectingPoint num="36" id="4584" />
+<TGConnectingPoint num="37" id="4585" />
+<TGConnectingPoint num="38" id="4586" />
+<TGConnectingPoint num="39" id="4587" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="4599" >
 <cdparam x="485" y="400" />
 <sizeparam width="149" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="motor_forward(speed)" />
-<TGConnectingPoint num="0" id="4519" />
-<TGConnectingPoint num="1" id="4520" />
-<TGConnectingPoint num="2" id="4521" />
-<TGConnectingPoint num="3" id="4522" />
-<TGConnectingPoint num="4" id="4523" />
-<TGConnectingPoint num="5" id="4524" />
-<TGConnectingPoint num="6" id="4525" />
-<TGConnectingPoint num="7" id="4526" />
-<TGConnectingPoint num="8" id="4527" />
-<TGConnectingPoint num="9" id="4528" />
+<TGConnectingPoint num="0" id="4589" />
+<TGConnectingPoint num="1" id="4590" />
+<TGConnectingPoint num="2" id="4591" />
+<TGConnectingPoint num="3" id="4592" />
+<TGConnectingPoint num="4" id="4593" />
+<TGConnectingPoint num="5" id="4594" />
+<TGConnectingPoint num="6" id="4595" />
+<TGConnectingPoint num="7" id="4596" />
+<TGConnectingPoint num="8" id="4597" />
+<TGConnectingPoint num="9" id="4598" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Motor1" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="4544" >
+<CONNECTOR type="5102" id="4614" >
 <cdparam x="480" y="295" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4539" />
-<TGConnectingPoint num="1" id="4540" />
-<TGConnectingPoint num="2" id="4541" />
-<TGConnectingPoint num="3" id="4542" />
-<TGConnectingPoint num="4" id="4543" />
-<P1  x="487" y="295" id="4650" />
-<P2  x="388" y="122" id="4712" />
+<TGConnectingPoint num="0" id="4609" />
+<TGConnectingPoint num="1" id="4610" />
+<TGConnectingPoint num="2" id="4611" />
+<TGConnectingPoint num="3" id="4612" />
+<TGConnectingPoint num="4" id="4613" />
+<P1  x="487" y="295" id="4720" />
+<P2  x="388" y="122" id="4782" />
 <Point x="487" y="414" />
 <Point x="75" y="414" />
 <Point x="77" y="102" />
 <Point x="365" y="102" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4530" >
-<father id="4544" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4600" >
+<father id="4614" num="0" />
 <cdparam x="487" y="414" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4531" >
-<father id="4544" num="1" />
+<SUBCOMPONENT type="-1" id="4601" >
+<father id="4614" num="1" />
 <cdparam x="75" y="414" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4532" >
-<father id="4544" num="2" />
+<SUBCOMPONENT type="-1" id="4602" >
+<father id="4614" num="2" />
 <cdparam x="77" y="102" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4533" >
-<father id="4544" num="3" />
+<SUBCOMPONENT type="-1" id="4603" >
+<father id="4614" num="3" />
 <cdparam x="365" y="102" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4538" >
-<father id="4544" num="4" />
+<SUBCOMPONENT type="-1" id="4608" >
+<father id="4614" num="4" />
 <cdparam x="225" y="433" />
 <sizeparam width="144" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4534" />
-<TGConnectingPoint num="1" id="4535" />
-<TGConnectingPoint num="2" id="4536" />
-<TGConnectingPoint num="3" id="4537" />
+<TGConnectingPoint num="0" id="4604" />
+<TGConnectingPoint num="1" id="4605" />
+<TGConnectingPoint num="2" id="4606" />
+<TGConnectingPoint num="3" id="4607" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12152,66 +12343,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4559" >
+<CONNECTOR type="5102" id="4629" >
 <cdparam x="672" y="227" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4554" />
-<TGConnectingPoint num="1" id="4555" />
-<TGConnectingPoint num="2" id="4556" />
-<TGConnectingPoint num="3" id="4557" />
-<TGConnectingPoint num="4" id="4558" />
-<P1  x="734" y="226" id="4661" />
-<P2  x="570" y="153" id="4730" />
+<TGConnectingPoint num="0" id="4624" />
+<TGConnectingPoint num="1" id="4625" />
+<TGConnectingPoint num="2" id="4626" />
+<TGConnectingPoint num="3" id="4627" />
+<TGConnectingPoint num="4" id="4628" />
+<P1  x="734" y="226" id="4731" />
+<P2  x="570" y="153" id="4800" />
 <Point x="734" y="240" />
 <Point x="834" y="240" />
 <Point x="834" y="133" />
 <Point x="587" y="133" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4545" >
-<father id="4559" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4615" >
+<father id="4629" num="0" />
 <cdparam x="734" y="240" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4546" >
-<father id="4559" num="1" />
+<SUBCOMPONENT type="-1" id="4616" >
+<father id="4629" num="1" />
 <cdparam x="834" y="240" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4547" >
-<father id="4559" num="2" />
+<SUBCOMPONENT type="-1" id="4617" >
+<father id="4629" num="2" />
 <cdparam x="834" y="133" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4548" >
-<father id="4559" num="3" />
+<SUBCOMPONENT type="-1" id="4618" >
+<father id="4629" num="3" />
 <cdparam x="587" y="133" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4553" >
-<father id="4559" num="4" />
+<SUBCOMPONENT type="-1" id="4623" >
+<father id="4629" num="4" />
 <cdparam x="628" y="266" />
 <sizeparam width="245" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4549" />
-<TGConnectingPoint num="1" id="4550" />
-<TGConnectingPoint num="2" id="4551" />
-<TGConnectingPoint num="3" id="4552" />
+<TGConnectingPoint num="0" id="4619" />
+<TGConnectingPoint num="1" id="4620" />
+<TGConnectingPoint num="2" id="4621" />
+<TGConnectingPoint num="3" id="4622" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12223,66 +12414,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4574" >
+<CONNECTOR type="5102" id="4644" >
 <cdparam x="526" y="227" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4569" />
-<TGConnectingPoint num="1" id="4570" />
-<TGConnectingPoint num="2" id="4571" />
-<TGConnectingPoint num="3" id="4572" />
-<TGConnectingPoint num="4" id="4573" />
-<P1  x="569" y="230" id="4672" />
-<P2  x="570" y="128" id="4726" />
+<TGConnectingPoint num="0" id="4639" />
+<TGConnectingPoint num="1" id="4640" />
+<TGConnectingPoint num="2" id="4641" />
+<TGConnectingPoint num="3" id="4642" />
+<TGConnectingPoint num="4" id="4643" />
+<P1  x="569" y="230" id="4742" />
+<P2  x="570" y="128" id="4796" />
 <Point x="567" y="362" />
 <Point x="852" y="362" />
 <Point x="854" y="108" />
 <Point x="587" y="108" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4560" >
-<father id="4574" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4630" >
+<father id="4644" num="0" />
 <cdparam x="567" y="362" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4561" >
-<father id="4574" num="1" />
+<SUBCOMPONENT type="-1" id="4631" >
+<father id="4644" num="1" />
 <cdparam x="852" y="362" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4562" >
-<father id="4574" num="2" />
+<SUBCOMPONENT type="-1" id="4632" >
+<father id="4644" num="2" />
 <cdparam x="854" y="108" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4563" >
-<father id="4574" num="3" />
+<SUBCOMPONENT type="-1" id="4633" >
+<father id="4644" num="3" />
 <cdparam x="587" y="108" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4568" >
-<father id="4574" num="4" />
+<SUBCOMPONENT type="-1" id="4638" >
+<father id="4644" num="4" />
 <cdparam x="518" y="379" />
 <sizeparam width="244" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4564" />
-<TGConnectingPoint num="1" id="4565" />
-<TGConnectingPoint num="2" id="4566" />
-<TGConnectingPoint num="3" id="4567" />
+<TGConnectingPoint num="0" id="4634" />
+<TGConnectingPoint num="1" id="4635" />
+<TGConnectingPoint num="2" id="4636" />
+<TGConnectingPoint num="3" id="4637" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12294,36 +12485,36 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4583" >
+<CONNECTOR type="5102" id="4653" >
 <cdparam x="567" y="140" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4581" />
-<TGConnectingPoint num="1" id="4582" />
-<P1  x="570" y="165" id="4731" />
-<P2  x="734" y="196" id="4660" />
+<TGConnectingPoint num="0" id="4651" />
+<TGConnectingPoint num="1" id="4652" />
+<P1  x="570" y="165" id="4801" />
+<P2  x="734" y="196" id="4730" />
 <Point x="734" y="177" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4575" >
-<father id="4583" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4645" >
+<father id="4653" num="0" />
 <cdparam x="734" y="177" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4580" >
-<father id="4583" num="1" />
+<SUBCOMPONENT type="-1" id="4650" >
+<father id="4653" num="1" />
 <cdparam x="621" y="167" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4576" />
-<TGConnectingPoint num="1" id="4577" />
-<TGConnectingPoint num="2" id="4578" />
-<TGConnectingPoint num="3" id="4579" />
+<TGConnectingPoint num="0" id="4646" />
+<TGConnectingPoint num="1" id="4647" />
+<TGConnectingPoint num="2" id="4648" />
+<TGConnectingPoint num="3" id="4649" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12334,66 +12525,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4598" >
+<CONNECTOR type="5102" id="4668" >
 <cdparam x="397" y="228" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4593" />
-<TGConnectingPoint num="1" id="4594" />
-<TGConnectingPoint num="2" id="4595" />
-<TGConnectingPoint num="3" id="4596" />
-<TGConnectingPoint num="4" id="4597" />
-<P1  x="417" y="230" id="4683" />
-<P2  x="328" y="128" id="4724" />
+<TGConnectingPoint num="0" id="4663" />
+<TGConnectingPoint num="1" id="4664" />
+<TGConnectingPoint num="2" id="4665" />
+<TGConnectingPoint num="3" id="4666" />
+<TGConnectingPoint num="4" id="4667" />
+<P1  x="417" y="230" id="4753" />
+<P2  x="328" y="128" id="4794" />
 <Point x="417" y="363" />
 <Point x="130" y="363" />
 <Point x="131" y="108" />
 <Point x="305" y="108" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4584" >
-<father id="4598" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4654" >
+<father id="4668" num="0" />
 <cdparam x="417" y="363" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4585" >
-<father id="4598" num="1" />
+<SUBCOMPONENT type="-1" id="4655" >
+<father id="4668" num="1" />
 <cdparam x="130" y="363" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4586" >
-<father id="4598" num="2" />
+<SUBCOMPONENT type="-1" id="4656" >
+<father id="4668" num="2" />
 <cdparam x="131" y="108" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4587" >
-<father id="4598" num="3" />
+<SUBCOMPONENT type="-1" id="4657" >
+<father id="4668" num="3" />
 <cdparam x="305" y="108" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4592" >
-<father id="4598" num="4" />
+<SUBCOMPONENT type="-1" id="4662" >
+<father id="4668" num="4" />
 <cdparam x="220" y="382" />
 <sizeparam width="200" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4588" />
-<TGConnectingPoint num="1" id="4589" />
-<TGConnectingPoint num="2" id="4590" />
-<TGConnectingPoint num="3" id="4591" />
+<TGConnectingPoint num="0" id="4658" />
+<TGConnectingPoint num="1" id="4659" />
+<TGConnectingPoint num="2" id="4660" />
+<TGConnectingPoint num="3" id="4661" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12405,66 +12596,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4613" >
+<CONNECTOR type="5102" id="4683" >
 <cdparam x="296" y="229" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4608" />
-<TGConnectingPoint num="1" id="4609" />
-<TGConnectingPoint num="2" id="4610" />
-<TGConnectingPoint num="3" id="4611" />
-<TGConnectingPoint num="4" id="4612" />
-<P1  x="281" y="229" id="4694" />
-<P2  x="328" y="153" id="4728" />
+<TGConnectingPoint num="0" id="4678" />
+<TGConnectingPoint num="1" id="4679" />
+<TGConnectingPoint num="2" id="4680" />
+<TGConnectingPoint num="3" id="4681" />
+<TGConnectingPoint num="4" id="4682" />
+<P1  x="281" y="229" id="4764" />
+<P2  x="328" y="153" id="4798" />
 <Point x="281" y="251" />
 <Point x="199" y="249" />
 <Point x="199" y="133" />
 <Point x="305" y="133" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4599" >
-<father id="4613" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4669" >
+<father id="4683" num="0" />
 <cdparam x="281" y="251" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4600" >
-<father id="4613" num="1" />
+<SUBCOMPONENT type="-1" id="4670" >
+<father id="4683" num="1" />
 <cdparam x="199" y="249" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4601" >
-<father id="4613" num="2" />
+<SUBCOMPONENT type="-1" id="4671" >
+<father id="4683" num="2" />
 <cdparam x="199" y="133" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4602" >
-<father id="4613" num="3" />
+<SUBCOMPONENT type="-1" id="4672" >
+<father id="4683" num="3" />
 <cdparam x="305" y="133" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4607" >
-<father id="4613" num="4" />
+<SUBCOMPONENT type="-1" id="4677" >
+<father id="4683" num="4" />
 <cdparam x="136" y="274" />
 <sizeparam width="303" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4603" />
-<TGConnectingPoint num="1" id="4604" />
-<TGConnectingPoint num="2" id="4605" />
-<TGConnectingPoint num="3" id="4606" />
+<TGConnectingPoint num="0" id="4673" />
+<TGConnectingPoint num="1" id="4674" />
+<TGConnectingPoint num="2" id="4675" />
+<TGConnectingPoint num="3" id="4676" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12476,26 +12667,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4620" >
+<CONNECTOR type="5102" id="4690" >
 <cdparam x="374" y="79" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4619" />
-<P1  x="446" y="73" id="4745" />
-<P2  x="449" y="122" id="4705" />
+<TGConnectingPoint num="0" id="4689" />
+<P1  x="446" y="73" id="4815" />
+<P2  x="449" y="122" id="4775" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4618" >
-<father id="4620" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4688" >
+<father id="4690" num="0" />
 <cdparam x="452" y="86" />
 <sizeparam width="68" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4614" />
-<TGConnectingPoint num="1" id="4615" />
-<TGConnectingPoint num="2" id="4616" />
-<TGConnectingPoint num="3" id="4617" />
+<TGConnectingPoint num="0" id="4684" />
+<TGConnectingPoint num="1" id="4685" />
+<TGConnectingPoint num="2" id="4686" />
+<TGConnectingPoint num="3" id="4687" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="5" enabled="true"/>
@@ -12507,26 +12698,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4627" >
+<CONNECTOR type="5102" id="4697" >
 <cdparam x="364" y="167" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4626" />
-<P1  x="357" y="172" id="4732" />
-<P2  x="281" y="199" id="4693" />
+<TGConnectingPoint num="0" id="4696" />
+<P1  x="357" y="172" id="4802" />
+<P2  x="281" y="199" id="4763" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4625" >
-<father id="4627" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4695" >
+<father id="4697" num="0" />
 <cdparam x="650" y="371" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4621" />
-<TGConnectingPoint num="1" id="4622" />
-<TGConnectingPoint num="2" id="4623" />
-<TGConnectingPoint num="3" id="4624" />
+<TGConnectingPoint num="0" id="4691" />
+<TGConnectingPoint num="1" id="4692" />
+<TGConnectingPoint num="2" id="4693" />
+<TGConnectingPoint num="3" id="4694" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12537,26 +12728,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4634" >
+<CONNECTOR type="5102" id="4704" >
 <cdparam x="446" y="172" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4633" />
-<P1  x="449" y="172" id="4710" />
-<P2  x="417" y="200" id="4682" />
+<TGConnectingPoint num="0" id="4703" />
+<P1  x="449" y="172" id="4780" />
+<P2  x="417" y="200" id="4752" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4632" >
-<father id="4634" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4702" >
+<father id="4704" num="0" />
 <cdparam x="446" y="185" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4628" />
-<TGConnectingPoint num="1" id="4629" />
-<TGConnectingPoint num="2" id="4630" />
-<TGConnectingPoint num="3" id="4631" />
+<TGConnectingPoint num="0" id="4698" />
+<TGConnectingPoint num="1" id="4699" />
+<TGConnectingPoint num="2" id="4700" />
+<TGConnectingPoint num="3" id="4701" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12567,26 +12758,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4641" >
+<CONNECTOR type="5102" id="4711" >
 <cdparam x="506" y="172" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4640" />
-<P1  x="509" y="172" id="4719" />
-<P2  x="569" y="200" id="4671" />
+<TGConnectingPoint num="0" id="4710" />
+<P1  x="509" y="172" id="4789" />
+<P2  x="569" y="200" id="4741" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4639" >
-<father id="4641" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4709" >
+<father id="4711" num="0" />
 <cdparam x="510" y="184" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4635" />
-<TGConnectingPoint num="1" id="4636" />
-<TGConnectingPoint num="2" id="4637" />
-<TGConnectingPoint num="3" id="4638" />
+<TGConnectingPoint num="0" id="4705" />
+<TGConnectingPoint num="1" id="4706" />
+<TGConnectingPoint num="2" id="4707" />
+<TGConnectingPoint num="3" id="4708" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12597,26 +12788,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4648" >
+<CONNECTOR type="5102" id="4718" >
 <cdparam x="475" y="172" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4647" />
-<P1  x="478" y="172" id="4734" />
-<P2  x="487" y="265" id="4649" />
+<TGConnectingPoint num="0" id="4717" />
+<P1  x="478" y="172" id="4804" />
+<P2  x="487" y="265" id="4719" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4646" >
-<father id="4648" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4716" >
+<father id="4718" num="0" />
 <cdparam x="483" y="220" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4642" />
-<TGConnectingPoint num="1" id="4643" />
-<TGConnectingPoint num="2" id="4644" />
-<TGConnectingPoint num="3" id="4645" />
+<TGConnectingPoint num="0" id="4712" />
+<TGConnectingPoint num="1" id="4713" />
+<TGConnectingPoint num="2" id="4714" />
+<TGConnectingPoint num="3" id="4715" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12627,225 +12818,225 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="4659" >
+<COMPONENT type="5104" id="4729" >
 <cdparam x="402" y="270" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="motor_backward(speed)" />
-<TGConnectingPoint num="0" id="4649" />
-<TGConnectingPoint num="1" id="4650" />
-<TGConnectingPoint num="2" id="4651" />
-<TGConnectingPoint num="3" id="4652" />
-<TGConnectingPoint num="4" id="4653" />
-<TGConnectingPoint num="5" id="4654" />
-<TGConnectingPoint num="6" id="4655" />
-<TGConnectingPoint num="7" id="4656" />
-<TGConnectingPoint num="8" id="4657" />
-<TGConnectingPoint num="9" id="4658" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4670" >
+<TGConnectingPoint num="0" id="4719" />
+<TGConnectingPoint num="1" id="4720" />
+<TGConnectingPoint num="2" id="4721" />
+<TGConnectingPoint num="3" id="4722" />
+<TGConnectingPoint num="4" id="4723" />
+<TGConnectingPoint num="5" id="4724" />
+<TGConnectingPoint num="6" id="4725" />
+<TGConnectingPoint num="7" id="4726" />
+<TGConnectingPoint num="8" id="4727" />
+<TGConnectingPoint num="9" id="4728" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="4740" >
 <cdparam x="646" y="201" />
 <sizeparam width="176" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="motor_decelerate(factor)" />
-<TGConnectingPoint num="0" id="4660" />
-<TGConnectingPoint num="1" id="4661" />
-<TGConnectingPoint num="2" id="4662" />
-<TGConnectingPoint num="3" id="4663" />
-<TGConnectingPoint num="4" id="4664" />
-<TGConnectingPoint num="5" id="4665" />
-<TGConnectingPoint num="6" id="4666" />
-<TGConnectingPoint num="7" id="4667" />
-<TGConnectingPoint num="8" id="4668" />
-<TGConnectingPoint num="9" id="4669" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4681" >
+<TGConnectingPoint num="0" id="4730" />
+<TGConnectingPoint num="1" id="4731" />
+<TGConnectingPoint num="2" id="4732" />
+<TGConnectingPoint num="3" id="4733" />
+<TGConnectingPoint num="4" id="4734" />
+<TGConnectingPoint num="5" id="4735" />
+<TGConnectingPoint num="6" id="4736" />
+<TGConnectingPoint num="7" id="4737" />
+<TGConnectingPoint num="8" id="4738" />
+<TGConnectingPoint num="9" id="4739" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="4751" >
 <cdparam x="482" y="205" />
 <sizeparam width="175" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="motor_accelerate(factor)" />
-<TGConnectingPoint num="0" id="4671" />
-<TGConnectingPoint num="1" id="4672" />
-<TGConnectingPoint num="2" id="4673" />
-<TGConnectingPoint num="3" id="4674" />
-<TGConnectingPoint num="4" id="4675" />
-<TGConnectingPoint num="5" id="4676" />
-<TGConnectingPoint num="6" id="4677" />
-<TGConnectingPoint num="7" id="4678" />
-<TGConnectingPoint num="8" id="4679" />
-<TGConnectingPoint num="9" id="4680" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4692" >
+<TGConnectingPoint num="0" id="4741" />
+<TGConnectingPoint num="1" id="4742" />
+<TGConnectingPoint num="2" id="4743" />
+<TGConnectingPoint num="3" id="4744" />
+<TGConnectingPoint num="4" id="4745" />
+<TGConnectingPoint num="5" id="4746" />
+<TGConnectingPoint num="6" id="4747" />
+<TGConnectingPoint num="7" id="4748" />
+<TGConnectingPoint num="8" id="4749" />
+<TGConnectingPoint num="9" id="4750" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="4762" >
 <cdparam x="357" y="205" />
 <sizeparam width="121" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="motorOff(speed)" />
-<TGConnectingPoint num="0" id="4682" />
-<TGConnectingPoint num="1" id="4683" />
-<TGConnectingPoint num="2" id="4684" />
-<TGConnectingPoint num="3" id="4685" />
-<TGConnectingPoint num="4" id="4686" />
-<TGConnectingPoint num="5" id="4687" />
-<TGConnectingPoint num="6" id="4688" />
-<TGConnectingPoint num="7" id="4689" />
-<TGConnectingPoint num="8" id="4690" />
-<TGConnectingPoint num="9" id="4691" />
-</COMPONENT>
-
-<COMPONENT type="5104" id="4703" >
+<TGConnectingPoint num="0" id="4752" />
+<TGConnectingPoint num="1" id="4753" />
+<TGConnectingPoint num="2" id="4754" />
+<TGConnectingPoint num="3" id="4755" />
+<TGConnectingPoint num="4" id="4756" />
+<TGConnectingPoint num="5" id="4757" />
+<TGConnectingPoint num="6" id="4758" />
+<TGConnectingPoint num="7" id="4759" />
+<TGConnectingPoint num="8" id="4760" />
+<TGConnectingPoint num="9" id="4761" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="4773" >
 <cdparam x="203" y="204" />
 <sizeparam width="157" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="motor_forward(speed)" />
-<TGConnectingPoint num="0" id="4693" />
-<TGConnectingPoint num="1" id="4694" />
-<TGConnectingPoint num="2" id="4695" />
-<TGConnectingPoint num="3" id="4696" />
-<TGConnectingPoint num="4" id="4697" />
-<TGConnectingPoint num="5" id="4698" />
-<TGConnectingPoint num="6" id="4699" />
-<TGConnectingPoint num="7" id="4700" />
-<TGConnectingPoint num="8" id="4701" />
-<TGConnectingPoint num="9" id="4702" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4744" >
+<TGConnectingPoint num="0" id="4763" />
+<TGConnectingPoint num="1" id="4764" />
+<TGConnectingPoint num="2" id="4765" />
+<TGConnectingPoint num="3" id="4766" />
+<TGConnectingPoint num="4" id="4767" />
+<TGConnectingPoint num="5" id="4768" />
+<TGConnectingPoint num="6" id="4769" />
+<TGConnectingPoint num="7" id="4770" />
+<TGConnectingPoint num="8" id="4771" />
+<TGConnectingPoint num="9" id="4772" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4814" >
 <cdparam x="328" y="122" />
 <sizeparam width="242" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="WaitingForMotorCommand" />
-<TGConnectingPoint num="0" id="4704" />
-<TGConnectingPoint num="1" id="4705" />
-<TGConnectingPoint num="2" id="4706" />
-<TGConnectingPoint num="3" id="4707" />
-<TGConnectingPoint num="4" id="4708" />
-<TGConnectingPoint num="5" id="4709" />
-<TGConnectingPoint num="6" id="4710" />
-<TGConnectingPoint num="7" id="4711" />
-<TGConnectingPoint num="8" id="4712" />
-<TGConnectingPoint num="9" id="4713" />
-<TGConnectingPoint num="10" id="4714" />
-<TGConnectingPoint num="11" id="4715" />
-<TGConnectingPoint num="12" id="4716" />
-<TGConnectingPoint num="13" id="4717" />
-<TGConnectingPoint num="14" id="4718" />
-<TGConnectingPoint num="15" id="4719" />
-<TGConnectingPoint num="16" id="4720" />
-<TGConnectingPoint num="17" id="4721" />
-<TGConnectingPoint num="18" id="4722" />
-<TGConnectingPoint num="19" id="4723" />
-<TGConnectingPoint num="20" id="4724" />
-<TGConnectingPoint num="21" id="4725" />
-<TGConnectingPoint num="22" id="4726" />
-<TGConnectingPoint num="23" id="4727" />
-<TGConnectingPoint num="24" id="4728" />
-<TGConnectingPoint num="25" id="4729" />
-<TGConnectingPoint num="26" id="4730" />
-<TGConnectingPoint num="27" id="4731" />
-<TGConnectingPoint num="28" id="4732" />
-<TGConnectingPoint num="29" id="4733" />
-<TGConnectingPoint num="30" id="4734" />
-<TGConnectingPoint num="31" id="4735" />
-<TGConnectingPoint num="32" id="4736" />
-<TGConnectingPoint num="33" id="4737" />
-<TGConnectingPoint num="34" id="4738" />
-<TGConnectingPoint num="35" id="4739" />
-<TGConnectingPoint num="36" id="4740" />
-<TGConnectingPoint num="37" id="4741" />
-<TGConnectingPoint num="38" id="4742" />
-<TGConnectingPoint num="39" id="4743" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4746" >
+<TGConnectingPoint num="0" id="4774" />
+<TGConnectingPoint num="1" id="4775" />
+<TGConnectingPoint num="2" id="4776" />
+<TGConnectingPoint num="3" id="4777" />
+<TGConnectingPoint num="4" id="4778" />
+<TGConnectingPoint num="5" id="4779" />
+<TGConnectingPoint num="6" id="4780" />
+<TGConnectingPoint num="7" id="4781" />
+<TGConnectingPoint num="8" id="4782" />
+<TGConnectingPoint num="9" id="4783" />
+<TGConnectingPoint num="10" id="4784" />
+<TGConnectingPoint num="11" id="4785" />
+<TGConnectingPoint num="12" id="4786" />
+<TGConnectingPoint num="13" id="4787" />
+<TGConnectingPoint num="14" id="4788" />
+<TGConnectingPoint num="15" id="4789" />
+<TGConnectingPoint num="16" id="4790" />
+<TGConnectingPoint num="17" id="4791" />
+<TGConnectingPoint num="18" id="4792" />
+<TGConnectingPoint num="19" id="4793" />
+<TGConnectingPoint num="20" id="4794" />
+<TGConnectingPoint num="21" id="4795" />
+<TGConnectingPoint num="22" id="4796" />
+<TGConnectingPoint num="23" id="4797" />
+<TGConnectingPoint num="24" id="4798" />
+<TGConnectingPoint num="25" id="4799" />
+<TGConnectingPoint num="26" id="4800" />
+<TGConnectingPoint num="27" id="4801" />
+<TGConnectingPoint num="28" id="4802" />
+<TGConnectingPoint num="29" id="4803" />
+<TGConnectingPoint num="30" id="4804" />
+<TGConnectingPoint num="31" id="4805" />
+<TGConnectingPoint num="32" id="4806" />
+<TGConnectingPoint num="33" id="4807" />
+<TGConnectingPoint num="34" id="4808" />
+<TGConnectingPoint num="35" id="4809" />
+<TGConnectingPoint num="36" id="4810" />
+<TGConnectingPoint num="37" id="4811" />
+<TGConnectingPoint num="38" id="4812" />
+<TGConnectingPoint num="39" id="4813" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="4816" >
 <cdparam x="439" y="53" />
 <sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4745" />
+<TGConnectingPoint num="0" id="4815" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Sonar" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="4761" >
+<CONNECTOR type="5102" id="4831" >
 <cdparam x="305" y="301" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4756" />
-<TGConnectingPoint num="1" id="4757" />
-<TGConnectingPoint num="2" id="4758" />
-<TGConnectingPoint num="3" id="4759" />
-<TGConnectingPoint num="4" id="4760" />
-<P1  x="305" y="301" id="4795" />
-<P2  x="227" y="114" id="4817" />
+<TGConnectingPoint num="0" id="4826" />
+<TGConnectingPoint num="1" id="4827" />
+<TGConnectingPoint num="2" id="4828" />
+<TGConnectingPoint num="3" id="4829" />
+<TGConnectingPoint num="4" id="4830" />
+<P1  x="305" y="301" id="4865" />
+<P2  x="227" y="114" id="4887" />
 <Point x="305" y="321" />
 <Point x="159" y="321" />
 <Point x="159" y="94" />
 <Point x="207" y="94" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4747" >
-<father id="4761" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4817" >
+<father id="4831" num="0" />
 <cdparam x="305" y="321" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4748" >
-<father id="4761" num="1" />
+<SUBCOMPONENT type="-1" id="4818" >
+<father id="4831" num="1" />
 <cdparam x="159" y="321" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4749" >
-<father id="4761" num="2" />
+<SUBCOMPONENT type="-1" id="4819" >
+<father id="4831" num="2" />
 <cdparam x="159" y="94" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4750" >
-<father id="4761" num="3" />
+<SUBCOMPONENT type="-1" id="4820" >
+<father id="4831" num="3" />
 <cdparam x="207" y="94" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4755" >
-<father id="4761" num="4" />
+<SUBCOMPONENT type="-1" id="4825" >
+<father id="4831" num="4" />
 <cdparam x="266" y="207" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4751" />
-<TGConnectingPoint num="1" id="4752" />
-<TGConnectingPoint num="2" id="4753" />
-<TGConnectingPoint num="3" id="4754" />
+<TGConnectingPoint num="0" id="4821" />
+<TGConnectingPoint num="1" id="4822" />
+<TGConnectingPoint num="2" id="4823" />
+<TGConnectingPoint num="3" id="4824" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12856,26 +13047,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4768" >
+<CONNECTOR type="5102" id="4838" >
 <cdparam x="279" y="115" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4767" />
-<P1  x="304" y="173" id="4784" />
-<P2  x="305" y="271" id="4794" />
+<TGConnectingPoint num="0" id="4837" />
+<P1  x="304" y="173" id="4854" />
+<P2  x="305" y="271" id="4864" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4766" >
-<father id="4768" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4836" >
+<father id="4838" num="0" />
 <cdparam x="306" y="235" />
 <sizeparam width="184" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4762" />
-<TGConnectingPoint num="1" id="4763" />
-<TGConnectingPoint num="2" id="4764" />
-<TGConnectingPoint num="3" id="4765" />
+<TGConnectingPoint num="0" id="4832" />
+<TGConnectingPoint num="1" id="4833" />
+<TGConnectingPoint num="2" id="4834" />
+<TGConnectingPoint num="3" id="4835" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12887,26 +13078,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4775" >
+<CONNECTOR type="5102" id="4845" >
 <cdparam x="277" y="63" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4774" />
-<P1  x="305" y="57" id="4846" />
-<P2  x="304" y="92" id="4806" />
+<TGConnectingPoint num="0" id="4844" />
+<P1  x="305" y="57" id="4916" />
+<P2  x="304" y="92" id="4876" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4773" >
-<father id="4775" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4843" >
+<father id="4845" num="0" />
 <cdparam x="286" y="71" />
 <sizeparam width="34" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4769" />
-<TGConnectingPoint num="1" id="4770" />
-<TGConnectingPoint num="2" id="4771" />
-<TGConnectingPoint num="3" id="4772" />
+<TGConnectingPoint num="0" id="4839" />
+<TGConnectingPoint num="1" id="4840" />
+<TGConnectingPoint num="2" id="4841" />
+<TGConnectingPoint num="3" id="4842" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12918,26 +13109,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4782" >
+<CONNECTOR type="5102" id="4852" >
 <cdparam x="283" y="122" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4781" />
-<P1  x="304" y="122" id="4811" />
-<P2  x="304" y="143" id="4783" />
+<TGConnectingPoint num="0" id="4851" />
+<P1  x="304" y="122" id="4881" />
+<P2  x="304" y="143" id="4853" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4780" >
-<father id="4782" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4850" >
+<father id="4852" num="0" />
 <cdparam x="292" y="146" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4776" />
-<TGConnectingPoint num="1" id="4777" />
-<TGConnectingPoint num="2" id="4778" />
-<TGConnectingPoint num="3" id="4779" />
+<TGConnectingPoint num="0" id="4846" />
+<TGConnectingPoint num="1" id="4847" />
+<TGConnectingPoint num="2" id="4848" />
+<TGConnectingPoint num="3" id="4849" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -12948,128 +13139,128 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="4793" >
+<COMPONENT type="5104" id="4863" >
 <cdparam x="238" y="148" />
 <sizeparam width="133" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="ready_to_receive()" />
-<TGConnectingPoint num="0" id="4783" />
-<TGConnectingPoint num="1" id="4784" />
-<TGConnectingPoint num="2" id="4785" />
-<TGConnectingPoint num="3" id="4786" />
-<TGConnectingPoint num="4" id="4787" />
-<TGConnectingPoint num="5" id="4788" />
-<TGConnectingPoint num="6" id="4789" />
-<TGConnectingPoint num="7" id="4790" />
-<TGConnectingPoint num="8" id="4791" />
-<TGConnectingPoint num="9" id="4792" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="4804" >
+<TGConnectingPoint num="0" id="4853" />
+<TGConnectingPoint num="1" id="4854" />
+<TGConnectingPoint num="2" id="4855" />
+<TGConnectingPoint num="3" id="4856" />
+<TGConnectingPoint num="4" id="4857" />
+<TGConnectingPoint num="5" id="4858" />
+<TGConnectingPoint num="6" id="4859" />
+<TGConnectingPoint num="7" id="4860" />
+<TGConnectingPoint num="8" id="4861" />
+<TGConnectingPoint num="9" id="4862" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="4874" >
 <cdparam x="225" y="276" />
 <sizeparam width="160" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="sendDistance(distance)" />
-<TGConnectingPoint num="0" id="4794" />
-<TGConnectingPoint num="1" id="4795" />
-<TGConnectingPoint num="2" id="4796" />
-<TGConnectingPoint num="3" id="4797" />
-<TGConnectingPoint num="4" id="4798" />
-<TGConnectingPoint num="5" id="4799" />
-<TGConnectingPoint num="6" id="4800" />
-<TGConnectingPoint num="7" id="4801" />
-<TGConnectingPoint num="8" id="4802" />
-<TGConnectingPoint num="9" id="4803" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4845" >
+<TGConnectingPoint num="0" id="4864" />
+<TGConnectingPoint num="1" id="4865" />
+<TGConnectingPoint num="2" id="4866" />
+<TGConnectingPoint num="3" id="4867" />
+<TGConnectingPoint num="4" id="4868" />
+<TGConnectingPoint num="5" id="4869" />
+<TGConnectingPoint num="6" id="4870" />
+<TGConnectingPoint num="7" id="4871" />
+<TGConnectingPoint num="8" id="4872" />
+<TGConnectingPoint num="9" id="4873" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="4915" >
 <cdparam x="227" y="92" />
 <sizeparam width="154" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="WAIT_FOR_READY" />
-<TGConnectingPoint num="0" id="4805" />
-<TGConnectingPoint num="1" id="4806" />
-<TGConnectingPoint num="2" id="4807" />
-<TGConnectingPoint num="3" id="4808" />
-<TGConnectingPoint num="4" id="4809" />
-<TGConnectingPoint num="5" id="4810" />
-<TGConnectingPoint num="6" id="4811" />
-<TGConnectingPoint num="7" id="4812" />
-<TGConnectingPoint num="8" id="4813" />
-<TGConnectingPoint num="9" id="4814" />
-<TGConnectingPoint num="10" id="4815" />
-<TGConnectingPoint num="11" id="4816" />
-<TGConnectingPoint num="12" id="4817" />
-<TGConnectingPoint num="13" id="4818" />
-<TGConnectingPoint num="14" id="4819" />
-<TGConnectingPoint num="15" id="4820" />
-<TGConnectingPoint num="16" id="4821" />
-<TGConnectingPoint num="17" id="4822" />
-<TGConnectingPoint num="18" id="4823" />
-<TGConnectingPoint num="19" id="4824" />
-<TGConnectingPoint num="20" id="4825" />
-<TGConnectingPoint num="21" id="4826" />
-<TGConnectingPoint num="22" id="4827" />
-<TGConnectingPoint num="23" id="4828" />
-<TGConnectingPoint num="24" id="4829" />
-<TGConnectingPoint num="25" id="4830" />
-<TGConnectingPoint num="26" id="4831" />
-<TGConnectingPoint num="27" id="4832" />
-<TGConnectingPoint num="28" id="4833" />
-<TGConnectingPoint num="29" id="4834" />
-<TGConnectingPoint num="30" id="4835" />
-<TGConnectingPoint num="31" id="4836" />
-<TGConnectingPoint num="32" id="4837" />
-<TGConnectingPoint num="33" id="4838" />
-<TGConnectingPoint num="34" id="4839" />
-<TGConnectingPoint num="35" id="4840" />
-<TGConnectingPoint num="36" id="4841" />
-<TGConnectingPoint num="37" id="4842" />
-<TGConnectingPoint num="38" id="4843" />
-<TGConnectingPoint num="39" id="4844" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4847" >
+<TGConnectingPoint num="0" id="4875" />
+<TGConnectingPoint num="1" id="4876" />
+<TGConnectingPoint num="2" id="4877" />
+<TGConnectingPoint num="3" id="4878" />
+<TGConnectingPoint num="4" id="4879" />
+<TGConnectingPoint num="5" id="4880" />
+<TGConnectingPoint num="6" id="4881" />
+<TGConnectingPoint num="7" id="4882" />
+<TGConnectingPoint num="8" id="4883" />
+<TGConnectingPoint num="9" id="4884" />
+<TGConnectingPoint num="10" id="4885" />
+<TGConnectingPoint num="11" id="4886" />
+<TGConnectingPoint num="12" id="4887" />
+<TGConnectingPoint num="13" id="4888" />
+<TGConnectingPoint num="14" id="4889" />
+<TGConnectingPoint num="15" id="4890" />
+<TGConnectingPoint num="16" id="4891" />
+<TGConnectingPoint num="17" id="4892" />
+<TGConnectingPoint num="18" id="4893" />
+<TGConnectingPoint num="19" id="4894" />
+<TGConnectingPoint num="20" id="4895" />
+<TGConnectingPoint num="21" id="4896" />
+<TGConnectingPoint num="22" id="4897" />
+<TGConnectingPoint num="23" id="4898" />
+<TGConnectingPoint num="24" id="4899" />
+<TGConnectingPoint num="25" id="4900" />
+<TGConnectingPoint num="26" id="4901" />
+<TGConnectingPoint num="27" id="4902" />
+<TGConnectingPoint num="28" id="4903" />
+<TGConnectingPoint num="29" id="4904" />
+<TGConnectingPoint num="30" id="4905" />
+<TGConnectingPoint num="31" id="4906" />
+<TGConnectingPoint num="32" id="4907" />
+<TGConnectingPoint num="33" id="4908" />
+<TGConnectingPoint num="34" id="4909" />
+<TGConnectingPoint num="35" id="4910" />
+<TGConnectingPoint num="36" id="4911" />
+<TGConnectingPoint num="37" id="4912" />
+<TGConnectingPoint num="38" id="4913" />
+<TGConnectingPoint num="39" id="4914" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="4917" >
 <cdparam x="298" y="37" />
 <sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4846" />
+<TGConnectingPoint num="0" id="4916" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="Contact" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="4854" >
+<CONNECTOR type="5102" id="4924" >
 <cdparam x="371" y="443" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4853" />
-<P1  x="371" y="502" id="4885" />
-<P2  x="371" y="510" id="4895" />
+<TGConnectingPoint num="0" id="4923" />
+<P1  x="371" y="502" id="4955" />
+<P2  x="371" y="510" id="4965" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4852" >
-<father id="4854" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4922" >
+<father id="4924" num="0" />
 <cdparam x="375" y="511" />
 <sizeparam width="154" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4848" />
-<TGConnectingPoint num="1" id="4849" />
-<TGConnectingPoint num="2" id="4850" />
-<TGConnectingPoint num="3" id="4851" />
+<TGConnectingPoint num="0" id="4918" />
+<TGConnectingPoint num="1" id="4919" />
+<TGConnectingPoint num="2" id="4920" />
+<TGConnectingPoint num="3" id="4921" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -13081,26 +13272,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4861" >
+<CONNECTOR type="5102" id="4931" >
 <cdparam x="344" y="124" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4860" />
-<P1  x="364" y="122" id="4947" />
-<P2  x="365" y="154" id="4907" />
+<TGConnectingPoint num="0" id="4930" />
+<P1  x="364" y="122" id="5017" />
+<P2  x="365" y="154" id="4977" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4859" >
-<father id="4861" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4929" >
+<father id="4931" num="0" />
 <cdparam x="345" y="144" />
 <sizeparam width="34" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4855" />
-<TGConnectingPoint num="1" id="4856" />
-<TGConnectingPoint num="2" id="4857" />
-<TGConnectingPoint num="3" id="4858" />
+<TGConnectingPoint num="0" id="4925" />
+<TGConnectingPoint num="1" id="4926" />
+<TGConnectingPoint num="2" id="4927" />
+<TGConnectingPoint num="3" id="4928" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -13112,66 +13303,66 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4876" >
+<CONNECTOR type="5102" id="4946" >
 <cdparam x="365" y="271" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4871" />
-<TGConnectingPoint num="1" id="4872" />
-<TGConnectingPoint num="2" id="4873" />
-<TGConnectingPoint num="3" id="4874" />
-<TGConnectingPoint num="4" id="4875" />
-<P1  x="371" y="540" id="4896" />
-<P2  x="294" y="169" id="4909" />
+<TGConnectingPoint num="0" id="4941" />
+<TGConnectingPoint num="1" id="4942" />
+<TGConnectingPoint num="2" id="4943" />
+<TGConnectingPoint num="3" id="4944" />
+<TGConnectingPoint num="4" id="4945" />
+<P1  x="371" y="540" id="4966" />
+<P2  x="294" y="169" id="4979" />
 <Point x="370" y="575" />
 <Point x="225" y="575" />
 <Point x="220" y="149" />
 <Point x="274" y="149" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4862" >
-<father id="4876" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4932" >
+<father id="4946" num="0" />
 <cdparam x="370" y="575" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4863" >
-<father id="4876" num="1" />
+<SUBCOMPONENT type="-1" id="4933" >
+<father id="4946" num="1" />
 <cdparam x="225" y="575" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4864" >
-<father id="4876" num="2" />
+<SUBCOMPONENT type="-1" id="4934" >
+<father id="4946" num="2" />
 <cdparam x="220" y="149" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4865" >
-<father id="4876" num="3" />
+<SUBCOMPONENT type="-1" id="4935" >
+<father id="4946" num="3" />
 <cdparam x="274" y="149" />
 <sizeparam width="1" height="1" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4870" >
-<father id="4876" num="4" />
+<SUBCOMPONENT type="-1" id="4940" >
+<father id="4946" num="4" />
 <cdparam x="329" y="220" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4866" />
-<TGConnectingPoint num="1" id="4867" />
-<TGConnectingPoint num="2" id="4868" />
-<TGConnectingPoint num="3" id="4869" />
+<TGConnectingPoint num="0" id="4936" />
+<TGConnectingPoint num="1" id="4937" />
+<TGConnectingPoint num="2" id="4938" />
+<TGConnectingPoint num="3" id="4939" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -13182,26 +13373,26 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="4883" >
+<CONNECTOR type="5102" id="4953" >
 <cdparam x="346" y="184" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="4882" />
-<P1  x="365" y="184" id="4912" />
-<P2  x="371" y="472" id="4884" />
+<TGConnectingPoint num="0" id="4952" />
+<P1  x="365" y="184" id="4982" />
+<P2  x="371" y="472" id="4954" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4881" >
-<father id="4883" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4951" >
+<father id="4953" num="0" />
 <cdparam x="331" y="266" />
 <sizeparam width="10" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="4877" />
-<TGConnectingPoint num="1" id="4878" />
-<TGConnectingPoint num="2" id="4879" />
-<TGConnectingPoint num="3" id="4880" />
+<TGConnectingPoint num="0" id="4947" />
+<TGConnectingPoint num="1" id="4948" />
+<TGConnectingPoint num="2" id="4949" />
+<TGConnectingPoint num="3" id="4950" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -13212,102 +13403,102 @@
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="4894" >
+<COMPONENT type="5104" id="4964" >
 <cdparam x="305" y="477" />
 <sizeparam width="133" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="ready_to_receive()" />
-<TGConnectingPoint num="0" id="4884" />
-<TGConnectingPoint num="1" id="4885" />
-<TGConnectingPoint num="2" id="4886" />
-<TGConnectingPoint num="3" id="4887" />
-<TGConnectingPoint num="4" id="4888" />
-<TGConnectingPoint num="5" id="4889" />
-<TGConnectingPoint num="6" id="4890" />
-<TGConnectingPoint num="7" id="4891" />
-<TGConnectingPoint num="8" id="4892" />
-<TGConnectingPoint num="9" id="4893" />
-</COMPONENT>
-
-<COMPONENT type="5103" id="4905" >
+<TGConnectingPoint num="0" id="4954" />
+<TGConnectingPoint num="1" id="4955" />
+<TGConnectingPoint num="2" id="4956" />
+<TGConnectingPoint num="3" id="4957" />
+<TGConnectingPoint num="4" id="4958" />
+<TGConnectingPoint num="5" id="4959" />
+<TGConnectingPoint num="6" id="4960" />
+<TGConnectingPoint num="7" id="4961" />
+<TGConnectingPoint num="8" id="4962" />
+<TGConnectingPoint num="9" id="4963" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="4975" >
 <cdparam x="297" y="515" />
 <sizeparam width="148" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="sendContact(contact)" />
-<TGConnectingPoint num="0" id="4895" />
-<TGConnectingPoint num="1" id="4896" />
-<TGConnectingPoint num="2" id="4897" />
-<TGConnectingPoint num="3" id="4898" />
-<TGConnectingPoint num="4" id="4899" />
-<TGConnectingPoint num="5" id="4900" />
-<TGConnectingPoint num="6" id="4901" />
-<TGConnectingPoint num="7" id="4902" />
-<TGConnectingPoint num="8" id="4903" />
-<TGConnectingPoint num="9" id="4904" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="4946" >
+<TGConnectingPoint num="0" id="4965" />
+<TGConnectingPoint num="1" id="4966" />
+<TGConnectingPoint num="2" id="4967" />
+<TGConnectingPoint num="3" id="4968" />
+<TGConnectingPoint num="4" id="4969" />
+<TGConnectingPoint num="5" id="4970" />
+<TGConnectingPoint num="6" id="4971" />
+<TGConnectingPoint num="7" id="4972" />
+<TGConnectingPoint num="8" id="4973" />
+<TGConnectingPoint num="9" id="4974" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="5016" >
 <cdparam x="294" y="154" />
 <sizeparam width="143" height="30" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="state0" value="CHECK_CONTACT" />
-<TGConnectingPoint num="0" id="4906" />
-<TGConnectingPoint num="1" id="4907" />
-<TGConnectingPoint num="2" id="4908" />
-<TGConnectingPoint num="3" id="4909" />
-<TGConnectingPoint num="4" id="4910" />
-<TGConnectingPoint num="5" id="4911" />
-<TGConnectingPoint num="6" id="4912" />
-<TGConnectingPoint num="7" id="4913" />
-<TGConnectingPoint num="8" id="4914" />
-<TGConnectingPoint num="9" id="4915" />
-<TGConnectingPoint num="10" id="4916" />
-<TGConnectingPoint num="11" id="4917" />
-<TGConnectingPoint num="12" id="4918" />
-<TGConnectingPoint num="13" id="4919" />
-<TGConnectingPoint num="14" id="4920" />
-<TGConnectingPoint num="15" id="4921" />
-<TGConnectingPoint num="16" id="4922" />
-<TGConnectingPoint num="17" id="4923" />
-<TGConnectingPoint num="18" id="4924" />
-<TGConnectingPoint num="19" id="4925" />
-<TGConnectingPoint num="20" id="4926" />
-<TGConnectingPoint num="21" id="4927" />
-<TGConnectingPoint num="22" id="4928" />
-<TGConnectingPoint num="23" id="4929" />
-<TGConnectingPoint num="24" id="4930" />
-<TGConnectingPoint num="25" id="4931" />
-<TGConnectingPoint num="26" id="4932" />
-<TGConnectingPoint num="27" id="4933" />
-<TGConnectingPoint num="28" id="4934" />
-<TGConnectingPoint num="29" id="4935" />
-<TGConnectingPoint num="30" id="4936" />
-<TGConnectingPoint num="31" id="4937" />
-<TGConnectingPoint num="32" id="4938" />
-<TGConnectingPoint num="33" id="4939" />
-<TGConnectingPoint num="34" id="4940" />
-<TGConnectingPoint num="35" id="4941" />
-<TGConnectingPoint num="36" id="4942" />
-<TGConnectingPoint num="37" id="4943" />
-<TGConnectingPoint num="38" id="4944" />
-<TGConnectingPoint num="39" id="4945" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="4948" >
+<TGConnectingPoint num="0" id="4976" />
+<TGConnectingPoint num="1" id="4977" />
+<TGConnectingPoint num="2" id="4978" />
+<TGConnectingPoint num="3" id="4979" />
+<TGConnectingPoint num="4" id="4980" />
+<TGConnectingPoint num="5" id="4981" />
+<TGConnectingPoint num="6" id="4982" />
+<TGConnectingPoint num="7" id="4983" />
+<TGConnectingPoint num="8" id="4984" />
+<TGConnectingPoint num="9" id="4985" />
+<TGConnectingPoint num="10" id="4986" />
+<TGConnectingPoint num="11" id="4987" />
+<TGConnectingPoint num="12" id="4988" />
+<TGConnectingPoint num="13" id="4989" />
+<TGConnectingPoint num="14" id="4990" />
+<TGConnectingPoint num="15" id="4991" />
+<TGConnectingPoint num="16" id="4992" />
+<TGConnectingPoint num="17" id="4993" />
+<TGConnectingPoint num="18" id="4994" />
+<TGConnectingPoint num="19" id="4995" />
+<TGConnectingPoint num="20" id="4996" />
+<TGConnectingPoint num="21" id="4997" />
+<TGConnectingPoint num="22" id="4998" />
+<TGConnectingPoint num="23" id="4999" />
+<TGConnectingPoint num="24" id="5000" />
+<TGConnectingPoint num="25" id="5001" />
+<TGConnectingPoint num="26" id="5002" />
+<TGConnectingPoint num="27" id="5003" />
+<TGConnectingPoint num="28" id="5004" />
+<TGConnectingPoint num="29" id="5005" />
+<TGConnectingPoint num="30" id="5006" />
+<TGConnectingPoint num="31" id="5007" />
+<TGConnectingPoint num="32" id="5008" />
+<TGConnectingPoint num="33" id="5009" />
+<TGConnectingPoint num="34" id="5010" />
+<TGConnectingPoint num="35" id="5011" />
+<TGConnectingPoint num="36" id="5012" />
+<TGConnectingPoint num="37" id="5013" />
+<TGConnectingPoint num="38" id="5014" />
+<TGConnectingPoint num="39" id="5015" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="5018" >
 <cdparam x="357" y="102" />
 <sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4947" />
+<TGConnectingPoint num="0" id="5017" />
 </COMPONENT>
 
 
-- 
GitLab