Suppression "printf" dans le fil d'execution principal
This commit is contained in:
		
							parent
							
								
									19834f0111
								
							
						
					
					
						commit
						87cf522550
					
				| @ -172,15 +172,12 @@ enum etat_action_t cerise_accostage(void){ | ||||
|         commande_vitesse(vitesse_accostage_mm_s * cos(-M_PI/6), vitesse_accostage_mm_s * sin(-M_PI/6), 0); | ||||
|         if(i2c_annexe_get_contacteur_longer_A() == CONTACTEUR_ACTIF){ | ||||
|             etat_accostage=CERISE_TOURNE_CONTACTEUR_LONGER_A; | ||||
|             printf("D ACCOSTE_TOURNE_A\n"); | ||||
|         } | ||||
|         if(i2c_annexe_get_contacteur_longer_C() == CONTACTEUR_ACTIF){ | ||||
|             etat_accostage=CERISE_TOURNE_CONTACTEUR_LONGER_C; | ||||
|             printf("D ACCOSTE_TOURNE_C\n"); | ||||
|         } | ||||
|         if (i2c_annexe_get_contacteur_longer_A() == CONTACTEUR_ACTIF && i2c_annexe_get_contacteur_longer_C() == CONTACTEUR_ACTIF){ | ||||
|             etat_accostage=CERISE_ACCOSTE; | ||||
|             printf("D ACCOSTE\n"); | ||||
|         } | ||||
|         break; | ||||
|      | ||||
| @ -189,14 +186,11 @@ enum etat_action_t cerise_accostage(void){ | ||||
|         if(i2c_annexe_get_contacteur_longer_A() == CONTACTEUR_INACTIF){ | ||||
|             if(i2c_annexe_get_contacteur_longer_C() == CONTACTEUR_INACTIF){ | ||||
|                 etat_accostage = CERISE_AVANCE_DROIT; | ||||
|                 printf("A ACCOSTE_AVANCE\n"); | ||||
|             }else{ | ||||
|                 etat_accostage = CERISE_TOURNE_CONTACTEUR_LONGER_A; | ||||
|                 printf("A ACCOSTE_TOURNE_A\n"); | ||||
|             } | ||||
|         }else if(i2c_annexe_get_contacteur_longer_C() == CONTACTEUR_ACTIF){ | ||||
|             etat_accostage = CERISE_ACCOSTE; | ||||
|             printf("A ACCOSTE\n"); | ||||
|         } | ||||
|         break; | ||||
|      | ||||
| @ -205,14 +199,11 @@ enum etat_action_t cerise_accostage(void){ | ||||
|         if(i2c_annexe_get_contacteur_longer_C() == CONTACTEUR_INACTIF){ | ||||
|             if(i2c_annexe_get_contacteur_longer_A() == CONTACTEUR_INACTIF){ | ||||
|                 etat_accostage = CERISE_AVANCE_DROIT; | ||||
|                 printf("C ACCOSTE_AVANCE\n"); | ||||
|             }else{ | ||||
|                 etat_accostage = CERISE_TOURNE_CONTACTEUR_LONGER_C; | ||||
|                 printf("C ACCOSTE_TOURNE_C\n"); | ||||
|             } | ||||
|         }else if(i2c_annexe_get_contacteur_longer_A() == CONTACTEUR_ACTIF){ | ||||
|             etat_accostage = CERISE_ACCOSTE; | ||||
|             printf("C ACCOSTE\n"); | ||||
|         } | ||||
|         break; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user