msgid "You must follow the <a object|bottr>target bot</a> with the explosive device, but without touching it, otherwise it will blow up. Every time the target bot stops, you must be close to it (less than 10m). After you managed to stay close to the target bot at 10 successive stops, it will lead you to the finishing pad, and the exercise is over. At every stop, the target bot checks that you are there. If you are not there, you must start over again."
"Vous devez programmer le <a object|bottr>robot</a> d'entraînement pour suivre la caisse d'explosifs, mais sans la toucher, car elle est très fragile. Chaque fois que la caisse s'arrête 2 secondes, vous devez être à proximité immédiate (moins de 10 mètres). Après 10 arrêts, la caisse s'approche de la plate-forme d'arrivée, pous vous y ammener.\n"
"A chaque arrêt, la caisse vérifie que vous êtes bien là. Si ce n'est pas le cas, le compteur est remis à zéro. Vous devez donc réussir 10 fois consécutives!"
msgid "Use the instruction <code><a cbot|dist>distance</a>( , )</code> to calculate the distance between two points. The first point will be the position of your own bot, given by <code>position</code>. The second point is the position of the target bot, given by <code>target.position</code>."
msgstr "Le calcul de la distance jusqu'à la caisse utilise l'instruction <code><a cbot|dist>distance</a>(p1, p2)</code>. Cette instruction retourne la distance entre deux points <code>p1</code> et <code>p2</code>. Le premier point sera ici la position du <a object|bottr>robot</a>, obtenue simplement avec <code>pos</code>. La position de la caisse est obtenue à travers la description de l'objet <code>target</code> avec l'expression <code>target.position</code>."
"If the distance to the target bot is smaller than 5m, move backward with a speed inversely proportional to the distance: the closer you are to the bot, the faster you must move backward.\n"
"\tDistance = 5.0 meters -> speed = 0.0\n"
"\tDistance = 2.5 meters -> speed = -0.5\n"
"\tDistance = 0.0 meters -> speed = -1.0\n"
"You can use the <a cbot|expr>expression</a> <code>distance/5-1</code> in order to achieve this, together with the <code><a cbot|if>if</a></code> to test if the target is closer than 5m:"
"Si la distance est inférieure à 5 mètres, il faut reculer d'une vitesse proportionnelle à la distance. Plus la distance est petite, plus il faut reculer vivement.\n"
"\tDistance = 5.0 mètres -> vitesse = 0.0\n"
"\tDistance = 2.5 mètres -> vitesse = -0.5\n"
"\tDistance = 0.0 mètres -> vitesse = -1.0\n"
"Ceci s'obtient très simplement avec l'<a cbot|expr>expression</a> <code>distance/5-1</code>. Donc, avec un <code><a cbot|if>if</a></code>:"
msgid "If the distance to the target is greater than 5m, move towards the target. First calculate the angle necessary to face the target with the instruction <code><a cbot|direct>direction</a></code>. You can then adjust the speed of the right-hand and left-hand motor in order to follow the target:"
"When the target is on your left, <code>dir</code> takes a positive value, ranging between 0 and 180. The <a cbot|expr>expression</a> <code>1-dir/90</code> returns a speed ranging between 1 and -1, according to the direction:\n"
"Lorsque la caisse est à gauche, <code>dir</code> est positif, compris entre 0 et 180 degrés. L'<a cbot|expr>expression</a> <code>1-dir/90</code> donne une vitesse comprise entre 1 et -1, selon la direction.\n"
msgid "The only task left for you now is to declare the <a cbot|var>variables</a> that you use in the program. <code>target</code> is of type <code>object</code>, whereas <code>dir</code> and <code>len</code> are of type <code>float</code>."