strat des robots
Fork of CRAC-Strat_2017 by
Asservissement/Asservissement.h@0:ad97421fb1fb, 2016-04-13 (annotated)
- Committer:
- antbig
- Date:
- Wed Apr 13 22:04:54 2016 +0000
- Revision:
- 0:ad97421fb1fb
- Child:
- 1:116040d14164
Ajout interruption fin de match
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
antbig | 0:ad97421fb1fb | 1 | #ifndef CRAC_ASSERVISSEMENT |
antbig | 0:ad97421fb1fb | 2 | #define CRAC_ASSERVISSEMENT |
antbig | 0:ad97421fb1fb | 3 | |
antbig | 0:ad97421fb1fb | 4 | #include "global.h" |
antbig | 0:ad97421fb1fb | 5 | |
antbig | 0:ad97421fb1fb | 6 | /*********************************************************************************************************/ |
antbig | 0:ad97421fb1fb | 7 | /* FUNCTION NAME: SendRawId */ |
antbig | 0:ad97421fb1fb | 8 | /* DESCRIPTION : Envoie un message sans donnée, c'est-à-dire contenant uniquement un ID, sur le bus CAN */ |
antbig | 0:ad97421fb1fb | 9 | /*********************************************************************************************************/ |
antbig | 0:ad97421fb1fb | 10 | |
antbig | 0:ad97421fb1fb | 11 | void SendRawId (unsigned short id); |
antbig | 0:ad97421fb1fb | 12 | |
antbig | 0:ad97421fb1fb | 13 | /*********************************************************************************************/ |
antbig | 0:ad97421fb1fb | 14 | /* FUNCTION NAME: GoToPosition */ |
antbig | 0:ad97421fb1fb | 15 | /* DESCRIPTION : Transmission CAN correspondant à un asservissement en position (x,y,theta) */ |
antbig | 0:ad97421fb1fb | 16 | /*********************************************************************************************/ |
antbig | 0:ad97421fb1fb | 17 | |
antbig | 0:ad97421fb1fb | 18 | void GoToPosition (unsigned short x,unsigned short y,signed short theta,signed char sens); |
antbig | 0:ad97421fb1fb | 19 | |
antbig | 0:ad97421fb1fb | 20 | /****************************************************************************************/ |
antbig | 0:ad97421fb1fb | 21 | /* FUNCTION NAME: Rotate */ |
antbig | 0:ad97421fb1fb | 22 | /* DESCRIPTION : Transmission CAN correspondant à une rotation */ |
antbig | 0:ad97421fb1fb | 23 | /****************************************************************************************/ |
antbig | 0:ad97421fb1fb | 24 | |
antbig | 0:ad97421fb1fb | 25 | void Rotate (signed short angle); |
antbig | 0:ad97421fb1fb | 26 | |
antbig | 0:ad97421fb1fb | 27 | #endif |