<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Kirk,</div><div><br>On Feb 16, 2015, at 9:17 AM, Kirk Fraser &lt;<a href="mailto:overcomer.man@gmail.com">overcomer.man@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Here are improvements to make Squeak more useful for Robot control.<div><br></div><div>1) Add machine vision tools.&nbsp; I'm told eToys has video camera access but more access to each frame is needed for autonomous robot control including "contour" to reduce the image to arcs and lines to start visual object identification and measurement of object speed and direction as the robot is moving, to either intercept or avoid an object.&nbsp; The same arcs and lines may in some applications be processed into readable text, read your lips, or other interesting things.</div><div><br></div><div>2) Method to stop Garbage Collection.&nbsp; I see Squeak 4.5 has a menu item to perform garbage collection so performing collections can be put under program control but there should also be a message to stop any garbage collection until requested or resumed.&nbsp; Why?&nbsp; Imagine you are in a self-driving car powered by Squeak.&nbsp; You enter a curve, turn, or need to stop while going 60 MPH then encounter a 100 millisecond delay for garbage collection.&nbsp; That scenario could put you 8 feet off course into a canyon, oncoming traffic, or a child chasing a ball.&nbsp; So the only way is to use two Squeaks operating in separate cores and use socket communication to guarantee one Squeak is paying close attention to the road while the other collects its garbage, trading off as needed.&nbsp; Perhaps a measure of the garbage pile and growth rate would also help decide which image gets to proceed.</div></div></div></blockquote><div><br></div>Instead of turning off GC, which will mean that eventually you'll run out if memory, you should ask what is the maximum pause time you want. &nbsp;Pause times for the scavenger in Sour are around a millisecond on typical hardware. &nbsp;Spur will introduce an incremental global scan-mark to collect old space some time this year and it will be set to have similar pause times as the scavenger. &nbsp;So how far would your car drift in 2ms? &nbsp;If you could tune the VM to pause for less than this, what pause time would be acceptable? &nbsp;Can you provide the &nbsp;range of times that spans from marginal to more than satisfactory?<div><br></div><div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>3) The Raspberry Pi has many pins to connect electronics to.&nbsp; Supporting those could potentially provide control for many projects for children and adults.</div><div><br></div><div>Thank you.<br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Kirk W. Fraser</div>
<div><a href="http://freetom.info/TrueChurch" target="_blank">w</a><a href="http://www.JesusGospelChurch.com" target="_blank">ww.JesusGospelChurch.com</a>&nbsp;- Replace the fraud churches with the true church.</div>
<div><a href="http://freetom.info/" target="_blank">http://freetom.info</a> - Example of False Justice common in America</div></div></div></div></div></div><br></div></div></div>
</div></blockquote><blockquote type="cite"><div><span></span><br></div></blockquote></div></body></html>