<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://iridia.ulb.ac.be/w/index.php?action=history&amp;feed=atom&amp;title=Proximity_Sensors</id>
	<title>Proximity Sensors - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://iridia.ulb.ac.be/w/index.php?action=history&amp;feed=atom&amp;title=Proximity_Sensors"/>
	<link rel="alternate" type="text/html" href="https://iridia.ulb.ac.be/w/index.php?title=Proximity_Sensors&amp;action=history"/>
	<updated>2026-04-15T07:58:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://iridia.ulb.ac.be/w/index.php?title=Proximity_Sensors&amp;diff=5688&amp;oldid=prev</id>
		<title>Manubrambi: New page: Note that the e-pucks do not see each other with the proximity. The solution is to use reflective tape on the outer ring of the robots. With that they see each other fairly well.  Here is ...</title>
		<link rel="alternate" type="text/html" href="https://iridia.ulb.ac.be/w/index.php?title=Proximity_Sensors&amp;diff=5688&amp;oldid=prev"/>
		<updated>2011-10-19T15:32:23Z</updated>

		<summary type="html">&lt;p&gt;New page: Note that the e-pucks do not see each other with the proximity. The solution is to use reflective tape on the outer ring of the robots. With that they see each other fairly well.  Here is ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Note that the e-pucks do not see each other with the proximity. The solution is to use reflective tape on the outer ring of the robots. With that they see each other fairly well.&lt;br /&gt;
&lt;br /&gt;
Here is the function I use to calibrate the proximity sensors:&lt;br /&gt;
&lt;br /&gt;
 void ProxSensorCalibrate() {&lt;br /&gt;
   int i, j;&lt;br /&gt;
   char tmp[50];&lt;br /&gt;
   long sensor[8];&lt;br /&gt;
   long delay;&lt;br /&gt;
   for (i=0; i&amp;lt;8; i++) {&lt;br /&gt;
      sensor[i]=0;&lt;br /&gt;
   }&lt;br /&gt;
   for (j=0; j&amp;lt;64; j++) {&lt;br /&gt;
      for (i=0; i&amp;lt;8; i++) {&lt;br /&gt;
         sensor[i]+=e_get_prox(i);&lt;br /&gt;
      }&lt;br /&gt;
      for (delay = 0; delay &amp;lt; 100000; delay++){&lt;br /&gt;
         __asm__(&amp;quot;nop&amp;quot;);&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
   btcomSendString(&amp;quot;calibration prox:\n&amp;quot;);&lt;br /&gt;
   for (i=0; i&amp;lt;8; i++) {&lt;br /&gt;
      prox_sensor_zero[i]=(sensor[i]&amp;gt;&amp;gt;6);&lt;br /&gt;
      sprintf(tmp,&amp;quot;%d\t%d&amp;quot;,i, prox_sensor_zero[i]);   &lt;br /&gt;
      btcomSendString(tmp);&lt;br /&gt;
      btcomSendString(&amp;quot;\n&amp;quot;);&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
   for (delay = 0; delay &amp;lt; 100000; delay++){&lt;br /&gt;
      __asm__(&amp;quot;nop&amp;quot;);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Manubrambi</name></author>
	</entry>
</feed>