Biblio à utiliser pour communiquer avec la carte moteur
Dependents: Asserv_mot Asserv_mot
MY_Asserv.h@1:162aa6608ffe, 2017-04-19 (annotated)
- Committer:
- Brand101
- Date:
- Wed Apr 19 17:41:35 2017 +0000
- Revision:
- 1:162aa6608ffe
B1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Brand101 | 1:162aa6608ffe | 1 | #include "global.h" |
Brand101 | 1:162aa6608ffe | 2 | |
Brand101 | 1:162aa6608ffe | 3 | |
Brand101 | 1:162aa6608ffe | 4 | extern Nucleo_Encoder_16_bits encoder1; |
Brand101 | 1:162aa6608ffe | 5 | extern Nucleo_Encoder_16_bits encoder2; |
Brand101 | 1:162aa6608ffe | 6 | |
Brand101 | 1:162aa6608ffe | 7 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 8 | /* FUNCTION NAME: Send_assev_info_comfig */ |
Brand101 | 1:162aa6608ffe | 9 | /* DESCRIPTION : Envoie un asservissement paramètre retournant à une vitesse */ |
Brand101 | 1:162aa6608ffe | 10 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 11 | void Send_assev_info_comfig(void); |
Brand101 | 1:162aa6608ffe | 12 | |
Brand101 | 1:162aa6608ffe | 13 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 14 | /* FUNCTION NAME: Debug_Asserv */ |
Brand101 | 1:162aa6608ffe | 15 | /* DESCRIPTION : Envoie vall encod + consigne_pos */ |
Brand101 | 1:162aa6608ffe | 16 | /* Ps : les encodeurs sont sur 32 bits, là on ne prend que les 16 premiérs */ |
Brand101 | 1:162aa6608ffe | 17 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 18 | void Debug_Asserv(void); |
Brand101 | 1:162aa6608ffe | 19 | |
Brand101 | 1:162aa6608ffe | 20 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 21 | /* FUNCTION NAME: Send_odometrie */ |
Brand101 | 1:162aa6608ffe | 22 | /* DESCRIPTION : Envoie de l'odometrie */ |
Brand101 | 1:162aa6608ffe | 23 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 24 | void Send_odometrie(void); |
Brand101 | 1:162aa6608ffe | 25 | |
Brand101 | 1:162aa6608ffe | 26 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 27 | /* FUNCTION NAME: motor_of */ |
Brand101 | 1:162aa6608ffe | 28 | /* DESCRIPTION : prevenir que les moteur sont à l'arret */ |
Brand101 | 1:162aa6608ffe | 29 | /****************************************************************************************/ |
Brand101 | 1:162aa6608ffe | 30 | void motor_of(void); |