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 Timer by
Revision 70:d70a6db1f635, committed 2016-05-05
- Comitter:
- IceTeam
- Date:
- Thu May 05 03:22:43 2016 +0000
- Parent:
- 69:1b257fb65281
- Child:
- 72:b628daa54f3c
- Commit message:
- Objectifs parcourus;
Changed in this revision
--- a/Map/Objectif/objectif.cpp Thu May 05 01:29:35 2016 +0000
+++ b/Map/Objectif/objectif.cpp Thu May 05 03:22:43 2016 +0000
@@ -31,9 +31,9 @@
}
bool objectif::obj_bloc_action () {
- /* Range : 0 -> 10 (cm). pince.home remet à 0 */
+ /* Range : 0 -> 100 (mm). pince.home remet à 0 */
pince->home();
- pince->setPos(3,0,0);
+ pince->setPos(30,0,0);
}
bool objectif::obj_para_action() {
--- a/Map/map.cpp Thu May 05 01:29:35 2016 +0000
+++ b/Map/map.cpp Thu May 05 03:22:43 2016 +0000
@@ -7,7 +7,7 @@
logger.printf("map::Build_Objectives Creation des Objectifs ...\n\r");
if (couleur == VERT) {
addObj (objectif (OBJ_BLOC, 120, 1000, 0, Codo, Parasol, pince));
- addObj (objectif (OBJ_BLOC, 120, 1000, 0, Codo, Parasol, pince, 10));
+ addObj (objectif (OBJ_BLOC, 120, 1000, 0, Codo, Parasol, pince, 50));
}
else {
addObj (objectif (OBJ_BLOC, 3000-120, 1000, 0, Codo, Parasol, pince));
--- a/Map/obsCarr.h Thu May 05 01:29:35 2016 +0000
+++ b/Map/obsCarr.h Thu May 05 03:22:43 2016 +0000
@@ -5,6 +5,8 @@
#include "figure.h"
#include "point.h"
+#define TAILLE_SECURITE 110
+
class obsCarr : public figure {
public:
obsCarr (float xc, float yc, float dxt, float dyt) : figure (xc,yc) {
