<div style="color:black;font: 10pt Arial, Helvetica, sans-serif;">
<div><font size="2">Hello to all with interest in LFS (Line Follower Simulator),</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">I will not be making any changes posted to github repository until after the upcoming contest. 1.6.4 is the final.<br>
</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">Note on the github. The readme probably details this, but make sure you get a copy of <br>
</font></div>
<div><a href="https://github.com/ron-grant/LFS/blob/master/LFS%20Users%20Guide%201.6.pdf"><font size="2">https://github.com/ron-grant/LFS/blob/master/LFS%20Users%20Guide%201.6.pdf</font></a></div>
<div><br>
</div>
<div><font size="2">Also, when you download processing library<br>
</font></div>
<div><a href="https://github.com/ron-grant/LFS/blob/master/distribution/lineFollowerSim-18/download/lineFollowerSim-18.zip"><font size="2">https://github.com/ron-grant/LFS/blob/master/distribution/lineFollowerSim-18/download/lineFollowerSim-18.zip</font><br>
</a></div>
<div><font size="2">an copy to your sketchbook library folder, browse to references subfolder and create a shortcut to index.html which is LFS</font></div>
<div><font size="2">reference manual detailing classes / methods used by LFS. <br>
</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">---------------------------------------------</font></div>
<div><font size="2">A question came up about simulator maximums. They appear on help screens, but here they are, if you used maximums in your code</font></div>
<div><font size="2">(Which may or may not be desirable).<br>
</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">lfs.setAccRate(64); // acceleration rate (inches/sec^2) <br>
lfs.setDecelRate(64); // deceleration rate (inches/sec^2) <br>
lfs.setTurnAcc(720); // turn acceleration and deceleration rate (degrees/sec^2) </font><br>
</div>
<div><font size="2">lfs.setMaxSpeed(36); // inform lfs of your max speed *<br>
lfs.setMaxTurnRate(720); // inform lfs of your max turn rate (degrees/sec)</font><br>
</div>
<div><br>
</div>
<div><font size="2">----------------------------------------------</font><br>
</div>
<div><br>
</div>
<div><font size="2">Jian asked a question about creating an array of line sensors in LFS.<br>
</font></div>
<div><font size="2">I think he had it worked out, but did get caught with automatic naming method crashing on array being used.</font></div>
<div><font size="2">Solution is to comment out that method which automatically provides sensor names when mouse hovers over them</font></div>
<div><font size="2"> in robot/sensor views. In this example I manually named the array elements so the hover feature works (for these sensors).</font><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><font size="2">Example of creating array of sensors</font><br>
</div>
<div><br>
</div>
<div><font size="2">LineSensor[] sensors = new LineSensor[3]; // declaration outside userInit method</font></div>
<div><font size="2"></font><br>
</div>
<div><font size="2">in userInit</font><br>
</div>
<div><br>
</div>
<div><font size="2">for (int i=0; i<3; i++) <br>
</font></div>
<div><font size="2">{ sensors[i] = lfs.createLineSensor(i+1, 0, 10,10, 32); // create 3 line sensors 1" apart</font></div>
<div><font size="2"> sensors[i].name = String.format("sensors[%d]",i);<br>
</font></div>
<div><font size="2">} <br>
</font></div>
<div><font size="2">// Comment out automatic sensor naming<br>
// nameSensorsUsingVariableNames(); // look up sensor names and assign them to sensor name field (lib 1.3)</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">Thanks to all with interest in LFS. <br>
</font></div>
<div><font size="2">Please feel free to post questions. I know that the rules are being finalized.<br>
</font></div>
<div><font size="2">I will try to post some helpful short videos to youtube in the coming week.. <br>
</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">Ron Grant</font><br>
</div>
</div>