Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Robot2016_2-0 by
Map/Objectif/objectif.cpp@57:86f491f5b25d, 2016-05-04 (annotated)
- Committer:
- IceTeam
- Date:
- Wed May 04 21:04:50 2016 +0200
- Revision:
- 57:86f491f5b25d
- Child:
- 60:8d2320a54a32
Rajout de la classe Objectif, petits changements dans le fonctionnement de map
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
IceTeam | 57:86f491f5b25d | 1 | #include "objectif.h" |
IceTeam | 57:86f491f5b25d | 2 | |
IceTeam | 57:86f491f5b25d | 3 | /* Dernier Changement : Romain 20h20 */ |
IceTeam | 57:86f491f5b25d | 4 | |
IceTeam | 57:86f491f5b25d | 5 | Objectif::Objectif (int type, float x_obj, float y_obj, float thet_obj, AX12 * nA1, AX12 * nA2, AX12 * nA3, Stepper * nS1, Stepper * nS2); |
IceTeam | 57:86f491f5b25d | 6 | bool Objectif::Action () { |
IceTeam | 57:86f491f5b25d | 7 | switch(type) { |
IceTeam | 57:86f491f5b25d | 8 | case OBJ_BLOC: |
IceTeam | 57:86f491f5b25d | 9 | break; |
IceTeam | 57:86f491f5b25d | 10 | default: |
IceTeam | 57:86f491f5b25d | 11 | break; |
IceTeam | 57:86f491f5b25d | 12 | } |
IceTeam | 57:86f491f5b25d | 13 | return true; |
IceTeam | 57:86f491f5b25d | 14 | } |