<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.mchobby.be/index.php?action=history&amp;feed=atom&amp;title=RB-ARD-ROBOT-Func-lineFollowConfig</id>
	<title>RB-ARD-ROBOT-Func-lineFollowConfig - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mchobby.be/index.php?action=history&amp;feed=atom&amp;title=RB-ARD-ROBOT-Func-lineFollowConfig"/>
	<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-lineFollowConfig&amp;action=history"/>
	<updated>2026-09-04T23:47:43Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-lineFollowConfig&amp;diff=7365&amp;oldid=prev</id>
		<title>Admin le 16 septembre 2013 à 07:09</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-lineFollowConfig&amp;diff=7365&amp;oldid=prev"/>
		<updated>2013-09-16T07:09:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 16 septembre 2013 à 07:09&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot; &gt;Ligne 64 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 64 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour trouver la bonne valeur de ces paramètres, il est nécessaire de faire une recherche expérimentale afin de trouver la bonne paire de valeur. Vous trouverez ci-dessous un exemple de test :&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pour trouver la bonne valeur de ces paramètres, il est nécessaire de faire une recherche expérimentale afin de trouver la bonne paire de valeur. Vous trouverez ci-dessous un exemple de test :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Set &lt;/del&gt;KP &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;as &lt;/del&gt;5, KD &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;as &lt;/del&gt;0, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;choose your &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;speed&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Set &lt;/del&gt;intergrationTime &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;as &lt;/del&gt;10&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Placez &lt;/ins&gt;KP &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;à &lt;/ins&gt;5, KD &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;à &lt;/ins&gt;0, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;choisissez la vitesse du &lt;/ins&gt;robot. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Placez &lt;/ins&gt;intergrationTime &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sur &lt;/ins&gt;10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Run the &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;on a line-following track&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Faite fonctionner le &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;en suivit de ligne sur le circuit&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;If the &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;goes off the track&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;increase &lt;/del&gt;KP &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;by &lt;/del&gt;1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Si le &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sort du circuit&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;accroissez &lt;/ins&gt;KP &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de &lt;/ins&gt;1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Repeat as long as the &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;improves keeping on the line&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Stop changing &lt;/del&gt;KP &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;when it&lt;/del&gt;'&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;s no longer improved&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Répétez l'opération aussi longtemps que cela aide le &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a mieux suivre la ligne&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Arrêté de modifier &lt;/ins&gt;KP &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;lorsque cela n&lt;/ins&gt;'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;apporte plus d'amélioration&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Increase &lt;/del&gt;KD &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;by &lt;/del&gt;1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Accroissez &lt;/ins&gt;KD &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de &lt;/ins&gt;1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Run the &lt;/del&gt;robot, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;note if the robot is waving less&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Faite fonctionne le &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sur le circuit&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vérifiez s'il oscille moins en suivant la ligne&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Continue incrementing &lt;/del&gt;KD &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;by &lt;/del&gt;1&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, until it stops improving&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Continuez d'accroitre &lt;/ins&gt;KD &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de &lt;/ins&gt;1 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;jusqu'a ce qu'il n'y ait plus d'amélioration&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;When you get the &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;following the track without running off the line, you are done with tuning&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Take down the numbers so you can use it in the future&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Vous avez en avez terminé avec les réglages lorsque le &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;suit le circuit sans perdre la ligne&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Prenez note des valeurs pour pouvoir les réutiliser plus tard&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Voir aussi ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Voir aussi ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-lineFollowConfig&amp;diff=7364&amp;oldid=prev</id>
		<title>Admin le 16 septembre 2013 à 07:03</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-lineFollowConfig&amp;diff=7364&amp;oldid=prev"/>
		<updated>2013-09-16T07:03:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 16 septembre 2013 à 07:03&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Ligne 6 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 6 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Classe [[Arduino Robot-Librairie#Classe_RobotControl|RobotControl]], librairie d'[[Arduino Robot-Librairie|Arduino Robot]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Classe [[Arduino Robot-Librairie#Classe_RobotControl|RobotControl]], librairie d'[[Arduino Robot-Librairie|Arduino Robot]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Change the parameters for &lt;/del&gt;line following.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Modifie les paramètres du mode &amp;quot;Suivit de ligne&amp;quot; (''&lt;/ins&gt;line following&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'')&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Use this function if line-following is not working as expected&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;or you want to change the &lt;/del&gt;robot&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'s speed while line-following&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Utilisez cette fonction si le &amp;quot;suivit de ligne&amp;quot; ne fonctionne pas comme attendu&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ou si vous désirez modifier la vitesse du &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;durant les &amp;quot;suivit de ligne&amp;quot;&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;This function changes the &lt;/del&gt;&amp;quot;PD &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;algorithms&lt;/del&gt;&amp;quot; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that enable to &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to think about what may happen next while line reading&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;attempts to predict any &lt;/del&gt;possible &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;errors on the next reading of the &lt;/del&gt;IR &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sensors&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and corrects its movement accordingly by changing the speed of each wheel separately&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Cette fonction modifie les &lt;/ins&gt;&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;algorithmes &lt;/ins&gt;PD&amp;quot; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;qui permet au &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de penser ce qui se passera un peu plus loin pendant qu'il lit la ligne&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Le &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tente de prévoir toutes les erreurs &lt;/ins&gt;possible &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;de la prochaine lecture des senseurs &lt;/ins&gt;IR, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;et de corriger son mouvement de façon approprié en adaptant la vitesse de chaque roue&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;See the &lt;/del&gt;note &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;below for a deeper explanation&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Voir, ci dessous, la &lt;/ins&gt;note &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;explicative détaillée&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntaxe ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntaxe ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;Ligne 20 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 20 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Paramètres ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Paramètres ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''KP''' : int, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;proportional &lt;/del&gt;gain&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''KP''' : int, gain &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;proportionel&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''KD''' : int, derivative gain&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''KD''' : int, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;gain dérivé (''&lt;/ins&gt;derivative gain&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'')&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''integrationTime''': int, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;delay time between each time we run the algorithm in ms&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''integrationTime''': int, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;delais en millisecondes entre deux exécutions successives de l'algorithme&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''robotSpeed''': int, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;between &lt;/del&gt;0 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/del&gt;100, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;indicating the percentage speed of motors&lt;/del&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* '''robotSpeed''': int, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;entre &lt;/ins&gt;0 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;et &lt;/ins&gt;100, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;indique le pourcentage de vitesse des moteurs&lt;/ins&gt;.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Résultat ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Résultat ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Ligne 60 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 60 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Note ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Note ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In the function&lt;/del&gt;, KP &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;helps the &lt;/del&gt;robot &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;follow the line&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/del&gt;KD &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dampens the &lt;/del&gt;oscillation &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;of the &lt;/del&gt;robot.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Dans la fonction&lt;/ins&gt;, KP &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;aide le &lt;/ins&gt;robot &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a suivre la ligne&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;et &lt;/ins&gt;KD &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;amorti l'&lt;/ins&gt;oscillation &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;du &lt;/ins&gt;robot.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To find good values for this&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;there needs to be some experimentation to find a good pair of values&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;An example &lt;/del&gt;test &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is listed below &lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pour trouver la bonne valeur de ces paramètres&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;il est nécessaire de faire une recherche expérimentale afin de trouver la bonne paire de valeur&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Vous trouverez ci-dessous un exemple de &lt;/ins&gt;test :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Set KP as 5, KD as 0, choose your robot speed. Set intergrationTime as 10&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Set KP as 5, KD as 0, choose your robot speed. Set intergrationTime as 10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-lineFollowConfig&amp;diff=7363&amp;oldid=prev</id>
		<title>Admin : Page créée avec « {{Arduino-Robot-NAV}}  &lt;h4&gt;lineFollowConfig()&lt;/h4&gt;  == Description == Classe RobotControl, librairie d'[[Arduino Robot-Librair... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-lineFollowConfig&amp;diff=7363&amp;oldid=prev"/>
		<updated>2013-09-16T06:48:59Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « {{Arduino-Robot-NAV}}  &amp;lt;h4&amp;gt;lineFollowConfig()&amp;lt;/h4&amp;gt;  == Description == Classe &lt;a href=&quot;/index.php?title=Arduino_Robot-Librairie#Classe_RobotControl&quot; title=&quot;Arduino Robot-Librairie&quot;&gt;RobotControl&lt;/a&gt;, librairie d&amp;#039;[[Arduino Robot-Librair... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Arduino-Robot-NAV}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;lineFollowConfig()&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Classe [[Arduino Robot-Librairie#Classe_RobotControl|RobotControl]], librairie d'[[Arduino Robot-Librairie|Arduino Robot]].&lt;br /&gt;
&lt;br /&gt;
Change the parameters for line following.&lt;br /&gt;
&lt;br /&gt;
Use this function if line-following is not working as expected, or you want to change the robot's speed while line-following.&lt;br /&gt;
&lt;br /&gt;
This function changes the &amp;quot;PD algorithms&amp;quot; that enable to robot to think about what may happen next while line reading. The robot attempts to predict any possible errors on the next reading of the IR sensors, and corrects its movement accordingly by changing the speed of each wheel separately.&lt;br /&gt;
&lt;br /&gt;
See the note below for a deeper explanation. &lt;br /&gt;
&lt;br /&gt;
== Syntaxe ==&lt;br /&gt;
&lt;br /&gt;
Robot.lineFollowConfig(KP,KD,robotSpeed,intergrationTime) &lt;br /&gt;
&lt;br /&gt;
== Paramètres ==&lt;br /&gt;
&lt;br /&gt;
* '''KP''' : int, proportional gain&lt;br /&gt;
* '''KD''' : int, derivative gain&lt;br /&gt;
* '''integrationTime''': int, delay time between each time we run the algorithm in ms&lt;br /&gt;
* '''robotSpeed''': int, between 0 and 100, indicating the percentage speed of motors. &lt;br /&gt;
&lt;br /&gt;
== Résultat ==&lt;br /&gt;
&lt;br /&gt;
aucun&lt;br /&gt;
&lt;br /&gt;
== Exemple ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#include &amp;lt;ArduinoRobot.h&amp;gt;&lt;br /&gt;
long timer;&lt;br /&gt;
&lt;br /&gt;
void setup(){&lt;br /&gt;
  Robot.begin();&lt;br /&gt;
  Robot.beginLCD();&lt;br /&gt;
  delay(3000);&lt;br /&gt;
&lt;br /&gt;
  Robot.lineFollowConfig(11,5,50,10);//initialise les paramètres PID&lt;br /&gt;
  Robot.setMode(MODE_LINE_FOLLOW);&lt;br /&gt;
  timer=millis();&lt;br /&gt;
  while(!Robot.isActionDone()){&lt;br /&gt;
    //Fait une pause de 3 secondes toutes les 5 secondes&lt;br /&gt;
    if(millis()-timer&amp;gt;=5000){&lt;br /&gt;
      Robot.pauseMode(true);&lt;br /&gt;
      delay(3000);&lt;br /&gt;
      Robot.pauseMode(false);&lt;br /&gt;
      timer=millis();&lt;br /&gt;
    }&lt;br /&gt;
    Robot.debugPrint(millis());&lt;br /&gt;
  }&lt;br /&gt;
  Robot.text(&amp;quot;Fait!&amp;quot;,0,10,true);&lt;br /&gt;
  while(true);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Note ==&lt;br /&gt;
In the function, KP helps the robot follow the line, and KD dampens the oscillation of the robot.&lt;br /&gt;
&lt;br /&gt;
To find good values for this, there needs to be some experimentation to find a good pair of values. An example test is listed below :&lt;br /&gt;
&lt;br /&gt;
# Set KP as 5, KD as 0, choose your robot speed. Set intergrationTime as 10&lt;br /&gt;
# Run the robot on a line-following track&lt;br /&gt;
# If the robot goes off the track, increase KP by 1&lt;br /&gt;
# Repeat as long as the robot improves keeping on the line. Stop changing KP when it's no longer improved.&lt;br /&gt;
# Increase KD by 1&lt;br /&gt;
# Run the robot, note if the robot is waving less&lt;br /&gt;
# Continue incrementing KD by 1, until it stops improving.&lt;br /&gt;
# When you get the robot following the track without running off the line, you are done with tuning. Take down the numbers so you can use it in the future. &lt;br /&gt;
&lt;br /&gt;
== Voir aussi ==&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-setMode|setMode()]]&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-pauseMode|pauseMode()]]&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-isActionDone|isActionDone()]]&lt;br /&gt;
&lt;br /&gt;
{{Arduino-Robot-TRAILER}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>